From 1ca54f271936b8cdbb86c8ef72807ccedb456b11 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 8 Sep 2020 19:33:10 -0500 Subject: [PATCH] Fix two cases of non-deterministic iteration (#2304) * Fix two cases of non-deterministic iteration This commit fixes an issue of nondeterministic JS generation when closures were used, updating a few iterations of hash maps to iterate in a sorted manner rather than via the raw internal order. Closes #2302 * Reformat web-sys with latest proc-macro --- crates/cli-support/src/descriptors.rs | 5 +- crates/cli-support/src/wit/mod.rs | 4 +- .../src/features/gen_AbortController.rs | 6 +- .../web-sys/src/features/gen_AbortSignal.rs | 8 +- .../features/gen_AddEventListenerOptions.rs | 2 +- .../web-sys/src/features/gen_AesCbcParams.rs | 2 +- .../web-sys/src/features/gen_AesCtrParams.rs | 2 +- .../src/features/gen_AesDerivedKeyParams.rs | 2 +- .../web-sys/src/features/gen_AesGcmParams.rs | 2 +- .../src/features/gen_AesKeyAlgorithm.rs | 2 +- .../src/features/gen_AesKeyGenParams.rs | 2 +- crates/web-sys/src/features/gen_Algorithm.rs | 2 +- .../web-sys/src/features/gen_AnalyserNode.rs | 28 +- .../src/features/gen_AnalyserOptions.rs | 2 +- .../src/features/gen_AngleInstancedArrays.rs | 10 +- crates/web-sys/src/features/gen_Animation.rs | 54 +- .../src/features/gen_AnimationEffect.rs | 10 +- .../src/features/gen_AnimationEvent.rs | 8 +- .../src/features/gen_AnimationEventInit.rs | 2 +- .../features/gen_AnimationPlaybackEvent.rs | 6 +- .../gen_AnimationPlaybackEventInit.rs | 2 +- .../features/gen_AnimationPropertyDetails.rs | 2 +- .../gen_AnimationPropertyValueDetails.rs | 2 +- .../src/features/gen_AnimationTimeline.rs | 4 +- .../src/features/gen_AssignedNodesOptions.rs | 2 +- crates/web-sys/src/features/gen_Attr.rs | 16 +- .../src/features/gen_AttributeNameValue.rs | 2 +- .../web-sys/src/features/gen_AudioBuffer.rs | 20 +- .../src/features/gen_AudioBufferOptions.rs | 2 +- .../src/features/gen_AudioBufferSourceNode.rs | 38 +- .../features/gen_AudioBufferSourceOptions.rs | 2 +- .../src/features/gen_AudioConfiguration.rs | 2 +- .../web-sys/src/features/gen_AudioContext.rs | 86 +- .../src/features/gen_AudioContextOptions.rs | 2 +- .../src/features/gen_AudioDestinationNode.rs | 4 +- .../web-sys/src/features/gen_AudioListener.rs | 16 +- crates/web-sys/src/features/gen_AudioNode.rs | 44 +- .../src/features/gen_AudioNodeOptions.rs | 2 +- crates/web-sys/src/features/gen_AudioParam.rs | 24 +- .../web-sys/src/features/gen_AudioParamMap.rs | 2 +- .../src/features/gen_AudioProcessingEvent.rs | 8 +- .../features/gen_AudioScheduledSourceNode.rs | 14 +- .../src/features/gen_AudioStreamTrack.rs | 2 +- crates/web-sys/src/features/gen_AudioTrack.rs | 14 +- .../src/features/gen_AudioTrackList.rs | 18 +- .../web-sys/src/features/gen_AudioWorklet.rs | 2 +- .../features/gen_AudioWorkletGlobalScope.rs | 10 +- .../src/features/gen_AudioWorkletNode.rs | 10 +- .../features/gen_AudioWorkletNodeOptions.rs | 2 +- .../src/features/gen_AudioWorkletProcessor.rs | 4 +- ...en_AuthenticationExtensionsClientInputs.rs | 2 +- ...n_AuthenticationExtensionsClientOutputs.rs | 2 +- .../gen_AuthenticatorAssertionResponse.rs | 8 +- .../gen_AuthenticatorAttestationResponse.rs | 4 +- .../src/features/gen_AuthenticatorResponse.rs | 4 +- .../gen_AuthenticatorSelectionCriteria.rs | 2 +- .../src/features/gen_AutocompleteInfo.rs | 2 +- crates/web-sys/src/features/gen_BarProp.rs | 6 +- .../src/features/gen_BaseAudioContext.rs | 76 +- .../src/features/gen_BaseComputedKeyframe.rs | 2 +- .../web-sys/src/features/gen_BaseKeyframe.rs | 2 +- .../gen_BasePropertyIndexedKeyframe.rs | 2 +- .../src/features/gen_BasicCardRequest.rs | 2 +- .../src/features/gen_BasicCardResponse.rs | 2 +- .../src/features/gen_BatteryManager.rs | 26 +- .../src/features/gen_BeforeUnloadEvent.rs | 6 +- .../src/features/gen_BiquadFilterNode.rs | 16 +- .../src/features/gen_BiquadFilterOptions.rs | 2 +- crates/web-sys/src/features/gen_Blob.rs | 34 +- crates/web-sys/src/features/gen_BlobEvent.rs | 4 +- .../web-sys/src/features/gen_BlobEventInit.rs | 2 +- .../src/features/gen_BlobPropertyBag.rs | 2 +- .../src/features/gen_BlockParsingOptions.rs | 2 +- .../src/features/gen_BoxQuadOptions.rs | 2 +- .../src/features/gen_BroadcastChannel.rs | 16 +- .../gen_BrowserElementDownloadOptions.rs | 2 +- .../gen_BrowserElementExecuteScriptOptions.rs | 2 +- .../src/features/gen_BrowserFeedWriter.rs | 6 +- crates/web-sys/src/features/gen_Cache.rs | 50 +- .../src/features/gen_CacheBatchOperation.rs | 2 +- .../src/features/gen_CacheQueryOptions.rs | 2 +- .../web-sys/src/features/gen_CacheStorage.rs | 18 +- .../features/gen_CanvasCaptureMediaStream.rs | 6 +- .../src/features/gen_CanvasGradient.rs | 4 +- .../web-sys/src/features/gen_CanvasPattern.rs | 4 +- .../features/gen_CanvasRenderingContext2d.rs | 240 ++--- .../web-sys/src/features/gen_CaretPosition.rs | 8 +- .../gen_CaretStateChangedEventInit.rs | 2 +- .../web-sys/src/features/gen_CdataSection.rs | 2 +- .../src/features/gen_ChannelMergerNode.rs | 2 +- .../src/features/gen_ChannelMergerOptions.rs | 2 +- .../src/features/gen_ChannelPixelLayout.rs | 2 +- .../src/features/gen_ChannelSplitterNode.rs | 2 +- .../features/gen_ChannelSplitterOptions.rs | 2 +- .../web-sys/src/features/gen_CharacterData.rs | 132 +-- .../src/features/gen_CheckerboardReport.rs | 2 +- .../features/gen_CheckerboardReportService.rs | 10 +- .../src/features/gen_ChromeFilePropertyBag.rs | 2 +- .../web-sys/src/features/gen_ChromeWorker.rs | 2 +- crates/web-sys/src/features/gen_Client.rs | 14 +- .../src/features/gen_ClientQueryOptions.rs | 2 +- .../src/features/gen_ClientRectsAndTexts.rs | 2 +- crates/web-sys/src/features/gen_Clients.rs | 12 +- crates/web-sys/src/features/gen_Clipboard.rs | 10 +- .../src/features/gen_ClipboardEvent.rs | 4 +- .../src/features/gen_ClipboardEventInit.rs | 2 +- .../web-sys/src/features/gen_ClipboardItem.rs | 10 +- .../src/features/gen_ClipboardItemOptions.rs | 2 +- .../gen_ClipboardPermissionDescriptor.rs | 2 +- crates/web-sys/src/features/gen_CloseEvent.rs | 8 +- .../src/features/gen_CloseEventInit.rs | 2 +- .../src/features/gen_CollectedClientData.rs | 2 +- crates/web-sys/src/features/gen_Comment.rs | 2 +- .../src/features/gen_CompositionEvent.rs | 18 +- .../src/features/gen_CompositionEventInit.rs | 2 +- .../src/features/gen_ComputedEffectTiming.rs | 2 +- .../src/features/gen_ConnStatusDict.rs | 2 +- .../src/features/gen_ConsoleCounter.rs | 2 +- .../src/features/gen_ConsoleCounterError.rs | 2 +- .../web-sys/src/features/gen_ConsoleEvent.rs | 2 +- .../src/features/gen_ConsoleInstance.rs | 2 +- .../features/gen_ConsoleInstanceOptions.rs | 2 +- .../src/features/gen_ConsoleProfileEvent.rs | 2 +- .../src/features/gen_ConsoleStackEntry.rs | 2 +- .../src/features/gen_ConsoleTimerError.rs | 2 +- .../src/features/gen_ConsoleTimerLogOrEnd.rs | 2 +- .../src/features/gen_ConsoleTimerStart.rs | 2 +- .../src/features/gen_ConstantSourceNode.rs | 16 +- .../src/features/gen_ConstantSourceOptions.rs | 2 +- .../gen_ConstrainBooleanParameters.rs | 2 +- .../gen_ConstrainDomStringParameters.rs | 2 +- .../src/features/gen_ConstrainDoubleRange.rs | 2 +- .../src/features/gen_ConstrainLongRange.rs | 2 +- .../src/features/gen_ContextAttributes2d.rs | 2 +- .../features/gen_ConvertCoordinateOptions.rs | 2 +- .../web-sys/src/features/gen_ConvolverNode.rs | 10 +- .../src/features/gen_ConvolverOptions.rs | 2 +- .../web-sys/src/features/gen_Coordinates.rs | 16 +- crates/web-sys/src/features/gen_Credential.rs | 6 +- .../features/gen_CredentialCreationOptions.rs | 2 +- .../features/gen_CredentialRequestOptions.rs | 2 +- .../src/features/gen_CredentialsContainer.rs | 14 +- crates/web-sys/src/features/gen_Crypto.rs | 8 +- crates/web-sys/src/features/gen_CryptoKey.rs | 10 +- .../web-sys/src/features/gen_CryptoKeyPair.rs | 2 +- crates/web-sys/src/features/gen_Csp.rs | 2 +- .../web-sys/src/features/gen_CspPolicies.rs | 2 +- crates/web-sys/src/features/gen_CspReport.rs | 2 +- .../src/features/gen_CspReportProperties.rs | 2 +- .../web-sys/src/features/gen_CssAnimation.rs | 4 +- .../src/features/gen_CssConditionRule.rs | 6 +- .../src/features/gen_CssCounterStyleRule.rs | 46 +- .../src/features/gen_CssFontFaceRule.rs | 4 +- .../features/gen_CssFontFeatureValuesRule.rs | 10 +- .../src/features/gen_CssGroupingRule.rs | 10 +- .../web-sys/src/features/gen_CssImportRule.rs | 8 +- .../src/features/gen_CssKeyframeRule.rs | 8 +- .../src/features/gen_CssKeyframesRule.rs | 14 +- .../web-sys/src/features/gen_CssMediaRule.rs | 4 +- .../src/features/gen_CssNamespaceRule.rs | 6 +- .../web-sys/src/features/gen_CssPageRule.rs | 4 +- .../src/features/gen_CssPseudoElement.rs | 6 +- crates/web-sys/src/features/gen_CssRule.rs | 12 +- .../web-sys/src/features/gen_CssRuleList.rs | 6 +- .../src/features/gen_CssStyleDeclaration.rs | 22 +- .../web-sys/src/features/gen_CssStyleRule.rs | 8 +- .../web-sys/src/features/gen_CssStyleSheet.rs | 12 +- .../src/features/gen_CssSupportsRule.rs | 2 +- .../web-sys/src/features/gen_CssTransition.rs | 4 +- .../src/features/gen_CustomElementRegistry.rs | 12 +- .../web-sys/src/features/gen_CustomEvent.rs | 12 +- .../src/features/gen_CustomEventInit.rs | 2 +- .../web-sys/src/features/gen_DataTransfer.rs | 32 +- .../src/features/gen_DataTransferItem.rs | 12 +- .../src/features/gen_DataTransferItemList.rs | 12 +- .../web-sys/src/features/gen_DateTimeValue.rs | 2 +- .../features/gen_DecoderDoctorNotification.rs | 2 +- .../gen_DedicatedWorkerGlobalScope.rs | 18 +- crates/web-sys/src/features/gen_DelayNode.rs | 4 +- .../web-sys/src/features/gen_DelayOptions.rs | 2 +- .../src/features/gen_DeviceAcceleration.rs | 8 +- .../features/gen_DeviceAccelerationInit.rs | 2 +- .../src/features/gen_DeviceLightEvent.rs | 4 +- .../src/features/gen_DeviceLightEventInit.rs | 2 +- .../src/features/gen_DeviceMotionEvent.rs | 10 +- .../src/features/gen_DeviceMotionEventInit.rs | 2 +- .../features/gen_DeviceOrientationEvent.rs | 24 +- .../gen_DeviceOrientationEventInit.rs | 2 +- .../src/features/gen_DeviceProximityEvent.rs | 8 +- .../features/gen_DeviceProximityEventInit.rs | 2 +- .../src/features/gen_DeviceRotationRate.rs | 8 +- .../features/gen_DeviceRotationRateInit.rs | 2 +- .../src/features/gen_DhKeyDeriveParams.rs | 2 +- crates/web-sys/src/features/gen_Directory.rs | 12 +- .../src/features/gen_DisplayNameOptions.rs | 2 +- .../src/features/gen_DisplayNameResult.rs | 2 +- .../web-sys/src/features/gen_DnsCacheDict.rs | 2 +- .../web-sys/src/features/gen_DnsCacheEntry.rs | 2 +- .../web-sys/src/features/gen_DnsLookupDict.rs | 2 +- crates/web-sys/src/features/gen_Document.rs | 718 ++++++------- .../src/features/gen_DocumentFragment.rs | 88 +- .../src/features/gen_DocumentTimeline.rs | 2 +- .../features/gen_DocumentTimelineOptions.rs | 2 +- .../web-sys/src/features/gen_DocumentType.rs | 118 +-- crates/web-sys/src/features/gen_DomError.rs | 6 +- .../web-sys/src/features/gen_DomException.rs | 20 +- .../src/features/gen_DomImplementation.rs | 14 +- crates/web-sys/src/features/gen_DomMatrix.rs | 142 +-- .../src/features/gen_DomMatrixReadOnly.rs | 112 +- crates/web-sys/src/features/gen_DomParser.rs | 4 +- crates/web-sys/src/features/gen_DomPoint.rs | 22 +- .../web-sys/src/features/gen_DomPointInit.rs | 2 +- .../src/features/gen_DomPointReadOnly.rs | 16 +- crates/web-sys/src/features/gen_DomQuad.rs | 16 +- .../web-sys/src/features/gen_DomQuadInit.rs | 2 +- .../web-sys/src/features/gen_DomQuadJson.rs | 2 +- crates/web-sys/src/features/gen_DomRect.rs | 18 +- .../web-sys/src/features/gen_DomRectInit.rs | 2 +- .../web-sys/src/features/gen_DomRectList.rs | 6 +- .../src/features/gen_DomRectReadOnly.rs | 20 +- crates/web-sys/src/features/gen_DomRequest.rs | 22 +- .../web-sys/src/features/gen_DomStringList.rs | 8 +- .../web-sys/src/features/gen_DomStringMap.rs | 2 +- .../web-sys/src/features/gen_DomTokenList.rs | 56 +- .../gen_DomWindowResizeEventDetail.rs | 2 +- crates/web-sys/src/features/gen_DragEvent.rs | 36 +- .../web-sys/src/features/gen_DragEventInit.rs | 2 +- .../features/gen_DynamicsCompressorNode.rs | 14 +- .../features/gen_DynamicsCompressorOptions.rs | 2 +- .../src/features/gen_EcKeyAlgorithm.rs | 2 +- .../src/features/gen_EcKeyGenParams.rs | 2 +- .../src/features/gen_EcKeyImportParams.rs | 2 +- .../src/features/gen_EcdhKeyDeriveParams.rs | 2 +- .../web-sys/src/features/gen_EcdsaParams.rs | 2 +- .../web-sys/src/features/gen_EffectTiming.rs | 2 +- crates/web-sys/src/features/gen_Element.rs | 394 +++---- .../features/gen_ElementCreationOptions.rs | 2 +- .../features/gen_ElementDefinitionOptions.rs | 2 +- .../web-sys/src/features/gen_ErrorCallback.rs | 2 +- crates/web-sys/src/features/gen_ErrorEvent.rs | 12 +- .../src/features/gen_ErrorEventInit.rs | 2 +- crates/web-sys/src/features/gen_Event.rs | 40 +- crates/web-sys/src/features/gen_EventInit.rs | 2 +- .../web-sys/src/features/gen_EventListener.rs | 2 +- .../src/features/gen_EventListenerOptions.rs | 2 +- .../src/features/gen_EventModifierInit.rs | 2 +- .../web-sys/src/features/gen_EventSource.rs | 22 +- .../src/features/gen_EventSourceInit.rs | 2 +- .../web-sys/src/features/gen_EventTarget.rs | 36 +- crates/web-sys/src/features/gen_Exception.rs | 18 +- .../src/features/gen_ExtBlendMinmax.rs | 2 +- .../src/features/gen_ExtColorBufferFloat.rs | 2 +- .../features/gen_ExtColorBufferHalfFloat.rs | 2 +- .../src/features/gen_ExtDisjointTimerQuery.rs | 18 +- .../web-sys/src/features/gen_ExtFragDepth.rs | 2 +- crates/web-sys/src/features/gen_ExtSRgb.rs | 2 +- .../src/features/gen_ExtShaderTextureLod.rs | 2 +- .../gen_ExtTextureFilterAnisotropic.rs | 2 +- .../src/features/gen_ExtendableEvent.rs | 4 +- .../src/features/gen_ExtendableEventInit.rs | 2 +- .../features/gen_ExtendableMessageEvent.rs | 12 +- .../gen_ExtendableMessageEventInit.rs | 2 +- crates/web-sys/src/features/gen_External.rs | 6 +- .../src/features/gen_FakePluginMimeEntry.rs | 2 +- .../src/features/gen_FakePluginTagInit.rs | 2 +- crates/web-sys/src/features/gen_FetchEvent.rs | 10 +- .../src/features/gen_FetchEventInit.rs | 2 +- .../web-sys/src/features/gen_FetchObserver.rs | 16 +- .../gen_FetchReadableStreamReadDataArray.rs | 2 +- .../gen_FetchReadableStreamReadDataDone.rs | 2 +- crates/web-sys/src/features/gen_File.rs | 6 +- .../web-sys/src/features/gen_FileCallback.rs | 2 +- crates/web-sys/src/features/gen_FileList.rs | 6 +- .../src/features/gen_FilePropertyBag.rs | 2 +- crates/web-sys/src/features/gen_FileReader.rs | 44 +- .../src/features/gen_FileReaderSync.rs | 12 +- crates/web-sys/src/features/gen_FileSystem.rs | 6 +- .../features/gen_FileSystemDirectoryEntry.rs | 40 +- .../features/gen_FileSystemDirectoryReader.rs | 14 +- .../features/gen_FileSystemEntriesCallback.rs | 2 +- .../src/features/gen_FileSystemEntry.rs | 26 +- .../features/gen_FileSystemEntryCallback.rs | 2 +- .../src/features/gen_FileSystemFileEntry.rs | 14 +- .../src/features/gen_FileSystemFlags.rs | 2 +- crates/web-sys/src/features/gen_FocusEvent.rs | 4 +- .../src/features/gen_FocusEventInit.rs | 2 +- crates/web-sys/src/features/gen_FontFace.rs | 44 +- .../src/features/gen_FontFaceDescriptors.rs | 2 +- .../web-sys/src/features/gen_FontFaceSet.rs | 44 +- .../src/features/gen_FontFaceSetIterator.rs | 4 +- .../features/gen_FontFaceSetIteratorResult.rs | 2 +- .../src/features/gen_FontFaceSetLoadEvent.rs | 4 +- .../features/gen_FontFaceSetLoadEventInit.rs | 2 +- crates/web-sys/src/features/gen_FormData.rs | 22 +- .../src/features/gen_FuzzingFunctions.rs | 8 +- crates/web-sys/src/features/gen_GainNode.rs | 4 +- .../web-sys/src/features/gen_GainOptions.rs | 2 +- crates/web-sys/src/features/gen_Gamepad.rs | 24 +- .../src/features/gen_GamepadAxisMoveEvent.rs | 6 +- .../features/gen_GamepadAxisMoveEventInit.rs | 2 +- .../web-sys/src/features/gen_GamepadButton.rs | 8 +- .../src/features/gen_GamepadButtonEvent.rs | 4 +- .../features/gen_GamepadButtonEventInit.rs | 2 +- .../web-sys/src/features/gen_GamepadEvent.rs | 4 +- .../src/features/gen_GamepadEventInit.rs | 2 +- .../src/features/gen_GamepadHapticActuator.rs | 6 +- .../web-sys/src/features/gen_GamepadPose.rs | 18 +- .../src/features/gen_GamepadServiceTest.rs | 24 +- .../web-sys/src/features/gen_Geolocation.rs | 16 +- .../features/gen_GetNotificationOptions.rs | 2 +- .../src/features/gen_GetRootNodeOptions.rs | 2 +- .../src/features/gen_GetUserMediaRequest.rs | 18 +- crates/web-sys/src/features/gen_Gpu.rs | 6 +- crates/web-sys/src/features/gen_GpuAdapter.rs | 8 +- .../web-sys/src/features/gen_GpuBindGroup.rs | 6 +- .../features/gen_GpuBindGroupDescriptor.rs | 2 +- .../src/features/gen_GpuBindGroupEntry.rs | 2 +- .../src/features/gen_GpuBindGroupLayout.rs | 6 +- .../gen_GpuBindGroupLayoutDescriptor.rs | 2 +- .../features/gen_GpuBindGroupLayoutEntry.rs | 2 +- .../src/features/gen_GpuBlendDescriptor.rs | 2 +- crates/web-sys/src/features/gen_GpuBuffer.rs | 14 +- .../src/features/gen_GpuBufferBinding.rs | 2 +- .../src/features/gen_GpuBufferCopyView.rs | 2 +- .../src/features/gen_GpuBufferDescriptor.rs | 2 +- .../src/features/gen_GpuBufferUsage.rs | 2 +- .../src/features/gen_GpuCanvasContext.rs | 6 +- .../web-sys/src/features/gen_GpuColorDict.rs | 2 +- .../features/gen_GpuColorStateDescriptor.rs | 2 +- .../web-sys/src/features/gen_GpuColorWrite.rs | 2 +- .../src/features/gen_GpuCommandBuffer.rs | 8 +- .../gen_GpuCommandBufferDescriptor.rs | 2 +- .../src/features/gen_GpuCommandEncoder.rs | 56 +- .../gen_GpuCommandEncoderDescriptor.rs | 2 +- .../src/features/gen_GpuCompilationInfo.rs | 2 +- .../src/features/gen_GpuCompilationMessage.rs | 10 +- .../features/gen_GpuComputePassDescriptor.rs | 2 +- .../src/features/gen_GpuComputePassEncoder.rs | 40 +- .../src/features/gen_GpuComputePipeline.rs | 8 +- .../gen_GpuComputePipelineDescriptor.rs | 2 +- .../gen_GpuDepthStencilStateDescriptor.rs | 2 +- crates/web-sys/src/features/gen_GpuDevice.rs | 56 +- .../src/features/gen_GpuDeviceDescriptor.rs | 2 +- .../src/features/gen_GpuDeviceLostInfo.rs | 4 +- .../src/features/gen_GpuExtent3dDict.rs | 2 +- crates/web-sys/src/features/gen_GpuFence.rs | 12 +- .../src/features/gen_GpuFenceDescriptor.rs | 2 +- .../features/gen_GpuImageBitmapCopyView.rs | 2 +- crates/web-sys/src/features/gen_GpuLimits.rs | 2 +- .../features/gen_GpuObjectDescriptorBase.rs | 2 +- .../src/features/gen_GpuOrigin2dDict.rs | 2 +- .../src/features/gen_GpuOrigin3dDict.rs | 2 +- .../src/features/gen_GpuOutOfMemoryError.rs | 2 +- .../features/gen_GpuPipelineDescriptorBase.rs | 2 +- .../src/features/gen_GpuPipelineLayout.rs | 6 +- .../gen_GpuPipelineLayoutDescriptor.rs | 2 +- .../gen_GpuProgrammableStageDescriptor.rs | 2 +- .../web-sys/src/features/gen_GpuQuerySet.rs | 8 +- .../src/features/gen_GpuQuerySetDescriptor.rs | 2 +- crates/web-sys/src/features/gen_GpuQueue.rs | 52 +- .../gen_GpuRasterizationStateDescriptor.rs | 2 +- .../src/features/gen_GpuRenderBundle.rs | 6 +- .../features/gen_GpuRenderBundleDescriptor.rs | 2 +- .../features/gen_GpuRenderBundleEncoder.rs | 80 +- .../gen_GpuRenderBundleEncoderDescriptor.rs | 2 +- ..._GpuRenderPassColorAttachmentDescriptor.rs | 2 +- ...derPassDepthStencilAttachmentDescriptor.rs | 2 +- .../features/gen_GpuRenderPassDescriptor.rs | 2 +- .../src/features/gen_GpuRenderPassEncoder.rs | 100 +- .../src/features/gen_GpuRenderPipeline.rs | 8 +- .../gen_GpuRenderPipelineDescriptor.rs | 2 +- .../features/gen_GpuRequestAdapterOptions.rs | 2 +- crates/web-sys/src/features/gen_GpuSampler.rs | 6 +- .../src/features/gen_GpuSamplerDescriptor.rs | 2 +- .../src/features/gen_GpuShaderModule.rs | 8 +- .../features/gen_GpuShaderModuleDescriptor.rs | 2 +- .../src/features/gen_GpuShaderStage.rs | 2 +- .../gen_GpuStencilStateFaceDescriptor.rs | 2 +- .../web-sys/src/features/gen_GpuSwapChain.rs | 8 +- .../features/gen_GpuSwapChainDescriptor.rs | 2 +- crates/web-sys/src/features/gen_GpuTexture.rs | 12 +- .../src/features/gen_GpuTextureCopyView.rs | 2 +- .../src/features/gen_GpuTextureDataLayout.rs | 2 +- .../src/features/gen_GpuTextureDescriptor.rs | 2 +- .../src/features/gen_GpuTextureUsage.rs | 2 +- .../src/features/gen_GpuTextureView.rs | 6 +- .../features/gen_GpuTextureViewDescriptor.rs | 2 +- .../features/gen_GpuUncapturedErrorEvent.rs | 4 +- .../gen_GpuUncapturedErrorEventInit.rs | 2 +- .../src/features/gen_GpuValidationError.rs | 4 +- .../gen_GpuVertexAttributeDescriptor.rs | 2 +- .../gen_GpuVertexBufferLayoutDescriptor.rs | 2 +- .../features/gen_GpuVertexStateDescriptor.rs | 2 +- .../features/gen_GroupedHistoryEventInit.rs | 2 +- .../src/features/gen_HalfOpenInfoDict.rs | 2 +- .../src/features/gen_HashChangeEvent.rs | 16 +- .../src/features/gen_HashChangeEventInit.rs | 2 +- crates/web-sys/src/features/gen_Headers.rs | 12 +- .../src/features/gen_HiddenPluginEventInit.rs | 2 +- crates/web-sys/src/features/gen_History.rs | 26 +- .../src/features/gen_HitRegionOptions.rs | 2 +- crates/web-sys/src/features/gen_HkdfParams.rs | 2 +- .../src/features/gen_HmacDerivedKeyParams.rs | 2 +- .../src/features/gen_HmacImportParams.rs | 2 +- .../src/features/gen_HmacKeyAlgorithm.rs | 2 +- .../src/features/gen_HmacKeyGenParams.rs | 2 +- .../src/features/gen_HtmlAllCollection.rs | 10 +- .../src/features/gen_HtmlAnchorElement.rs | 98 +- .../src/features/gen_HtmlAreaElement.rs | 82 +- .../src/features/gen_HtmlAudioElement.rs | 2 +- .../src/features/gen_HtmlBaseElement.rs | 10 +- .../src/features/gen_HtmlBodyElement.rs | 82 +- .../web-sys/src/features/gen_HtmlBrElement.rs | 6 +- .../src/features/gen_HtmlButtonElement.rs | 58 +- .../src/features/gen_HtmlCanvasElement.rs | 28 +- .../src/features/gen_HtmlCollection.rs | 8 +- .../src/features/gen_HtmlDListElement.rs | 6 +- .../src/features/gen_HtmlDataElement.rs | 6 +- .../src/features/gen_HtmlDataListElement.rs | 4 +- .../src/features/gen_HtmlDetailsElement.rs | 6 +- .../src/features/gen_HtmlDialogElement.rs | 18 +- .../src/features/gen_HtmlDirectoryElement.rs | 6 +- .../src/features/gen_HtmlDivElement.rs | 6 +- .../web-sys/src/features/gen_HtmlDocument.rs | 106 +- .../web-sys/src/features/gen_HtmlElement.rs | 426 ++++---- .../src/features/gen_HtmlEmbedElement.rs | 28 +- .../src/features/gen_HtmlFieldSetElement.rs | 28 +- .../src/features/gen_HtmlFontElement.rs | 14 +- .../gen_HtmlFormControlsCollection.rs | 4 +- .../src/features/gen_HtmlFormElement.rs | 50 +- .../src/features/gen_HtmlFrameElement.rs | 38 +- .../src/features/gen_HtmlFrameSetElement.rs | 66 +- .../src/features/gen_HtmlHeadElement.rs | 2 +- .../src/features/gen_HtmlHeadingElement.rs | 6 +- .../web-sys/src/features/gen_HtmlHrElement.rs | 22 +- .../src/features/gen_HtmlHtmlElement.rs | 6 +- .../src/features/gen_HtmlIFrameElement.rs | 66 +- .../src/features/gen_HtmlImageElement.rs | 80 +- .../src/features/gen_HtmlInputElement.rs | 192 ++-- .../src/features/gen_HtmlLabelElement.rs | 10 +- .../src/features/gen_HtmlLegendElement.rs | 8 +- .../web-sys/src/features/gen_HtmlLiElement.rs | 10 +- .../src/features/gen_HtmlLinkElement.rs | 60 +- .../src/features/gen_HtmlMapElement.rs | 8 +- .../src/features/gen_HtmlMediaElement.rs | 116 +-- .../src/features/gen_HtmlMenuElement.rs | 14 +- .../src/features/gen_HtmlMenuItemElement.rs | 30 +- .../src/features/gen_HtmlMetaElement.rs | 18 +- .../src/features/gen_HtmlMeterElement.rs | 28 +- .../src/features/gen_HtmlModElement.rs | 10 +- .../src/features/gen_HtmlOListElement.rs | 18 +- .../src/features/gen_HtmlObjectElement.rs | 90 +- .../src/features/gen_HtmlOptGroupElement.rs | 10 +- .../src/features/gen_HtmlOptionElement.rs | 30 +- .../src/features/gen_HtmlOptionsCollection.rs | 24 +- .../src/features/gen_HtmlOutputElement.rs | 34 +- .../src/features/gen_HtmlParagraphElement.rs | 6 +- .../src/features/gen_HtmlParamElement.rs | 18 +- .../src/features/gen_HtmlPictureElement.rs | 2 +- .../src/features/gen_HtmlPreElement.rs | 6 +- .../src/features/gen_HtmlProgressElement.rs | 14 +- .../src/features/gen_HtmlQuoteElement.rs | 6 +- .../src/features/gen_HtmlScriptElement.rs | 46 +- .../src/features/gen_HtmlSelectElement.rs | 84 +- .../src/features/gen_HtmlSlotElement.rs | 10 +- .../src/features/gen_HtmlSourceElement.rs | 22 +- .../src/features/gen_HtmlSpanElement.rs | 2 +- .../src/features/gen_HtmlStyleElement.rs | 16 +- .../features/gen_HtmlTableCaptionElement.rs | 6 +- .../src/features/gen_HtmlTableCellElement.rs | 52 +- .../src/features/gen_HtmlTableColElement.rs | 26 +- .../src/features/gen_HtmlTableElement.rs | 74 +- .../src/features/gen_HtmlTableRowElement.rs | 34 +- .../features/gen_HtmlTableSectionElement.rs | 26 +- .../src/features/gen_HtmlTemplateElement.rs | 4 +- .../src/features/gen_HtmlTextAreaElement.rs | 100 +- .../src/features/gen_HtmlTimeElement.rs | 6 +- .../src/features/gen_HtmlTitleElement.rs | 6 +- .../src/features/gen_HtmlTrackElement.rs | 26 +- .../src/features/gen_HtmlUListElement.rs | 10 +- .../src/features/gen_HtmlUnknownElement.rs | 2 +- .../src/features/gen_HtmlVideoElement.rs | 20 +- .../web-sys/src/features/gen_HttpConnDict.rs | 2 +- .../web-sys/src/features/gen_HttpConnInfo.rs | 2 +- .../src/features/gen_HttpConnectionElement.rs | 2 +- crates/web-sys/src/features/gen_IdbCursor.rs | 22 +- .../src/features/gen_IdbCursorWithValue.rs | 4 +- .../web-sys/src/features/gen_IdbDatabase.rs | 46 +- crates/web-sys/src/features/gen_IdbFactory.rs | 16 +- .../web-sys/src/features/gen_IdbFileHandle.rs | 70 +- .../features/gen_IdbFileMetadataParameters.rs | 2 +- .../src/features/gen_IdbFileRequest.rs | 10 +- crates/web-sys/src/features/gen_IdbIndex.rs | 50 +- .../src/features/gen_IdbIndexParameters.rs | 2 +- .../web-sys/src/features/gen_IdbKeyRange.rs | 28 +- .../features/gen_IdbLocaleAwareKeyRange.rs | 8 +- .../src/features/gen_IdbMutableFile.rs | 20 +- .../src/features/gen_IdbObjectStore.rs | 70 +- .../features/gen_IdbObjectStoreParameters.rs | 2 +- .../src/features/gen_IdbOpenDbOptions.rs | 2 +- .../src/features/gen_IdbOpenDbRequest.rs | 10 +- crates/web-sys/src/features/gen_IdbRequest.rs | 20 +- .../src/features/gen_IdbTransaction.rs | 26 +- .../src/features/gen_IdbVersionChangeEvent.rs | 6 +- .../features/gen_IdbVersionChangeEventInit.rs | 2 +- .../web-sys/src/features/gen_IdleDeadline.rs | 6 +- .../src/features/gen_IdleRequestOptions.rs | 2 +- .../web-sys/src/features/gen_IirFilterNode.rs | 4 +- .../src/features/gen_IirFilterOptions.rs | 2 +- .../web-sys/src/features/gen_ImageBitmap.rs | 18 +- .../gen_ImageBitmapRenderingContext.rs | 6 +- .../web-sys/src/features/gen_ImageCapture.rs | 14 +- .../src/features/gen_ImageCaptureError.rs | 6 +- .../features/gen_ImageCaptureErrorEvent.rs | 4 +- .../gen_ImageCaptureErrorEventInit.rs | 2 +- crates/web-sys/src/features/gen_ImageData.rs | 8 +- crates/web-sys/src/features/gen_InputEvent.rs | 4 +- .../src/features/gen_InputEventInit.rs | 2 +- .../src/features/gen_InstallTriggerData.rs | 2 +- .../src/features/gen_IntersectionObserver.rs | 16 +- .../features/gen_IntersectionObserverEntry.rs | 16 +- .../gen_IntersectionObserverEntryInit.rs | 2 +- .../features/gen_IntersectionObserverInit.rs | 2 +- crates/web-sys/src/features/gen_IntlUtils.rs | 8 +- .../features/gen_IterableKeyAndValueResult.rs | 2 +- .../features/gen_IterableKeyOrValueResult.rs | 2 +- crates/web-sys/src/features/gen_JsonWebKey.rs | 2 +- .../web-sys/src/features/gen_KeyAlgorithm.rs | 2 +- crates/web-sys/src/features/gen_KeyEvent.rs | 22 +- .../src/features/gen_KeyIdsInitData.rs | 2 +- .../web-sys/src/features/gen_KeyboardEvent.rs | 46 +- .../src/features/gen_KeyboardEventInit.rs | 2 +- .../src/features/gen_KeyframeEffect.rs | 18 +- .../src/features/gen_KeyframeEffectOptions.rs | 2 +- .../web-sys/src/features/gen_L10nElement.rs | 2 +- crates/web-sys/src/features/gen_L10nValue.rs | 2 +- .../src/features/gen_LifecycleCallbacks.rs | 2 +- .../web-sys/src/features/gen_ListBoxObject.rs | 20 +- .../src/features/gen_LocalMediaStream.rs | 4 +- crates/web-sys/src/features/gen_LocaleInfo.rs | 2 +- crates/web-sys/src/features/gen_Location.rs | 44 +- .../src/features/gen_MediaCapabilities.rs | 6 +- .../src/features/gen_MediaCapabilitiesInfo.rs | 8 +- .../src/features/gen_MediaConfiguration.rs | 2 +- .../gen_MediaDecodingConfiguration.rs | 2 +- .../src/features/gen_MediaDeviceInfo.rs | 12 +- .../web-sys/src/features/gen_MediaDevices.rs | 14 +- .../gen_MediaElementAudioSourceNode.rs | 2 +- .../gen_MediaElementAudioSourceOptions.rs | 2 +- .../gen_MediaEncodingConfiguration.rs | 2 +- .../src/features/gen_MediaEncryptedEvent.rs | 6 +- crates/web-sys/src/features/gen_MediaError.rs | 6 +- .../web-sys/src/features/gen_MediaKeyError.rs | 4 +- .../src/features/gen_MediaKeyMessageEvent.rs | 6 +- .../features/gen_MediaKeyMessageEventInit.rs | 2 +- .../features/gen_MediaKeyNeededEventInit.rs | 2 +- .../src/features/gen_MediaKeySession.rs | 34 +- .../src/features/gen_MediaKeyStatusMap.rs | 12 +- .../src/features/gen_MediaKeySystemAccess.rs | 8 +- .../gen_MediaKeySystemConfiguration.rs | 2 +- .../gen_MediaKeySystemMediaCapability.rs | 2 +- crates/web-sys/src/features/gen_MediaKeys.rs | 16 +- .../src/features/gen_MediaKeysPolicy.rs | 2 +- crates/web-sys/src/features/gen_MediaList.rs | 14 +- .../src/features/gen_MediaQueryList.rs | 18 +- .../src/features/gen_MediaQueryListEvent.rs | 6 +- .../features/gen_MediaQueryListEventInit.rs | 2 +- .../web-sys/src/features/gen_MediaRecorder.rs | 42 +- .../features/gen_MediaRecorderErrorEvent.rs | 4 +- .../gen_MediaRecorderErrorEventInit.rs | 2 +- .../src/features/gen_MediaRecorderOptions.rs | 2 +- .../web-sys/src/features/gen_MediaSource.rs | 38 +- .../web-sys/src/features/gen_MediaStream.rs | 30 +- .../gen_MediaStreamAudioDestinationNode.rs | 4 +- .../gen_MediaStreamAudioSourceNode.rs | 2 +- .../gen_MediaStreamAudioSourceOptions.rs | 2 +- .../features/gen_MediaStreamConstraints.rs | 2 +- .../src/features/gen_MediaStreamError.rs | 8 +- .../src/features/gen_MediaStreamEvent.rs | 4 +- .../src/features/gen_MediaStreamEventInit.rs | 2 +- .../src/features/gen_MediaStreamTrack.rs | 40 +- .../src/features/gen_MediaStreamTrackEvent.rs | 4 +- .../features/gen_MediaStreamTrackEventInit.rs | 2 +- .../features/gen_MediaTrackConstraintSet.rs | 2 +- .../src/features/gen_MediaTrackConstraints.rs | 2 +- .../src/features/gen_MediaTrackSettings.rs | 2 +- .../gen_MediaTrackSupportedConstraints.rs | 2 +- .../src/features/gen_MessageChannel.rs | 6 +- .../web-sys/src/features/gen_MessageEvent.rs | 36 +- .../src/features/gen_MessageEventInit.rs | 2 +- .../web-sys/src/features/gen_MessagePort.rs | 18 +- crates/web-sys/src/features/gen_MidiAccess.rs | 12 +- .../src/features/gen_MidiConnectionEvent.rs | 4 +- .../features/gen_MidiConnectionEventInit.rs | 2 +- crates/web-sys/src/features/gen_MidiInput.rs | 6 +- .../web-sys/src/features/gen_MidiInputMap.rs | 2 +- .../src/features/gen_MidiMessageEvent.rs | 4 +- .../src/features/gen_MidiMessageEventInit.rs | 2 +- .../web-sys/src/features/gen_MidiOptions.rs | 2 +- crates/web-sys/src/features/gen_MidiOutput.rs | 8 +- .../web-sys/src/features/gen_MidiOutputMap.rs | 2 +- crates/web-sys/src/features/gen_MidiPort.rs | 24 +- crates/web-sys/src/features/gen_MimeType.rs | 10 +- .../web-sys/src/features/gen_MimeTypeArray.rs | 8 +- crates/web-sys/src/features/gen_MouseEvent.rs | 70 +- .../src/features/gen_MouseEventInit.rs | 2 +- .../src/features/gen_MouseScrollEvent.rs | 36 +- crates/web-sys/src/features/gen_MozDebug.rs | 4 +- .../web-sys/src/features/gen_MutationEvent.rs | 28 +- .../src/features/gen_MutationObserver.rs | 10 +- .../src/features/gen_MutationObserverInit.rs | 2 +- .../src/features/gen_MutationObservingInfo.rs | 2 +- .../src/features/gen_MutationRecord.rs | 20 +- .../web-sys/src/features/gen_NamedNodeMap.rs | 18 +- .../features/gen_NativeOsFileReadOptions.rs | 2 +- .../gen_NativeOsFileWriteAtomicOptions.rs | 2 +- crates/web-sys/src/features/gen_Navigator.rs | 96 +- .../gen_NavigatorAutomationInformation.rs | 4 +- .../src/features/gen_NetworkCommandOptions.rs | 2 +- .../src/features/gen_NetworkInformation.rs | 8 +- .../src/features/gen_NetworkResultOptions.rs | 2 +- crates/web-sys/src/features/gen_Node.rs | 68 +- crates/web-sys/src/features/gen_NodeFilter.rs | 2 +- .../web-sys/src/features/gen_NodeIterator.rs | 18 +- crates/web-sys/src/features/gen_NodeList.rs | 6 +- .../web-sys/src/features/gen_Notification.rs | 46 +- .../src/features/gen_NotificationBehavior.rs | 2 +- .../src/features/gen_NotificationEvent.rs | 4 +- .../src/features/gen_NotificationEventInit.rs | 2 +- .../src/features/gen_NotificationOptions.rs | 2 +- .../src/features/gen_ObserverCallback.rs | 2 +- .../src/features/gen_OesElementIndexUint.rs | 2 +- .../features/gen_OesStandardDerivatives.rs | 2 +- .../src/features/gen_OesTextureFloat.rs | 2 +- .../src/features/gen_OesTextureFloatLinear.rs | 2 +- .../src/features/gen_OesTextureHalfFloat.rs | 2 +- .../features/gen_OesTextureHalfFloatLinear.rs | 2 +- .../src/features/gen_OesVertexArrayObject.rs | 10 +- .../gen_OfflineAudioCompletionEvent.rs | 4 +- .../gen_OfflineAudioCompletionEventInit.rs | 2 +- .../src/features/gen_OfflineAudioContext.rs | 84 +- .../gen_OfflineAudioContextOptions.rs | 2 +- .../src/features/gen_OfflineResourceList.rs | 40 +- .../src/features/gen_OffscreenCanvas.rs | 22 +- .../src/features/gen_OpenWindowEventDetail.rs | 2 +- .../src/features/gen_OptionalEffectTiming.rs | 2 +- .../src/features/gen_OscillatorNode.rs | 24 +- .../src/features/gen_OscillatorOptions.rs | 2 +- .../src/features/gen_PageTransitionEvent.rs | 4 +- .../features/gen_PageTransitionEventInit.rs | 2 +- .../web-sys/src/features/gen_PaintRequest.rs | 6 +- .../src/features/gen_PaintRequestList.rs | 6 +- .../features/gen_PaintWorkletGlobalScope.rs | 4 +- crates/web-sys/src/features/gen_PannerNode.rs | 52 +- .../web-sys/src/features/gen_PannerOptions.rs | 2 +- crates/web-sys/src/features/gen_Path2d.rs | 28 +- .../src/features/gen_PaymentAddress.rs | 26 +- .../features/gen_PaymentMethodChangeEvent.rs | 6 +- .../gen_PaymentMethodChangeEventInit.rs | 2 +- .../features/gen_PaymentRequestUpdateEvent.rs | 4 +- .../gen_PaymentRequestUpdateEventInit.rs | 2 +- .../src/features/gen_PaymentResponse.rs | 24 +- .../web-sys/src/features/gen_Pbkdf2Params.rs | 2 +- .../web-sys/src/features/gen_Performance.rs | 44 +- .../src/features/gen_PerformanceEntry.rs | 12 +- .../features/gen_PerformanceEntryEventInit.rs | 2 +- .../gen_PerformanceEntryFilterOptions.rs | 2 +- .../src/features/gen_PerformanceMark.rs | 2 +- .../src/features/gen_PerformanceMeasure.rs | 2 +- .../src/features/gen_PerformanceNavigation.rs | 8 +- .../gen_PerformanceNavigationTiming.rs | 24 +- .../src/features/gen_PerformanceObserver.rs | 8 +- .../gen_PerformanceObserverEntryList.rs | 12 +- .../features/gen_PerformanceObserverInit.rs | 2 +- .../features/gen_PerformanceResourceTiming.rs | 40 +- .../features/gen_PerformanceServerTiming.rs | 10 +- .../src/features/gen_PerformanceTiming.rs | 50 +- .../web-sys/src/features/gen_PeriodicWave.rs | 2 +- .../features/gen_PeriodicWaveConstraints.rs | 2 +- .../src/features/gen_PeriodicWaveOptions.rs | 2 +- .../src/features/gen_PermissionDescriptor.rs | 2 +- .../src/features/gen_PermissionStatus.rs | 8 +- .../web-sys/src/features/gen_Permissions.rs | 6 +- crates/web-sys/src/features/gen_Plugin.rs | 16 +- .../web-sys/src/features/gen_PluginArray.rs | 12 +- .../features/gen_PluginCrashedEventInit.rs | 2 +- .../web-sys/src/features/gen_PointerEvent.rs | 24 +- .../src/features/gen_PointerEventInit.rs | 2 +- .../web-sys/src/features/gen_PopStateEvent.rs | 4 +- .../src/features/gen_PopStateEventInit.rs | 2 +- .../src/features/gen_PopupBlockedEvent.rs | 8 +- .../src/features/gen_PopupBlockedEventInit.rs | 2 +- crates/web-sys/src/features/gen_Position.rs | 6 +- .../web-sys/src/features/gen_PositionError.rs | 6 +- .../src/features/gen_PositionOptions.rs | 2 +- .../web-sys/src/features/gen_Presentation.rs | 8 +- .../features/gen_PresentationAvailability.rs | 8 +- .../features/gen_PresentationConnection.rs | 42 +- ...en_PresentationConnectionAvailableEvent.rs | 4 +- ...resentationConnectionAvailableEventInit.rs | 2 +- .../gen_PresentationConnectionCloseEvent.rs | 6 +- ...en_PresentationConnectionCloseEventInit.rs | 2 +- .../gen_PresentationConnectionList.rs | 8 +- .../src/features/gen_PresentationReceiver.rs | 4 +- .../src/features/gen_PresentationRequest.rs | 12 +- .../src/features/gen_ProcessingInstruction.rs | 6 +- .../features/gen_ProfileTimelineLayerRect.rs | 2 +- .../src/features/gen_ProfileTimelineMarker.rs | 2 +- .../features/gen_ProfileTimelineStackFrame.rs | 2 +- .../web-sys/src/features/gen_ProgressEvent.rs | 8 +- .../src/features/gen_ProgressEventInit.rs | 2 +- .../src/features/gen_PromiseNativeHandler.rs | 2 +- .../src/features/gen_PromiseRejectionEvent.rs | 6 +- .../features/gen_PromiseRejectionEventInit.rs | 2 +- .../src/features/gen_PublicKeyCredential.rs | 10 +- .../gen_PublicKeyCredentialCreationOptions.rs | 2 +- .../gen_PublicKeyCredentialDescriptor.rs | 2 +- .../features/gen_PublicKeyCredentialEntity.rs | 2 +- .../gen_PublicKeyCredentialParameters.rs | 2 +- .../gen_PublicKeyCredentialRequestOptions.rs | 2 +- .../gen_PublicKeyCredentialRpEntity.rs | 2 +- .../gen_PublicKeyCredentialUserEntity.rs | 2 +- crates/web-sys/src/features/gen_PushEvent.rs | 4 +- .../web-sys/src/features/gen_PushEventInit.rs | 2 +- .../web-sys/src/features/gen_PushManager.rs | 12 +- .../src/features/gen_PushMessageData.rs | 10 +- .../src/features/gen_PushSubscription.rs | 12 +- .../src/features/gen_PushSubscriptionInit.rs | 2 +- .../src/features/gen_PushSubscriptionJson.rs | 2 +- .../src/features/gen_PushSubscriptionKeys.rs | 2 +- .../features/gen_PushSubscriptionOptions.rs | 4 +- .../gen_PushSubscriptionOptionsInit.rs | 2 +- .../web-sys/src/features/gen_RadioNodeList.rs | 6 +- crates/web-sys/src/features/gen_Range.rs | 62 +- .../web-sys/src/features/gen_RcwnPerfStats.rs | 2 +- crates/web-sys/src/features/gen_RcwnStatus.rs | 2 +- .../src/features/gen_ReadableStream.rs | 2 +- .../src/features/gen_RegisterRequest.rs | 2 +- .../src/features/gen_RegisterResponse.rs | 2 +- .../web-sys/src/features/gen_RegisteredKey.rs | 2 +- .../src/features/gen_RegistrationOptions.rs | 2 +- crates/web-sys/src/features/gen_Request.rs | 42 +- .../web-sys/src/features/gen_RequestInit.rs | 2 +- ...RequestMediaKeySystemAccessNotification.rs | 2 +- crates/web-sys/src/features/gen_Response.rs | 38 +- .../web-sys/src/features/gen_ResponseInit.rs | 2 +- .../src/features/gen_RsaHashedImportParams.rs | 2 +- .../web-sys/src/features/gen_RsaOaepParams.rs | 2 +- .../src/features/gen_RsaOtherPrimesInfo.rs | 2 +- .../web-sys/src/features/gen_RsaPssParams.rs | 2 +- .../src/features/gen_RtcAnswerOptions.rs | 2 +- .../src/features/gen_RtcCertificate.rs | 4 +- .../features/gen_RtcCertificateExpiration.rs | 2 +- .../web-sys/src/features/gen_RtcCodecStats.rs | 2 +- .../src/features/gen_RtcConfiguration.rs | 2 +- .../src/features/gen_RtcDataChannel.rs | 54 +- .../src/features/gen_RtcDataChannelEvent.rs | 4 +- .../features/gen_RtcDataChannelEventInit.rs | 2 +- .../src/features/gen_RtcDataChannelInit.rs | 2 +- .../src/features/gen_RtcFecParameters.rs | 2 +- .../src/features/gen_RtcIceCandidate.rs | 16 +- .../src/features/gen_RtcIceCandidateInit.rs | 2 +- .../features/gen_RtcIceCandidatePairStats.rs | 2 +- .../src/features/gen_RtcIceCandidateStats.rs | 2 +- .../src/features/gen_RtcIceComponentStats.rs | 2 +- .../web-sys/src/features/gen_RtcIceServer.rs | 2 +- .../src/features/gen_RtcIdentityAssertion.rs | 2 +- .../gen_RtcIdentityAssertionResult.rs | 2 +- .../src/features/gen_RtcIdentityProvider.rs | 2 +- .../gen_RtcIdentityProviderDetails.rs | 2 +- .../gen_RtcIdentityProviderOptions.rs | 2 +- .../gen_RtcIdentityProviderRegistrar.rs | 4 +- .../gen_RtcIdentityValidationResult.rs | 2 +- .../features/gen_RtcInboundRtpStreamStats.rs | 2 +- .../src/features/gen_RtcMediaStreamStats.rs | 2 +- .../features/gen_RtcMediaStreamTrackStats.rs | 2 +- .../src/features/gen_RtcOfferAnswerOptions.rs | 2 +- .../src/features/gen_RtcOfferOptions.rs | 2 +- .../features/gen_RtcOutboundRtpStreamStats.rs | 2 +- .../src/features/gen_RtcPeerConnection.rs | 158 +-- .../features/gen_RtcPeerConnectionIceEvent.rs | 4 +- .../gen_RtcPeerConnectionIceEventInit.rs | 2 +- .../src/features/gen_RtcRtcpParameters.rs | 2 +- .../src/features/gen_RtcRtpCodecParameters.rs | 2 +- .../features/gen_RtcRtpContributingSource.rs | 2 +- .../features/gen_RtcRtpEncodingParameters.rs | 2 +- .../gen_RtcRtpHeaderExtensionParameters.rs | 2 +- .../src/features/gen_RtcRtpParameters.rs | 2 +- .../src/features/gen_RtcRtpReceiver.rs | 10 +- .../web-sys/src/features/gen_RtcRtpSender.rs | 16 +- .../src/features/gen_RtcRtpSourceEntry.rs | 2 +- .../gen_RtcRtpSynchronizationSource.rs | 2 +- .../src/features/gen_RtcRtpTransceiver.rs | 20 +- .../src/features/gen_RtcRtpTransceiverInit.rs | 2 +- .../src/features/gen_RtcRtxParameters.rs | 2 +- .../src/features/gen_RtcSessionDescription.rs | 12 +- .../features/gen_RtcSessionDescriptionInit.rs | 2 +- crates/web-sys/src/features/gen_RtcStats.rs | 2 +- .../src/features/gen_RtcStatsReport.rs | 2 +- .../features/gen_RtcStatsReportInternal.rs | 2 +- .../web-sys/src/features/gen_RtcTrackEvent.rs | 10 +- .../src/features/gen_RtcTrackEventInit.rs | 2 +- .../src/features/gen_RtcTransportStats.rs | 2 +- .../web-sys/src/features/gen_RtcdtmfSender.rs | 14 +- .../features/gen_RtcdtmfToneChangeEvent.rs | 4 +- .../gen_RtcdtmfToneChangeEventInit.rs | 2 +- .../gen_RtcrtpContributingSourceStats.rs | 2 +- .../src/features/gen_RtcrtpStreamStats.rs | 2 +- crates/web-sys/src/features/gen_Screen.rs | 32 +- .../src/features/gen_ScreenLuminance.rs | 8 +- .../src/features/gen_ScreenOrientation.rs | 14 +- .../src/features/gen_ScriptProcessorNode.rs | 8 +- .../src/features/gen_ScrollAreaEvent.rs | 28 +- .../src/features/gen_ScrollBoxObject.rs | 20 +- .../src/features/gen_ScrollIntoViewOptions.rs | 2 +- .../web-sys/src/features/gen_ScrollOptions.rs | 2 +- .../src/features/gen_ScrollToOptions.rs | 2 +- .../features/gen_ScrollViewChangeEventInit.rs | 2 +- .../gen_SecurityPolicyViolationEvent.rs | 26 +- .../gen_SecurityPolicyViolationEventInit.rs | 2 +- crates/web-sys/src/features/gen_Selection.rs | 58 +- .../src/features/gen_ServerSocketOptions.rs | 2 +- .../web-sys/src/features/gen_ServiceWorker.rs | 18 +- .../features/gen_ServiceWorkerContainer.rs | 30 +- .../features/gen_ServiceWorkerGlobalScope.rs | 40 +- .../features/gen_ServiceWorkerRegistration.rs | 30 +- crates/web-sys/src/features/gen_ShadowRoot.rs | 30 +- .../src/features/gen_ShadowRootInit.rs | 2 +- .../web-sys/src/features/gen_SharedWorker.rs | 8 +- .../features/gen_SharedWorkerGlobalScope.rs | 10 +- .../web-sys/src/features/gen_SignResponse.rs | 2 +- .../web-sys/src/features/gen_SocketElement.rs | 2 +- .../web-sys/src/features/gen_SocketOptions.rs | 2 +- .../web-sys/src/features/gen_SocketsDict.rs | 2 +- .../web-sys/src/features/gen_SourceBuffer.rs | 62 +- .../src/features/gen_SourceBufferList.rs | 12 +- .../web-sys/src/features/gen_SpeechGrammar.rs | 10 +- .../src/features/gen_SpeechGrammarList.rs | 14 +- .../src/features/gen_SpeechRecognition.rs | 78 +- .../gen_SpeechRecognitionAlternative.rs | 6 +- .../features/gen_SpeechRecognitionError.rs | 6 +- .../gen_SpeechRecognitionErrorInit.rs | 2 +- .../features/gen_SpeechRecognitionEvent.rs | 10 +- .../gen_SpeechRecognitionEventInit.rs | 2 +- .../features/gen_SpeechRecognitionResult.rs | 8 +- .../gen_SpeechRecognitionResultList.rs | 6 +- .../src/features/gen_SpeechSynthesis.rs | 22 +- .../features/gen_SpeechSynthesisErrorEvent.rs | 4 +- .../gen_SpeechSynthesisErrorEventInit.rs | 2 +- .../src/features/gen_SpeechSynthesisEvent.rs | 12 +- .../features/gen_SpeechSynthesisEventInit.rs | 2 +- .../features/gen_SpeechSynthesisUtterance.rs | 54 +- .../src/features/gen_SpeechSynthesisVoice.rs | 12 +- .../src/features/gen_StereoPannerNode.rs | 4 +- .../src/features/gen_StereoPannerOptions.rs | 2 +- crates/web-sys/src/features/gen_Storage.rs | 14 +- .../src/features/gen_StorageEstimate.rs | 2 +- .../web-sys/src/features/gen_StorageEvent.rs | 28 +- .../src/features/gen_StorageEventInit.rs | 2 +- .../src/features/gen_StorageManager.rs | 8 +- .../features/gen_StyleRuleChangeEventInit.rs | 2 +- crates/web-sys/src/features/gen_StyleSheet.rs | 18 +- ...tyleSheetApplicableStateChangeEventInit.rs | 2 +- .../features/gen_StyleSheetChangeEventInit.rs | 2 +- .../src/features/gen_StyleSheetList.rs | 6 +- .../web-sys/src/features/gen_SubtleCrypto.rs | 92 +- crates/web-sys/src/features/gen_SvgAngle.rs | 20 +- .../src/features/gen_SvgAnimateElement.rs | 2 +- .../features/gen_SvgAnimateMotionElement.rs | 2 +- .../gen_SvgAnimateTransformElement.rs | 2 +- .../src/features/gen_SvgAnimatedAngle.rs | 6 +- .../src/features/gen_SvgAnimatedBoolean.rs | 8 +- .../features/gen_SvgAnimatedEnumeration.rs | 8 +- .../src/features/gen_SvgAnimatedInteger.rs | 8 +- .../src/features/gen_SvgAnimatedLength.rs | 6 +- .../src/features/gen_SvgAnimatedLengthList.rs | 6 +- .../src/features/gen_SvgAnimatedNumber.rs | 8 +- .../src/features/gen_SvgAnimatedNumberList.rs | 6 +- .../gen_SvgAnimatedPreserveAspectRatio.rs | 6 +- .../src/features/gen_SvgAnimatedRect.rs | 6 +- .../src/features/gen_SvgAnimatedString.rs | 8 +- .../features/gen_SvgAnimatedTransformList.rs | 6 +- .../src/features/gen_SvgAnimationElement.rs | 26 +- .../src/features/gen_SvgBoundingBoxOptions.rs | 2 +- .../src/features/gen_SvgCircleElement.rs | 8 +- .../src/features/gen_SvgClipPathElement.rs | 6 +- ...gen_SvgComponentTransferFunctionElement.rs | 16 +- .../src/features/gen_SvgDefsElement.rs | 2 +- .../src/features/gen_SvgDescElement.rs | 2 +- crates/web-sys/src/features/gen_SvgElement.rs | 384 +++---- .../src/features/gen_SvgEllipseElement.rs | 10 +- .../src/features/gen_SvgFilterElement.rs | 16 +- .../features/gen_SvgForeignObjectElement.rs | 10 +- .../src/features/gen_SvgGeometryElement.rs | 8 +- .../src/features/gen_SvgGradientElement.rs | 10 +- .../src/features/gen_SvgGraphicsElement.rs | 26 +- .../src/features/gen_SvgImageElement.rs | 14 +- crates/web-sys/src/features/gen_SvgLength.rs | 20 +- .../web-sys/src/features/gen_SvgLengthList.rs | 18 +- .../src/features/gen_SvgLineElement.rs | 10 +- .../features/gen_SvgLinearGradientElement.rs | 10 +- .../src/features/gen_SvgMarkerElement.rs | 24 +- .../src/features/gen_SvgMaskElement.rs | 14 +- crates/web-sys/src/features/gen_SvgMatrix.rs | 48 +- .../src/features/gen_SvgMetadataElement.rs | 2 +- crates/web-sys/src/features/gen_SvgNumber.rs | 6 +- .../web-sys/src/features/gen_SvgNumberList.rs | 18 +- .../src/features/gen_SvgPathElement.rs | 8 +- crates/web-sys/src/features/gen_SvgPathSeg.rs | 6 +- .../src/features/gen_SvgPathSegArcAbs.rs | 30 +- .../src/features/gen_SvgPathSegArcRel.rs | 30 +- .../src/features/gen_SvgPathSegClosePath.rs | 2 +- .../features/gen_SvgPathSegCurvetoCubicAbs.rs | 26 +- .../features/gen_SvgPathSegCurvetoCubicRel.rs | 26 +- .../gen_SvgPathSegCurvetoCubicSmoothAbs.rs | 18 +- .../gen_SvgPathSegCurvetoCubicSmoothRel.rs | 18 +- .../gen_SvgPathSegCurvetoQuadraticAbs.rs | 18 +- .../gen_SvgPathSegCurvetoQuadraticRel.rs | 18 +- ...gen_SvgPathSegCurvetoQuadraticSmoothAbs.rs | 10 +- ...gen_SvgPathSegCurvetoQuadraticSmoothRel.rs | 10 +- .../src/features/gen_SvgPathSegLinetoAbs.rs | 10 +- .../gen_SvgPathSegLinetoHorizontalAbs.rs | 6 +- .../gen_SvgPathSegLinetoHorizontalRel.rs | 6 +- .../src/features/gen_SvgPathSegLinetoRel.rs | 10 +- .../gen_SvgPathSegLinetoVerticalAbs.rs | 6 +- .../gen_SvgPathSegLinetoVerticalRel.rs | 6 +- .../src/features/gen_SvgPathSegList.rs | 6 +- .../src/features/gen_SvgPathSegMovetoAbs.rs | 10 +- .../src/features/gen_SvgPathSegMovetoRel.rs | 10 +- .../src/features/gen_SvgPatternElement.rs | 22 +- crates/web-sys/src/features/gen_SvgPoint.rs | 12 +- .../web-sys/src/features/gen_SvgPointList.rs | 18 +- .../src/features/gen_SvgPolygonElement.rs | 6 +- .../src/features/gen_SvgPolylineElement.rs | 6 +- .../features/gen_SvgPreserveAspectRatio.rs | 10 +- .../features/gen_SvgRadialGradientElement.rs | 14 +- crates/web-sys/src/features/gen_SvgRect.rs | 18 +- .../src/features/gen_SvgRectElement.rs | 14 +- .../src/features/gen_SvgScriptElement.rs | 12 +- .../web-sys/src/features/gen_SvgSetElement.rs | 2 +- .../src/features/gen_SvgStopElement.rs | 4 +- .../web-sys/src/features/gen_SvgStringList.rs | 20 +- .../src/features/gen_SvgStyleElement.rs | 20 +- .../src/features/gen_SvgSwitchElement.rs | 2 +- .../src/features/gen_SvgSymbolElement.rs | 14 +- .../src/features/gen_SvgTextContentElement.rs | 24 +- .../src/features/gen_SvgTextElement.rs | 2 +- .../src/features/gen_SvgTextPathElement.rs | 10 +- .../features/gen_SvgTextPositioningElement.rs | 12 +- .../src/features/gen_SvgTitleElement.rs | 2 +- .../web-sys/src/features/gen_SvgTransform.rs | 20 +- .../src/features/gen_SvgTransformList.rs | 22 +- .../web-sys/src/features/gen_SvgUnitTypes.rs | 2 +- .../web-sys/src/features/gen_SvgUseElement.rs | 12 +- .../src/features/gen_SvgViewElement.rs | 10 +- .../web-sys/src/features/gen_SvgZoomAndPan.rs | 6 +- .../web-sys/src/features/gen_SvgaElement.rs | 36 +- .../src/features/gen_SvgfeBlendElement.rs | 18 +- .../features/gen_SvgfeColorMatrixElement.rs | 18 +- .../gen_SvgfeComponentTransferElement.rs | 14 +- .../src/features/gen_SvgfeCompositeElement.rs | 26 +- .../gen_SvgfeConvolveMatrixElement.rs | 36 +- .../gen_SvgfeDiffuseLightingElement.rs | 22 +- .../gen_SvgfeDisplacementMapElement.rs | 22 +- .../features/gen_SvgfeDistantLightElement.rs | 6 +- .../features/gen_SvgfeDropShadowElement.rs | 24 +- .../src/features/gen_SvgfeFloodElement.rs | 12 +- .../src/features/gen_SvgfeFuncAElement.rs | 2 +- .../src/features/gen_SvgfeFuncBElement.rs | 2 +- .../src/features/gen_SvgfeFuncGElement.rs | 2 +- .../src/features/gen_SvgfeFuncRElement.rs | 2 +- .../features/gen_SvgfeGaussianBlurElement.rs | 20 +- .../src/features/gen_SvgfeImageElement.rs | 16 +- .../src/features/gen_SvgfeMergeElement.rs | 12 +- .../src/features/gen_SvgfeMergeNodeElement.rs | 4 +- .../features/gen_SvgfeMorphologyElement.rs | 20 +- .../src/features/gen_SvgfeOffsetElement.rs | 18 +- .../features/gen_SvgfePointLightElement.rs | 8 +- .../gen_SvgfeSpecularLightingElement.rs | 24 +- .../src/features/gen_SvgfeSpotLightElement.rs | 18 +- .../src/features/gen_SvgfeTileElement.rs | 14 +- .../features/gen_SvgfeTurbulenceElement.rs | 24 +- .../web-sys/src/features/gen_SvggElement.rs | 2 +- .../src/features/gen_SvgmPathElement.rs | 4 +- .../web-sys/src/features/gen_SvgsvgElement.rs | 64 +- .../src/features/gen_SvgtSpanElement.rs | 2 +- .../src/features/gen_TcpServerSocket.rs | 14 +- .../src/features/gen_TcpServerSocketEvent.rs | 4 +- .../features/gen_TcpServerSocketEventInit.rs | 2 +- crates/web-sys/src/features/gen_TcpSocket.rs | 50 +- .../src/features/gen_TcpSocketErrorEvent.rs | 6 +- .../features/gen_TcpSocketErrorEventInit.rs | 2 +- .../src/features/gen_TcpSocketEvent.rs | 4 +- .../src/features/gen_TcpSocketEventInit.rs | 2 +- crates/web-sys/src/features/gen_Text.rs | 48 +- .../src/features/gen_TextDecodeOptions.rs | 2 +- .../web-sys/src/features/gen_TextDecoder.rs | 16 +- .../src/features/gen_TextDecoderOptions.rs | 2 +- .../web-sys/src/features/gen_TextEncoder.rs | 8 +- .../web-sys/src/features/gen_TextMetrics.rs | 4 +- crates/web-sys/src/features/gen_TextTrack.rs | 28 +- .../web-sys/src/features/gen_TextTrackCue.rs | 28 +- .../src/features/gen_TextTrackCueList.rs | 6 +- .../web-sys/src/features/gen_TextTrackList.rs | 18 +- crates/web-sys/src/features/gen_TimeEvent.rs | 12 +- crates/web-sys/src/features/gen_TimeRanges.rs | 8 +- crates/web-sys/src/features/gen_Touch.rs | 26 +- crates/web-sys/src/features/gen_TouchEvent.rs | 40 +- .../src/features/gen_TouchEventInit.rs | 2 +- crates/web-sys/src/features/gen_TouchInit.rs | 2 +- crates/web-sys/src/features/gen_TouchList.rs | 6 +- crates/web-sys/src/features/gen_TrackEvent.rs | 4 +- .../src/features/gen_TrackEventInit.rs | 2 +- .../src/features/gen_TransitionEvent.rs | 8 +- .../src/features/gen_TransitionEventInit.rs | 2 +- .../web-sys/src/features/gen_TreeBoxObject.rs | 48 +- .../web-sys/src/features/gen_TreeCellInfo.rs | 2 +- crates/web-sys/src/features/gen_TreeView.rs | 36 +- crates/web-sys/src/features/gen_TreeWalker.rs | 26 +- crates/web-sys/src/features/gen_U2f.rs | 10 +- .../web-sys/src/features/gen_U2fClientData.rs | 2 +- .../src/features/gen_UdpMessageEventInit.rs | 2 +- crates/web-sys/src/features/gen_UdpOptions.rs | 2 +- crates/web-sys/src/features/gen_UiEvent.rs | 30 +- .../web-sys/src/features/gen_UiEventInit.rs | 2 +- crates/web-sys/src/features/gen_Url.rs | 54 +- .../src/features/gen_UrlSearchParams.rs | 16 +- .../src/features/gen_UserProximityEvent.rs | 4 +- .../features/gen_UserProximityEventInit.rs | 2 +- .../web-sys/src/features/gen_ValidityState.rs | 24 +- .../src/features/gen_VideoConfiguration.rs | 2 +- .../src/features/gen_VideoPlaybackQuality.rs | 10 +- .../src/features/gen_VideoStreamTrack.rs | 2 +- crates/web-sys/src/features/gen_VideoTrack.rs | 14 +- .../src/features/gen_VideoTrackList.rs | 20 +- .../web-sys/src/features/gen_VoidCallback.rs | 2 +- crates/web-sys/src/features/gen_VrDisplay.rs | 44 +- .../src/features/gen_VrDisplayCapabilities.rs | 12 +- .../src/features/gen_VrEyeParameters.rs | 10 +- .../web-sys/src/features/gen_VrFieldOfView.rs | 10 +- .../web-sys/src/features/gen_VrFrameData.rs | 14 +- crates/web-sys/src/features/gen_VrLayer.rs | 2 +- .../src/features/gen_VrMockController.rs | 8 +- .../web-sys/src/features/gen_VrMockDisplay.rs | 12 +- crates/web-sys/src/features/gen_VrPose.rs | 14 +- .../web-sys/src/features/gen_VrServiceTest.rs | 6 +- .../src/features/gen_VrStageParameters.rs | 8 +- .../src/features/gen_VrSubmitFrameResult.rs | 6 +- crates/web-sys/src/features/gen_VttCue.rs | 44 +- crates/web-sys/src/features/gen_VttRegion.rs | 34 +- .../src/features/gen_WaveShaperNode.rs | 10 +- .../src/features/gen_WaveShaperOptions.rs | 2 +- .../features/gen_WebGl2RenderingContext.rs | 962 +++++++++--------- .../src/features/gen_WebGlActiveInfo.rs | 8 +- .../web-sys/src/features/gen_WebGlBuffer.rs | 2 +- .../features/gen_WebGlContextAttributes.rs | 2 +- .../src/features/gen_WebGlContextEvent.rs | 4 +- .../src/features/gen_WebGlContextEventInit.rs | 2 +- .../src/features/gen_WebGlFramebuffer.rs | 2 +- .../web-sys/src/features/gen_WebGlProgram.rs | 2 +- crates/web-sys/src/features/gen_WebGlQuery.rs | 2 +- .../src/features/gen_WebGlRenderbuffer.rs | 2 +- .../src/features/gen_WebGlRenderingContext.rs | 366 +++---- .../web-sys/src/features/gen_WebGlSampler.rs | 2 +- .../web-sys/src/features/gen_WebGlShader.rs | 2 +- .../gen_WebGlShaderPrecisionFormat.rs | 8 +- crates/web-sys/src/features/gen_WebGlSync.rs | 2 +- .../web-sys/src/features/gen_WebGlTexture.rs | 2 +- .../features/gen_WebGlTransformFeedback.rs | 2 +- .../src/features/gen_WebGlUniformLocation.rs | 2 +- .../features/gen_WebGlVertexArrayObject.rs | 2 +- .../src/features/gen_WebKitCssMatrix.rs | 50 +- crates/web-sys/src/features/gen_WebSocket.rs | 48 +- .../web-sys/src/features/gen_WebSocketDict.rs | 2 +- .../src/features/gen_WebSocketElement.rs | 2 +- .../src/features/gen_WebglColorBufferFloat.rs | 2 +- .../gen_WebglCompressedTextureAstc.rs | 4 +- .../features/gen_WebglCompressedTextureAtc.rs | 2 +- .../features/gen_WebglCompressedTextureEtc.rs | 2 +- .../gen_WebglCompressedTextureEtc1.rs | 2 +- .../gen_WebglCompressedTexturePvrtc.rs | 2 +- .../gen_WebglCompressedTextureS3tc.rs | 2 +- .../gen_WebglCompressedTextureS3tcSrgb.rs | 2 +- .../features/gen_WebglDebugRendererInfo.rs | 2 +- .../src/features/gen_WebglDebugShaders.rs | 4 +- .../src/features/gen_WebglDepthTexture.rs | 2 +- .../src/features/gen_WebglDrawBuffers.rs | 4 +- .../src/features/gen_WebglLoseContext.rs | 6 +- .../gen_WebrtcGlobalStatisticsReport.rs | 2 +- crates/web-sys/src/features/gen_WheelEvent.rs | 10 +- .../src/features/gen_WheelEventInit.rs | 2 +- .../src/features/gen_WidevineCdmManifest.rs | 2 +- crates/web-sys/src/features/gen_Window.rs | 768 +++++++------- .../web-sys/src/features/gen_WindowClient.rs | 10 +- crates/web-sys/src/features/gen_Worker.rs | 20 +- .../features/gen_WorkerDebuggerGlobalScope.rs | 32 +- .../src/features/gen_WorkerGlobalScope.rs | 184 ++-- .../src/features/gen_WorkerLocation.rs | 20 +- .../src/features/gen_WorkerNavigator.rs | 32 +- .../web-sys/src/features/gen_WorkerOptions.rs | 2 +- crates/web-sys/src/features/gen_Worklet.rs | 6 +- .../src/features/gen_WorkletGlobalScope.rs | 2 +- .../src/features/gen_WorkletOptions.rs | 2 +- .../src/features/gen_XPathExpression.rs | 8 +- .../src/features/gen_XPathNsResolver.rs | 2 +- .../web-sys/src/features/gen_XPathResult.rs | 20 +- .../web-sys/src/features/gen_XmlDocument.rs | 8 +- .../src/features/gen_XmlHttpRequest.rs | 70 +- .../features/gen_XmlHttpRequestEventTarget.rs | 30 +- .../src/features/gen_XmlHttpRequestUpload.rs | 2 +- .../web-sys/src/features/gen_XmlSerializer.rs | 4 +- crates/web-sys/src/features/gen_Xr.rs | 12 +- .../features/gen_XrBoundedReferenceSpace.rs | 4 +- crates/web-sys/src/features/gen_XrFrame.rs | 8 +- .../web-sys/src/features/gen_XrInputSource.rs | 12 +- .../src/features/gen_XrInputSourceArray.rs | 4 +- .../src/features/gen_XrInputSourceEvent.rs | 6 +- .../features/gen_XrInputSourceEventInit.rs | 2 +- .../features/gen_XrInputSourcesChangeEvent.rs | 8 +- .../gen_XrInputSourcesChangeEventInit.rs | 2 +- crates/web-sys/src/features/gen_XrPose.rs | 6 +- .../src/features/gen_XrReferenceSpace.rs | 8 +- .../src/features/gen_XrReferenceSpaceEvent.rs | 6 +- .../features/gen_XrReferenceSpaceEventInit.rs | 2 +- .../web-sys/src/features/gen_XrRenderState.rs | 10 +- .../src/features/gen_XrRenderStateInit.rs | 2 +- .../src/features/gen_XrRigidTransform.rs | 10 +- crates/web-sys/src/features/gen_XrSession.rs | 44 +- .../src/features/gen_XrSessionEvent.rs | 4 +- .../src/features/gen_XrSessionEventInit.rs | 2 +- .../web-sys/src/features/gen_XrSessionInit.rs | 2 +- crates/web-sys/src/features/gen_XrSpace.rs | 2 +- crates/web-sys/src/features/gen_XrView.rs | 8 +- .../web-sys/src/features/gen_XrViewerPose.rs | 4 +- crates/web-sys/src/features/gen_XrViewport.rs | 10 +- .../web-sys/src/features/gen_XrWebGlLayer.rs | 16 +- .../src/features/gen_XrWebGlLayerInit.rs | 2 +- .../web-sys/src/features/gen_XsltProcessor.rs | 16 +- crates/web-sys/src/features/gen_console.rs | 316 +++--- crates/web-sys/src/features/gen_css.rs | 6 +- 1140 files changed, 9059 insertions(+), 9056 deletions(-) diff --git a/crates/cli-support/src/descriptors.rs b/crates/cli-support/src/descriptors.rs index c81a913119e..2486ff8d059 100644 --- a/crates/cli-support/src/descriptors.rs +++ b/crates/cli-support/src/descriptors.rs @@ -116,7 +116,10 @@ impl WasmBindgenDescriptorsSection { // freshly manufactured import. Save off the type of this import in // ourselves, and then we're good to go. let ty = module.funcs.get(wbindgen_describe_closure).ty(); - for (func, descriptor) in func_to_descriptor { + // sort to ensure ids and caches are consistent across runs + let mut items = func_to_descriptor.into_iter().collect::>(); + items.sort_by_key(|i| i.0); + for (func, descriptor) in items { // This uses a cache so that if the same closure exists multiple times it will // deduplicate it so it only exists once. let id = match self.cached_closures.get(&descriptor) { diff --git a/crates/cli-support/src/wit/mod.rs b/crates/cli-support/src/wit/mod.rs index d9ad7dcea0b..6e225dcfe03 100644 --- a/crates/cli-support/src/wit/mod.rs +++ b/crates/cli-support/src/wit/mod.rs @@ -183,13 +183,13 @@ impl<'a> Context<'a> { // Finally we store all this metadata in the import map which we've // learned so when a binding for the import is generated we can // generate all the appropriate shims. - for (id, descriptor) in closure_imports { + for (id, descriptor) in crate::sorted_iter(&closure_imports) { let signature = Function { shim_idx: 0, arguments: vec![Descriptor::I32; 3], ret: Descriptor::Externref, }; - let id = self.import_adapter(id, signature, AdapterJsImportKind::Normal)?; + let id = self.import_adapter(*id, signature, AdapterJsImportKind::Normal)?; // Synthesize the two integer pointers we pass through which // aren't present in the signature but are present in the wasm // signature. diff --git a/crates/web-sys/src/features/gen_AbortController.rs b/crates/web-sys/src/features/gen_AbortController.rs index 54980ca5020..95776f74a67 100644 --- a/crates/web-sys/src/features/gen_AbortController.rs +++ b/crates/web-sys/src/features/gen_AbortController.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AbortController , typescript_type = "AbortController" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AbortController , typescript_type = "AbortController")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AbortController` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `AbortController`*"] pub fn new() -> Result; - # [ wasm_bindgen ( method , structural , js_class = "AbortController" , js_name = abort ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AbortSignal.rs b/crates/web-sys/src/features/gen_AbortSignal.rs index b1baa1ef8db..081fa5c4969 100644 --- a/crates/web-sys/src/features/gen_AbortSignal.rs +++ b/crates/web-sys/src/features/gen_AbortSignal.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = AbortSignal , typescript_type = "AbortSignal" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = AbortSignal , typescript_type = "AbortSignal")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AbortSignal` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AddEventListenerOptions.rs b/crates/web-sys/src/features/gen_AddEventListenerOptions.rs index fe47d49729c..a986330af79 100644 --- a/crates/web-sys/src/features/gen_AddEventListenerOptions.rs +++ b/crates/web-sys/src/features/gen_AddEventListenerOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AddEventListenerOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AddEventListenerOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AddEventListenerOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AesCbcParams.rs b/crates/web-sys/src/features/gen_AesCbcParams.rs index 620f0225e82..475d94981ab 100644 --- a/crates/web-sys/src/features/gen_AesCbcParams.rs +++ b/crates/web-sys/src/features/gen_AesCbcParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesCbcParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesCbcParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AesCbcParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AesCtrParams.rs b/crates/web-sys/src/features/gen_AesCtrParams.rs index 83d63e86fe1..ec60d3fd440 100644 --- a/crates/web-sys/src/features/gen_AesCtrParams.rs +++ b/crates/web-sys/src/features/gen_AesCtrParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesCtrParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesCtrParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AesCtrParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AesDerivedKeyParams.rs b/crates/web-sys/src/features/gen_AesDerivedKeyParams.rs index 885216da22c..46bcc59a4cc 100644 --- a/crates/web-sys/src/features/gen_AesDerivedKeyParams.rs +++ b/crates/web-sys/src/features/gen_AesDerivedKeyParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesDerivedKeyParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesDerivedKeyParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AesDerivedKeyParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AesGcmParams.rs b/crates/web-sys/src/features/gen_AesGcmParams.rs index 0133c720da6..8f361d1f5af 100644 --- a/crates/web-sys/src/features/gen_AesGcmParams.rs +++ b/crates/web-sys/src/features/gen_AesGcmParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesGcmParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesGcmParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AesGcmParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AesKeyAlgorithm.rs b/crates/web-sys/src/features/gen_AesKeyAlgorithm.rs index 01b20f8a497..380782f05ff 100644 --- a/crates/web-sys/src/features/gen_AesKeyAlgorithm.rs +++ b/crates/web-sys/src/features/gen_AesKeyAlgorithm.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesKeyAlgorithm ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesKeyAlgorithm)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AesKeyAlgorithm` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AesKeyGenParams.rs b/crates/web-sys/src/features/gen_AesKeyGenParams.rs index e8e7d490258..016d2b88fd8 100644 --- a/crates/web-sys/src/features/gen_AesKeyGenParams.rs +++ b/crates/web-sys/src/features/gen_AesKeyGenParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesKeyGenParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesKeyGenParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AesKeyGenParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Algorithm.rs b/crates/web-sys/src/features/gen_Algorithm.rs index cde31648f6a..d0263e74f73 100644 --- a/crates/web-sys/src/features/gen_Algorithm.rs +++ b/crates/web-sys/src/features/gen_Algorithm.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Algorithm ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Algorithm)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Algorithm` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AnalyserNode.rs b/crates/web-sys/src/features/gen_AnalyserNode.rs index ed3c08c1b0c..a659b628c9e 100644 --- a/crates/web-sys/src/features/gen_AnalyserNode.rs +++ b/crates/web-sys/src/features/gen_AnalyserNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,63 +11,63 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -93,28 +93,28 @@ extern "C" { context: &BaseAudioContext, options: &AnalyserOptions, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "AnalyserNode" , js_name = getByteFrequencyData ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AnalyserOptions.rs b/crates/web-sys/src/features/gen_AnalyserOptions.rs index 5deba3858e1..ba7f43a04bb 100644 --- a/crates/web-sys/src/features/gen_AnalyserOptions.rs +++ b/crates/web-sys/src/features/gen_AnalyserOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnalyserOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnalyserOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AnalyserOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AngleInstancedArrays.rs b/crates/web-sys/src/features/gen_AngleInstancedArrays.rs index 2875f2a5b0a..2fd99e72391 100644 --- a/crates/web-sys/src/features/gen_AngleInstancedArrays.rs +++ b/crates/web-sys/src/features/gen_AngleInstancedArrays.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -24,7 +24,7 @@ extern "C" { count: i32, primcount: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { offset: i32, primcount: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { offset: f64, primcount: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "ANGLE_instanced_arrays" , js_name = vertexAttribDivisorANGLE ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Animation.rs b/crates/web-sys/src/features/gen_Animation.rs index 2e5908ef9f6..9862eab321f 100644 --- a/crates/web-sys/src/features/gen_Animation.rs +++ b/crates/web-sys/src/features/gen_Animation.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = Animation , typescript_type = "Animation" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Animation , typescript_type = "Animation")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Animation` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`*"] pub fn effect(this: &Animation) -> Option; #[cfg(feature = "AnimationEffect")] - # [ wasm_bindgen ( structural , method , setter , js_class = "Animation" , js_name = effect ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -50,49 +50,49 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Animation`, `AnimationTimeline`*"] pub fn timeline(this: &Animation) -> Option; #[cfg(feature = "AnimationTimeline")] - # [ wasm_bindgen ( structural , method , setter , js_class = "Animation" , js_name = timeline ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , setter , js_class = "Animation" , js_name = startTime ) ] + # [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); - # [ wasm_bindgen ( structural , method , getter , js_class = "Animation" , js_name = currentTime ) ] + # [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; - # [ wasm_bindgen ( structural , method , setter , js_class = "Animation" , js_name = currentTime ) ] + # [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); - # [ wasm_bindgen ( structural , method , getter , js_class = "Animation" , js_name = playbackRate ) ] + # [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 ) ] + # [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)"] @@ -100,56 +100,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -182,42 +182,42 @@ extern "C" { effect: Option<&AnimationEffect>, timeline: Option<&AnimationTimeline>, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "Animation" , js_name = cancel ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AnimationEffect.rs b/crates/web-sys/src/features/gen_AnimationEffect.rs index 199f22c6588..b57dc8ba42f 100644 --- a/crates/web-sys/src/features/gen_AnimationEffect.rs +++ b/crates/web-sys/src/features/gen_AnimationEffect.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnimationEffect , typescript_type = "AnimationEffect" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationEffect , typescript_type = "AnimationEffect")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AnimationEffect` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,14 +20,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -35,7 +35,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AnimationEvent.rs b/crates/web-sys/src/features/gen_AnimationEvent.rs index 993be5975c0..b18d8f91a67 100644 --- a/crates/web-sys/src/features/gen_AnimationEvent.rs +++ b/crates/web-sys/src/features/gen_AnimationEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = AnimationEvent , typescript_type = "AnimationEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = AnimationEvent , typescript_type = "AnimationEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AnimationEvent` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AnimationEventInit.rs b/crates/web-sys/src/features/gen_AnimationEventInit.rs index 4d695f55885..f330a475304 100644 --- a/crates/web-sys/src/features/gen_AnimationEventInit.rs +++ b/crates/web-sys/src/features/gen_AnimationEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnimationEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AnimationEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AnimationPlaybackEvent.rs b/crates/web-sys/src/features/gen_AnimationPlaybackEvent.rs index aedd341e410..336e49a0686 100644 --- a/crates/web-sys/src/features/gen_AnimationPlaybackEvent.rs +++ b/crates/web-sys/src/features/gen_AnimationPlaybackEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = AnimationPlaybackEvent , typescript_type = "AnimationPlaybackEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = AnimationPlaybackEvent , typescript_type = "AnimationPlaybackEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AnimationPlaybackEvent` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "AnimationPlaybackEvent" , js_name = timelineTime ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AnimationPlaybackEventInit.rs b/crates/web-sys/src/features/gen_AnimationPlaybackEventInit.rs index 46ccbbdc058..01eacf19c5b 100644 --- a/crates/web-sys/src/features/gen_AnimationPlaybackEventInit.rs +++ b/crates/web-sys/src/features/gen_AnimationPlaybackEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnimationPlaybackEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationPlaybackEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AnimationPlaybackEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AnimationPropertyDetails.rs b/crates/web-sys/src/features/gen_AnimationPropertyDetails.rs index 9a2c36c9414..7cf81edd992 100644 --- a/crates/web-sys/src/features/gen_AnimationPropertyDetails.rs +++ b/crates/web-sys/src/features/gen_AnimationPropertyDetails.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnimationPropertyDetails ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationPropertyDetails)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AnimationPropertyDetails` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AnimationPropertyValueDetails.rs b/crates/web-sys/src/features/gen_AnimationPropertyValueDetails.rs index 983fc6138c4..71b218c377a 100644 --- a/crates/web-sys/src/features/gen_AnimationPropertyValueDetails.rs +++ b/crates/web-sys/src/features/gen_AnimationPropertyValueDetails.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnimationPropertyValueDetails ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationPropertyValueDetails)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AnimationPropertyValueDetails` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AnimationTimeline.rs b/crates/web-sys/src/features/gen_AnimationTimeline.rs index d6ee1207eb0..33c3fed39c5 100644 --- a/crates/web-sys/src/features/gen_AnimationTimeline.rs +++ b/crates/web-sys/src/features/gen_AnimationTimeline.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnimationTimeline , typescript_type = "AnimationTimeline" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnimationTimeline , typescript_type = "AnimationTimeline")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AnimationTimeline` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AssignedNodesOptions.rs b/crates/web-sys/src/features/gen_AssignedNodesOptions.rs index 6fa0ffbd410..329950ec3a7 100644 --- a/crates/web-sys/src/features/gen_AssignedNodesOptions.rs +++ b/crates/web-sys/src/features/gen_AssignedNodesOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AssignedNodesOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AssignedNodesOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AssignedNodesOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Attr.rs b/crates/web-sys/src/features/gen_Attr.rs index 4945a9c3fab..6948e24279d 100644 --- a/crates/web-sys/src/features/gen_Attr.rs +++ b/crates/web-sys/src/features/gen_Attr.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,49 +11,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Attr" , js_name = prefix ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Attr" , js_name = specified ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AttributeNameValue.rs b/crates/web-sys/src/features/gen_AttributeNameValue.rs index 9f0d7726559..d2088a9edd4 100644 --- a/crates/web-sys/src/features/gen_AttributeNameValue.rs +++ b/crates/web-sys/src/features/gen_AttributeNameValue.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AttributeNameValue ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AttributeNameValue)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AttributeNameValue` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AudioBuffer.rs b/crates/web-sys/src/features/gen_AudioBuffer.rs index ffed9931dcb..7f8851a16fb 100644 --- a/crates/web-sys/src/features/gen_AudioBuffer.rs +++ b/crates/web-sys/src/features/gen_AudioBuffer.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioBuffer , typescript_type = "AudioBuffer" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioBuffer , typescript_type = "AudioBuffer")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioBuffer` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -47,7 +47,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferOptions`*"] pub fn new(options: &AudioBufferOptions) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioBuffer" , js_name = copyFromChannel ) ] + # [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)"] @@ -58,7 +58,7 @@ extern "C" { destination: &mut [f32], channel_number: i32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioBuffer" , js_name = copyFromChannel ) ] + # [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)"] @@ -70,7 +70,7 @@ extern "C" { channel_number: i32, start_in_channel: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioBuffer" , js_name = copyToChannel ) ] + # [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)"] @@ -81,7 +81,7 @@ extern "C" { source: &mut [f32], channel_number: i32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioBuffer" , js_name = copyToChannel ) ] + # [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)"] @@ -93,7 +93,7 @@ extern "C" { channel_number: i32, start_in_channel: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioBuffer" , js_name = getChannelData ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AudioBufferOptions.rs b/crates/web-sys/src/features/gen_AudioBufferOptions.rs index 842a1128264..dfa7f46eda2 100644 --- a/crates/web-sys/src/features/gen_AudioBufferOptions.rs +++ b/crates/web-sys/src/features/gen_AudioBufferOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioBufferOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioBufferOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioBufferOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AudioBufferSourceNode.rs b/crates/web-sys/src/features/gen_AudioBufferSourceNode.rs index 9f7216d156b..e6cd32e1a96 100644 --- a/crates/web-sys/src/features/gen_AudioBufferSourceNode.rs +++ b/crates/web-sys/src/features/gen_AudioBufferSourceNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferSourceNode`*"] pub fn buffer(this: &AudioBufferSourceNode) -> Option; #[cfg(feature = "AudioBuffer")] - # [ wasm_bindgen ( structural , method , setter , js_class = "AudioBufferSourceNode" , js_name = buffer ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,63 +36,63 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -118,21 +118,21 @@ extern "C" { context: &BaseAudioContext, options: &AudioBufferSourceOptions, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -143,7 +143,7 @@ extern "C" { when: f64, grain_offset: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = start ) ] + # [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)"] @@ -155,14 +155,14 @@ extern "C" { grain_offset: f64, grain_duration: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioBufferSourceNode" , js_name = stop ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AudioBufferSourceOptions.rs b/crates/web-sys/src/features/gen_AudioBufferSourceOptions.rs index ec3f23dafa0..45039dba8c5 100644 --- a/crates/web-sys/src/features/gen_AudioBufferSourceOptions.rs +++ b/crates/web-sys/src/features/gen_AudioBufferSourceOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioBufferSourceOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioBufferSourceOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioBufferSourceOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AudioConfiguration.rs b/crates/web-sys/src/features/gen_AudioConfiguration.rs index dd2f7747e30..fbbc0b48447 100644 --- a/crates/web-sys/src/features/gen_AudioConfiguration.rs +++ b/crates/web-sys/src/features/gen_AudioConfiguration.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioConfiguration ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioConfiguration)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioConfiguration` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AudioContext.rs b/crates/web-sys/src/features/gen_AudioContext.rs index 9758a2ffc9a..2fc35092c65 100644 --- a/crates/web-sys/src/features/gen_AudioContext.rs +++ b/crates/web-sys/src/features/gen_AudioContext.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,21 +12,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -50,21 +50,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "AudioContext" , js_name = onstatechange ) ] + # [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 ) ] + # [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)"] @@ -88,7 +88,7 @@ extern "C" { pub fn new_with_context_options( context_options: &AudioContextOptions, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = close ) ] + # [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)"] @@ -96,7 +96,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -107,7 +107,7 @@ extern "C" { media_element: &HtmlMediaElement, ) -> Result; #[cfg(feature = "MediaStreamAudioDestinationNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createMediaStreamDestination ) ] + # [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)"] @@ -117,7 +117,7 @@ extern "C" { this: &AudioContext, ) -> Result; #[cfg(all(feature = "MediaStream", feature = "MediaStreamAudioSourceNode",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createMediaStreamSource ) ] + # [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)"] @@ -127,7 +127,7 @@ extern "C" { this: &AudioContext, media_stream: &MediaStream, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = suspend ) ] + # [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)"] @@ -135,7 +135,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -143,7 +143,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`, `AudioContext`*"] pub fn create_analyser(this: &AudioContext) -> Result; #[cfg(feature = "BiquadFilterNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createBiquadFilter ) ] + # [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)"] @@ -151,7 +151,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `BiquadFilterNode`*"] pub fn create_biquad_filter(this: &AudioContext) -> Result; #[cfg(feature = "AudioBuffer")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createBuffer ) ] + # [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)"] @@ -164,7 +164,7 @@ extern "C" { sample_rate: f32, ) -> Result; #[cfg(feature = "AudioBufferSourceNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createBufferSource ) ] + # [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)"] @@ -172,7 +172,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioContext`*"] pub fn create_buffer_source(this: &AudioContext) -> Result; #[cfg(feature = "ChannelMergerNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createChannelMerger ) ] + # [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)"] @@ -180,7 +180,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ChannelMergerNode`*"] pub fn create_channel_merger(this: &AudioContext) -> Result; #[cfg(feature = "ChannelMergerNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createChannelMerger ) ] + # [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)"] @@ -191,7 +191,7 @@ extern "C" { number_of_inputs: u32, ) -> Result; #[cfg(feature = "ChannelSplitterNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createChannelSplitter ) ] + # [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)"] @@ -199,7 +199,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ChannelSplitterNode`*"] pub fn create_channel_splitter(this: &AudioContext) -> Result; #[cfg(feature = "ChannelSplitterNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createChannelSplitter ) ] + # [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)"] @@ -210,7 +210,7 @@ extern "C" { number_of_outputs: u32, ) -> Result; #[cfg(feature = "ConstantSourceNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createConstantSource ) ] + # [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)"] @@ -218,7 +218,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ConstantSourceNode`*"] pub fn create_constant_source(this: &AudioContext) -> Result; #[cfg(feature = "ConvolverNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createConvolver ) ] + # [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)"] @@ -226,7 +226,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ConvolverNode`*"] pub fn create_convolver(this: &AudioContext) -> Result; #[cfg(feature = "DelayNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createDelay ) ] + # [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)"] @@ -234,7 +234,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `DelayNode`*"] pub fn create_delay(this: &AudioContext) -> Result; #[cfg(feature = "DelayNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createDelay ) ] + # [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)"] @@ -245,7 +245,7 @@ extern "C" { max_delay_time: f64, ) -> Result; #[cfg(feature = "DynamicsCompressorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createDynamicsCompressor ) ] + # [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)"] @@ -255,7 +255,7 @@ extern "C" { this: &AudioContext, ) -> Result; #[cfg(feature = "GainNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createGain ) ] + # [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)"] @@ -263,7 +263,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `GainNode`*"] pub fn create_gain(this: &AudioContext) -> Result; #[cfg(feature = "IirFilterNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createIIRFilter ) ] + # [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)"] @@ -275,7 +275,7 @@ extern "C" { feedback: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "OscillatorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createOscillator ) ] + # [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)"] @@ -283,7 +283,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `OscillatorNode`*"] pub fn create_oscillator(this: &AudioContext) -> Result; #[cfg(feature = "PannerNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createPanner ) ] + # [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)"] @@ -291,7 +291,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `PannerNode`*"] pub fn create_panner(this: &AudioContext) -> Result; #[cfg(feature = "PeriodicWave")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createPeriodicWave ) ] + # [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)"] @@ -303,7 +303,7 @@ extern "C" { imag: &mut [f32], ) -> Result; #[cfg(all(feature = "PeriodicWave", feature = "PeriodicWaveConstraints",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createPeriodicWave ) ] + # [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)"] @@ -316,7 +316,7 @@ extern "C" { constraints: &PeriodicWaveConstraints, ) -> Result; #[cfg(feature = "ScriptProcessorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor ) ] + # [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)"] @@ -324,7 +324,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*"] pub fn create_script_processor(this: &AudioContext) -> Result; #[cfg(feature = "ScriptProcessorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor ) ] + # [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)"] @@ -335,7 +335,7 @@ extern "C" { buffer_size: u32, ) -> Result; #[cfg(feature = "ScriptProcessorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor ) ] + # [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)"] @@ -347,7 +347,7 @@ extern "C" { number_of_input_channels: u32, ) -> Result; #[cfg(feature = "ScriptProcessorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createScriptProcessor ) ] + # [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)"] @@ -360,7 +360,7 @@ extern "C" { number_of_output_channels: u32, ) -> Result; #[cfg(feature = "StereoPannerNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createStereoPanner ) ] + # [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)"] @@ -368,14 +368,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioContext`, `StereoPannerNode`*"] pub fn create_stereo_panner(this: &AudioContext) -> Result; #[cfg(feature = "WaveShaperNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = createWaveShaper ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = decodeAudioData ) ] + # [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)"] @@ -385,7 +385,7 @@ extern "C" { this: &AudioContext, audio_data: &::js_sys::ArrayBuffer, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioContext" , js_name = decodeAudioData ) ] + # [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)"] @@ -396,7 +396,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -408,7 +408,7 @@ extern "C" { 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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AudioContextOptions.rs b/crates/web-sys/src/features/gen_AudioContextOptions.rs index b273a6adf7a..490a87c77f8 100644 --- a/crates/web-sys/src/features/gen_AudioContextOptions.rs +++ b/crates/web-sys/src/features/gen_AudioContextOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioContextOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioContextOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioContextOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AudioDestinationNode.rs b/crates/web-sys/src/features/gen_AudioDestinationNode.rs index 2faeb8bdd6e..a6f79cffcdf 100644 --- a/crates/web-sys/src/features/gen_AudioDestinationNode.rs +++ b/crates/web-sys/src/features/gen_AudioDestinationNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AudioListener.rs b/crates/web-sys/src/features/gen_AudioListener.rs index 594dda8c0e9..1dfdfbeea01 100644 --- a/crates/web-sys/src/features/gen_AudioListener.rs +++ b/crates/web-sys/src/features/gen_AudioListener.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioListener , typescript_type = "AudioListener" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioListener , typescript_type = "AudioListener")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioListener` class."] #[doc = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -54,14 +54,14 @@ extern "C" { y_up: f64, z_up: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "AudioListener" , js_name = setPosition ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AudioNode.rs b/crates/web-sys/src/features/gen_AudioNode.rs index ac4dd8aa5e9..bec7aa9393e 100644 --- a/crates/web-sys/src/features/gen_AudioNode.rs +++ b/crates/web-sys/src/features/gen_AudioNode.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioNode , typescript_type = "AudioNode" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioNode , typescript_type = "AudioNode")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioNode` class."] #[doc = ""] @@ -12,35 +12,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -48,7 +48,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -56,7 +56,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -64,7 +64,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -72,14 +72,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -89,7 +89,7 @@ extern "C" { this: &AudioNode, destination: &AudioNode, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = connect ) ] + # [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)"] @@ -100,7 +100,7 @@ extern "C" { destination: &AudioNode, output: u32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = connect ) ] + # [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)"] @@ -113,7 +113,7 @@ extern "C" { input: u32, ) -> Result; #[cfg(feature = "AudioParam")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = connect ) ] + # [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)"] @@ -124,7 +124,7 @@ extern "C" { destination: &AudioParam, ) -> Result<(), JsValue>; #[cfg(feature = "AudioParam")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = connect ) ] + # [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)"] @@ -135,21 +135,21 @@ extern "C" { destination: &AudioParam, output: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = disconnect ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -159,7 +159,7 @@ extern "C" { this: &AudioNode, destination: &AudioNode, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = disconnect ) ] + # [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)"] @@ -170,7 +170,7 @@ extern "C" { destination: &AudioNode, output: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = disconnect ) ] + # [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)"] @@ -183,7 +183,7 @@ extern "C" { input: u32, ) -> Result<(), JsValue>; #[cfg(feature = "AudioParam")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = disconnect ) ] + # [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)"] @@ -194,7 +194,7 @@ extern "C" { destination: &AudioParam, ) -> Result<(), JsValue>; #[cfg(feature = "AudioParam")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioNode" , js_name = disconnect ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AudioNodeOptions.rs b/crates/web-sys/src/features/gen_AudioNodeOptions.rs index 3f97b3d6a9c..646fdc111cf 100644 --- a/crates/web-sys/src/features/gen_AudioNodeOptions.rs +++ b/crates/web-sys/src/features/gen_AudioNodeOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioNodeOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioNodeOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioNodeOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AudioParam.rs b/crates/web-sys/src/features/gen_AudioParam.rs index c7fd7ccb67e..6cd0e1cd6b7 100644 --- a/crates/web-sys/src/features/gen_AudioParam.rs +++ b/crates/web-sys/src/features/gen_AudioParam.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioParam , typescript_type = "AudioParam" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioParam , typescript_type = "AudioParam")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioParam` class."] #[doc = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -56,7 +56,7 @@ extern "C" { this: &AudioParam, start_time: f64, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioParam" , js_name = exponentialRampToValueAtTime ) ] + # [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)"] @@ -67,7 +67,7 @@ extern "C" { value: f32, end_time: f64, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioParam" , js_name = linearRampToValueAtTime ) ] + # [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)"] @@ -78,7 +78,7 @@ extern "C" { value: f32, end_time: f64, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioParam" , js_name = setTargetAtTime ) ] + # [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)"] @@ -90,7 +90,7 @@ extern "C" { start_time: f64, time_constant: f64, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioParam" , js_name = setValueAtTime ) ] + # [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)"] @@ -101,7 +101,7 @@ extern "C" { value: f32, start_time: f64, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioParam" , js_name = setValueCurveAtTime ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AudioParamMap.rs b/crates/web-sys/src/features/gen_AudioParamMap.rs index 224e0c39789..02c3953081d 100644 --- a/crates/web-sys/src/features/gen_AudioParamMap.rs +++ b/crates/web-sys/src/features/gen_AudioParamMap.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioParamMap , typescript_type = "AudioParamMap" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioParamMap , typescript_type = "AudioParamMap")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioParamMap` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AudioProcessingEvent.rs b/crates/web-sys/src/features/gen_AudioProcessingEvent.rs index e8f547e818b..e1ed4bb018c 100644 --- a/crates/web-sys/src/features/gen_AudioProcessingEvent.rs +++ b/crates/web-sys/src/features/gen_AudioProcessingEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = AudioProcessingEvent , typescript_type = "AudioProcessingEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = AudioProcessingEvent , typescript_type = "AudioProcessingEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioProcessingEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `AudioProcessingEvent`*"] pub fn input_buffer(this: &AudioProcessingEvent) -> Result; #[cfg(feature = "AudioBuffer")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "AudioProcessingEvent" , js_name = outputBuffer ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AudioScheduledSourceNode.rs b/crates/web-sys/src/features/gen_AudioScheduledSourceNode.rs index 90d5f01ea8b..5c18efeed31 100644 --- a/crates/web-sys/src/features/gen_AudioScheduledSourceNode.rs +++ b/crates/web-sys/src/features/gen_AudioScheduledSourceNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -13,7 +13,7 @@ extern "C" { #[deprecated(note = "doesn't exist in Safari, use parent class methods instead")] pub type AudioScheduledSourceNode; #[deprecated(note = "doesn't exist in Safari, use parent class methods instead")] - # [ wasm_bindgen ( structural , method , getter , js_class = "AudioScheduledSourceNode" , js_name = onended ) ] + # [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)"] @@ -21,7 +21,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"] pub fn onended(this: &AudioScheduledSourceNode) -> Option<::js_sys::Function>; #[deprecated(note = "doesn't exist in Safari, use parent class methods instead")] - # [ wasm_bindgen ( structural , method , setter , js_class = "AudioScheduledSourceNode" , js_name = onended ) ] + # [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)"] @@ -29,7 +29,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"] pub fn set_onended(this: &AudioScheduledSourceNode, value: Option<&::js_sys::Function>); #[deprecated(note = "doesn't exist in Safari, use parent class methods instead")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = start ) ] + # [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)"] @@ -37,7 +37,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"] pub fn start(this: &AudioScheduledSourceNode) -> Result<(), JsValue>; #[deprecated(note = "doesn't exist in Safari, use parent class methods instead")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = start ) ] + # [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)"] @@ -45,7 +45,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"] pub fn start_with_when(this: &AudioScheduledSourceNode, when: f64) -> Result<(), JsValue>; #[deprecated(note = "doesn't exist in Safari, use parent class methods instead")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = stop ) ] + # [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)"] @@ -53,7 +53,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"] pub fn stop(this: &AudioScheduledSourceNode) -> Result<(), JsValue>; #[deprecated(note = "doesn't exist in Safari, use parent class methods instead")] - # [ wasm_bindgen ( catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = stop ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AudioStreamTrack.rs b/crates/web-sys/src/features/gen_AudioStreamTrack.rs index 4e9f21ebbf5..3c6eed63102 100644 --- a/crates/web-sys/src/features/gen_AudioStreamTrack.rs +++ b/crates/web-sys/src/features/gen_AudioStreamTrack.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_AudioTrack.rs b/crates/web-sys/src/features/gen_AudioTrack.rs index a0f55785ed9..5dc892a17c3 100644 --- a/crates/web-sys/src/features/gen_AudioTrack.rs +++ b/crates/web-sys/src/features/gen_AudioTrack.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioTrack , typescript_type = "AudioTrack" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioTrack , typescript_type = "AudioTrack")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioTrack` class."] #[doc = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AudioTrackList.rs b/crates/web-sys/src/features/gen_AudioTrackList.rs index 3b6c193800a..44632432c6c 100644 --- a/crates/web-sys/src/features/gen_AudioTrackList.rs +++ b/crates/web-sys/src/features/gen_AudioTrackList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioTrackList , typescript_type = "AudioTrackList" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = AudioTrackList , typescript_type = "AudioTrackList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioTrackList` class."] #[doc = ""] @@ -11,49 +11,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -61,7 +61,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AudioWorklet.rs b/crates/web-sys/src/features/gen_AudioWorklet.rs index 319cabefd9f..c160c5004a2 100644 --- a/crates/web-sys/src/features/gen_AudioWorklet.rs +++ b/crates/web-sys/src/features/gen_AudioWorklet.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Worklet , extends = :: js_sys :: Object , js_name = AudioWorklet , typescript_type = "AudioWorklet" ) ] + # [wasm_bindgen (extends = Worklet , extends = :: js_sys :: Object , js_name = AudioWorklet , typescript_type = "AudioWorklet")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioWorklet` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AudioWorkletGlobalScope.rs b/crates/web-sys/src/features/gen_AudioWorkletGlobalScope.rs index 857487324f7..4057aeaa10a 100644 --- a/crates/web-sys/src/features/gen_AudioWorkletGlobalScope.rs +++ b/crates/web-sys/src/features/gen_AudioWorkletGlobalScope.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = WorkletGlobalScope , extends = :: js_sys :: Object , js_name = AudioWorkletGlobalScope , typescript_type = "AudioWorkletGlobalScope" ) ] + # [wasm_bindgen (extends = WorkletGlobalScope , extends = :: js_sys :: Object , js_name = AudioWorkletGlobalScope , typescript_type = "AudioWorkletGlobalScope")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioWorkletGlobalScope` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AudioWorkletNode.rs b/crates/web-sys/src/features/gen_AudioWorkletNode.rs index 8aeacd4cf8c..989bab54453 100644 --- a/crates/web-sys/src/features/gen_AudioWorkletNode.rs +++ b/crates/web-sys/src/features/gen_AudioWorkletNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,21 +20,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`, `AudioWorkletNode`*"] pub fn parameters(this: &AudioWorkletNode) -> Result; #[cfg(feature = "MessagePort")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "AudioWorkletNode" , js_name = port ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "AudioWorkletNode" , js_name = onprocessorerror ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AudioWorkletNodeOptions.rs b/crates/web-sys/src/features/gen_AudioWorkletNodeOptions.rs index 6bf4efe7807..73e03b6ffa6 100644 --- a/crates/web-sys/src/features/gen_AudioWorkletNodeOptions.rs +++ b/crates/web-sys/src/features/gen_AudioWorkletNodeOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioWorkletNodeOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioWorkletNodeOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioWorkletNodeOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AudioWorkletProcessor.rs b/crates/web-sys/src/features/gen_AudioWorkletProcessor.rs index 51896ed8711..8a537cd1acb 100644 --- a/crates/web-sys/src/features/gen_AudioWorkletProcessor.rs +++ b/crates/web-sys/src/features/gen_AudioWorkletProcessor.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AudioWorkletProcessor , typescript_type = "AudioWorkletProcessor" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioWorkletProcessor , typescript_type = "AudioWorkletProcessor")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AudioWorkletProcessor` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AuthenticationExtensionsClientInputs.rs b/crates/web-sys/src/features/gen_AuthenticationExtensionsClientInputs.rs index 4cac529cee1..0645652af02 100644 --- a/crates/web-sys/src/features/gen_AuthenticationExtensionsClientInputs.rs +++ b/crates/web-sys/src/features/gen_AuthenticationExtensionsClientInputs.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AuthenticationExtensionsClientInputs ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AuthenticationExtensionsClientInputs)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AuthenticationExtensionsClientInputs` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AuthenticationExtensionsClientOutputs.rs b/crates/web-sys/src/features/gen_AuthenticationExtensionsClientOutputs.rs index 2074dd512b0..585662a6c4f 100644 --- a/crates/web-sys/src/features/gen_AuthenticationExtensionsClientOutputs.rs +++ b/crates/web-sys/src/features/gen_AuthenticationExtensionsClientOutputs.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AuthenticationExtensionsClientOutputs ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AuthenticationExtensionsClientOutputs)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AuthenticationExtensionsClientOutputs` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AuthenticatorAssertionResponse.rs b/crates/web-sys/src/features/gen_AuthenticatorAssertionResponse.rs index 4ba681a2a50..dd6e10e7f5f 100644 --- a/crates/web-sys/src/features/gen_AuthenticatorAssertionResponse.rs +++ b/crates/web-sys/src/features/gen_AuthenticatorAssertionResponse.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = AuthenticatorResponse , extends = :: js_sys :: Object , js_name = AuthenticatorAssertionResponse , typescript_type = "AuthenticatorAssertionResponse" ) ] + # [wasm_bindgen (extends = AuthenticatorResponse , extends = :: js_sys :: Object , js_name = AuthenticatorAssertionResponse , typescript_type = "AuthenticatorAssertionResponse")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AuthenticatorAssertionResponse` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AuthenticatorAttestationResponse.rs b/crates/web-sys/src/features/gen_AuthenticatorAttestationResponse.rs index 8a5a3ebf87e..364ebc23bd5 100644 --- a/crates/web-sys/src/features/gen_AuthenticatorAttestationResponse.rs +++ b/crates/web-sys/src/features/gen_AuthenticatorAttestationResponse.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = AuthenticatorResponse , extends = :: js_sys :: Object , js_name = AuthenticatorAttestationResponse , typescript_type = "AuthenticatorAttestationResponse" ) ] + # [wasm_bindgen (extends = AuthenticatorResponse , extends = :: js_sys :: Object , js_name = AuthenticatorAttestationResponse , typescript_type = "AuthenticatorAttestationResponse")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AuthenticatorAttestationResponse` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AuthenticatorResponse.rs b/crates/web-sys/src/features/gen_AuthenticatorResponse.rs index f606d360d07..2aa5468b2d8 100644 --- a/crates/web-sys/src/features/gen_AuthenticatorResponse.rs +++ b/crates/web-sys/src/features/gen_AuthenticatorResponse.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AuthenticatorResponse , typescript_type = "AuthenticatorResponse" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AuthenticatorResponse , typescript_type = "AuthenticatorResponse")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AuthenticatorResponse` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_AuthenticatorSelectionCriteria.rs b/crates/web-sys/src/features/gen_AuthenticatorSelectionCriteria.rs index c0c2b8605ea..10fd6b260d4 100644 --- a/crates/web-sys/src/features/gen_AuthenticatorSelectionCriteria.rs +++ b/crates/web-sys/src/features/gen_AuthenticatorSelectionCriteria.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AuthenticatorSelectionCriteria ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AuthenticatorSelectionCriteria)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AuthenticatorSelectionCriteria` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_AutocompleteInfo.rs b/crates/web-sys/src/features/gen_AutocompleteInfo.rs index 7bed47c3662..f2b1b665a40 100644 --- a/crates/web-sys/src/features/gen_AutocompleteInfo.rs +++ b/crates/web-sys/src/features/gen_AutocompleteInfo.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AutocompleteInfo ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AutocompleteInfo)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `AutocompleteInfo` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_BarProp.rs b/crates/web-sys/src/features/gen_BarProp.rs index 6e0ddd4507c..de029dcbcff 100644 --- a/crates/web-sys/src/features/gen_BarProp.rs +++ b/crates/web-sys/src/features/gen_BarProp.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BarProp , typescript_type = "BarProp" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BarProp , typescript_type = "BarProp")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BarProp` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "BarProp" , js_name = visible ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_BaseAudioContext.rs b/crates/web-sys/src/features/gen_BaseAudioContext.rs index 3ce91151a4a..4fa90216942 100644 --- a/crates/web-sys/src/features/gen_BaseAudioContext.rs +++ b/crates/web-sys/src/features/gen_BaseAudioContext.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = BaseAudioContext , typescript_type = "BaseAudioContext" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = BaseAudioContext , typescript_type = "BaseAudioContext")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BaseAudioContext` class."] #[doc = ""] @@ -14,7 +14,7 @@ extern "C" { pub type BaseAudioContext; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "AudioDestinationNode")] - # [ wasm_bindgen ( structural , method , getter , js_class = "BaseAudioContext" , js_name = destination ) ] + # [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)"] @@ -22,7 +22,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioDestinationNode`, `BaseAudioContext`*"] pub fn destination(this: &BaseAudioContext) -> AudioDestinationNode; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] - # [ wasm_bindgen ( structural , method , getter , js_class = "BaseAudioContext" , js_name = sampleRate ) ] + # [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)"] @@ -30,7 +30,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`*"] pub fn sample_rate(this: &BaseAudioContext) -> f32; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] - # [ wasm_bindgen ( structural , method , getter , js_class = "BaseAudioContext" , js_name = currentTime ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { pub fn current_time(this: &BaseAudioContext) -> f64; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "AudioListener")] - # [ wasm_bindgen ( structural , method , getter , js_class = "BaseAudioContext" , js_name = listener ) ] + # [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)"] @@ -48,7 +48,7 @@ extern "C" { pub fn listener(this: &BaseAudioContext) -> AudioListener; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "AudioContextState")] - # [ wasm_bindgen ( structural , method , getter , js_class = "BaseAudioContext" , js_name = state ) ] + # [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)"] @@ -57,7 +57,7 @@ extern "C" { pub fn state(this: &BaseAudioContext) -> AudioContextState; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "AudioWorklet")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "BaseAudioContext" , js_name = 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)"] @@ -65,7 +65,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioWorklet`, `BaseAudioContext`*"] pub fn audio_worklet(this: &BaseAudioContext) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] - # [ wasm_bindgen ( structural , method , getter , js_class = "BaseAudioContext" , js_name = onstatechange ) ] + # [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)"] @@ -73,7 +73,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`*"] pub fn onstatechange(this: &BaseAudioContext) -> Option<::js_sys::Function>; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] - # [ wasm_bindgen ( structural , method , setter , js_class = "BaseAudioContext" , js_name = onstatechange ) ] + # [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)"] @@ -82,7 +82,7 @@ extern "C" { pub fn set_onstatechange(this: &BaseAudioContext, value: Option<&::js_sys::Function>); #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "AnalyserNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createAnalyser ) ] + # [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)"] @@ -91,7 +91,7 @@ extern "C" { pub fn create_analyser(this: &BaseAudioContext) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "BiquadFilterNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createBiquadFilter ) ] + # [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)"] @@ -100,7 +100,7 @@ extern "C" { pub fn create_biquad_filter(this: &BaseAudioContext) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "AudioBuffer")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createBuffer ) ] + # [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)"] @@ -114,7 +114,7 @@ extern "C" { ) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "AudioBufferSourceNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createBufferSource ) ] + # [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)"] @@ -123,7 +123,7 @@ extern "C" { pub fn create_buffer_source(this: &BaseAudioContext) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "ChannelMergerNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelMerger ) ] + # [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)"] @@ -132,7 +132,7 @@ extern "C" { pub fn create_channel_merger(this: &BaseAudioContext) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "ChannelMergerNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelMerger ) ] + # [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)"] @@ -144,7 +144,7 @@ extern "C" { ) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "ChannelSplitterNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelSplitter ) ] + # [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)"] @@ -154,7 +154,7 @@ extern "C" { -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "ChannelSplitterNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createChannelSplitter ) ] + # [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)"] @@ -166,7 +166,7 @@ extern "C" { ) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "ConstantSourceNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createConstantSource ) ] + # [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)"] @@ -175,7 +175,7 @@ extern "C" { pub fn create_constant_source(this: &BaseAudioContext) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "ConvolverNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createConvolver ) ] + # [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)"] @@ -184,7 +184,7 @@ extern "C" { pub fn create_convolver(this: &BaseAudioContext) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "DelayNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createDelay ) ] + # [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)"] @@ -193,7 +193,7 @@ extern "C" { pub fn create_delay(this: &BaseAudioContext) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "DelayNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createDelay ) ] + # [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)"] @@ -205,7 +205,7 @@ extern "C" { ) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "DynamicsCompressorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createDynamicsCompressor ) ] + # [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)"] @@ -216,7 +216,7 @@ extern "C" { ) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "GainNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createGain ) ] + # [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)"] @@ -225,7 +225,7 @@ extern "C" { pub fn create_gain(this: &BaseAudioContext) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "IirFilterNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createIIRFilter ) ] + # [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)"] @@ -238,7 +238,7 @@ extern "C" { ) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "OscillatorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createOscillator ) ] + # [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)"] @@ -247,7 +247,7 @@ extern "C" { pub fn create_oscillator(this: &BaseAudioContext) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "PannerNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createPanner ) ] + # [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)"] @@ -256,7 +256,7 @@ extern "C" { pub fn create_panner(this: &BaseAudioContext) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "PeriodicWave")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createPeriodicWave ) ] + # [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)"] @@ -269,7 +269,7 @@ extern "C" { ) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(all(feature = "PeriodicWave", feature = "PeriodicWaveConstraints",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createPeriodicWave ) ] + # [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)"] @@ -283,7 +283,7 @@ extern "C" { ) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "ScriptProcessorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor ) ] + # [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)"] @@ -293,7 +293,7 @@ extern "C" { -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "ScriptProcessorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor ) ] + # [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)"] @@ -305,7 +305,7 @@ extern "C" { ) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "ScriptProcessorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor ) ] + # [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)"] @@ -318,7 +318,7 @@ extern "C" { ) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "ScriptProcessorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createScriptProcessor ) ] + # [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)"] @@ -332,7 +332,7 @@ extern "C" { ) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "StereoPannerNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createStereoPanner ) ] + # [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)"] @@ -341,7 +341,7 @@ extern "C" { pub fn create_stereo_panner(this: &BaseAudioContext) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] #[cfg(feature = "WaveShaperNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = createWaveShaper ) ] + # [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)"] @@ -349,7 +349,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `BaseAudioContext`, `WaveShaperNode`*"] pub fn create_wave_shaper(this: &BaseAudioContext) -> Result; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = decodeAudioData ) ] + # [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)"] @@ -360,7 +360,7 @@ extern "C" { audio_data: &::js_sys::ArrayBuffer, ) -> Result<::js_sys::Promise, JsValue>; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = decodeAudioData ) ] + # [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)"] @@ -372,7 +372,7 @@ extern "C" { success_callback: &::js_sys::Function, ) -> Result<::js_sys::Promise, JsValue>; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = decodeAudioData ) ] + # [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)"] @@ -385,7 +385,7 @@ extern "C" { error_callback: &::js_sys::Function, ) -> Result<::js_sys::Promise, JsValue>; #[deprecated(note = "doesn't exist in Safari, use `AudioContext` instead now")] - # [ wasm_bindgen ( catch , method , structural , js_class = "BaseAudioContext" , js_name = resume ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_BaseComputedKeyframe.rs b/crates/web-sys/src/features/gen_BaseComputedKeyframe.rs index 7ee0edbd2c7..651cf45a4da 100644 --- a/crates/web-sys/src/features/gen_BaseComputedKeyframe.rs +++ b/crates/web-sys/src/features/gen_BaseComputedKeyframe.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BaseComputedKeyframe ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BaseComputedKeyframe)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BaseComputedKeyframe` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_BaseKeyframe.rs b/crates/web-sys/src/features/gen_BaseKeyframe.rs index 95a7d58c710..a49f6ced319 100644 --- a/crates/web-sys/src/features/gen_BaseKeyframe.rs +++ b/crates/web-sys/src/features/gen_BaseKeyframe.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BaseKeyframe ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BaseKeyframe)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BaseKeyframe` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_BasePropertyIndexedKeyframe.rs b/crates/web-sys/src/features/gen_BasePropertyIndexedKeyframe.rs index d7f692e25d8..a3e42da9920 100644 --- a/crates/web-sys/src/features/gen_BasePropertyIndexedKeyframe.rs +++ b/crates/web-sys/src/features/gen_BasePropertyIndexedKeyframe.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BasePropertyIndexedKeyframe ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BasePropertyIndexedKeyframe)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BasePropertyIndexedKeyframe` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_BasicCardRequest.rs b/crates/web-sys/src/features/gen_BasicCardRequest.rs index cb23ff87159..8b3bf23f300 100644 --- a/crates/web-sys/src/features/gen_BasicCardRequest.rs +++ b/crates/web-sys/src/features/gen_BasicCardRequest.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BasicCardRequest ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BasicCardRequest)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BasicCardRequest` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_BasicCardResponse.rs b/crates/web-sys/src/features/gen_BasicCardResponse.rs index de28f4e184c..b005d718c06 100644 --- a/crates/web-sys/src/features/gen_BasicCardResponse.rs +++ b/crates/web-sys/src/features/gen_BasicCardResponse.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BasicCardResponse ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BasicCardResponse)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BasicCardResponse` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_BatteryManager.rs b/crates/web-sys/src/features/gen_BatteryManager.rs index 62cf52517cd..1098d5c1ff4 100644 --- a/crates/web-sys/src/features/gen_BatteryManager.rs +++ b/crates/web-sys/src/features/gen_BatteryManager.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = BatteryManager , typescript_type = "BatteryManager" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = BatteryManager , typescript_type = "BatteryManager")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BatteryManager` class."] #[doc = ""] @@ -11,84 +11,84 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_BeforeUnloadEvent.rs b/crates/web-sys/src/features/gen_BeforeUnloadEvent.rs index e758cb33e20..981323ed0ae 100644 --- a/crates/web-sys/src/features/gen_BeforeUnloadEvent.rs +++ b/crates/web-sys/src/features/gen_BeforeUnloadEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = BeforeUnloadEvent , typescript_type = "BeforeUnloadEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = BeforeUnloadEvent , typescript_type = "BeforeUnloadEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BeforeUnloadEvent` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_BiquadFilterNode.rs b/crates/web-sys/src/features/gen_BiquadFilterNode.rs index 75ed5a2e18a..5c0dd01b70c 100644 --- a/crates/web-sys/src/features/gen_BiquadFilterNode.rs +++ b/crates/web-sys/src/features/gen_BiquadFilterNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -78,7 +78,7 @@ extern "C" { context: &BaseAudioContext, options: &BiquadFilterOptions, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "BiquadFilterNode" , js_name = getFrequencyResponse ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_BiquadFilterOptions.rs b/crates/web-sys/src/features/gen_BiquadFilterOptions.rs index d1858961e8f..ce3a101b192 100644 --- a/crates/web-sys/src/features/gen_BiquadFilterOptions.rs +++ b/crates/web-sys/src/features/gen_BiquadFilterOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BiquadFilterOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BiquadFilterOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BiquadFilterOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Blob.rs b/crates/web-sys/src/features/gen_Blob.rs index 04d176cd88b..3300b57d67c 100644 --- a/crates/web-sys/src/features/gen_Blob.rs +++ b/crates/web-sys/src/features/gen_Blob.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Blob , typescript_type = "Blob" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Blob , typescript_type = "Blob")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Blob` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -108,63 +108,63 @@ extern "C" { blob_parts: &::wasm_bindgen::JsValue, options: &BlobPropertyBag, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "Blob" , js_name = arrayBuffer ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ] + # [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)"] @@ -176,7 +176,7 @@ extern "C" { end: i32, content_type: &str, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ] + # [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)"] @@ -188,7 +188,7 @@ extern "C" { end: i32, content_type: &str, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ] + # [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)"] @@ -200,7 +200,7 @@ extern "C" { end: f64, content_type: &str, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Blob" , js_name = slice ) ] + # [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)"] @@ -213,14 +213,14 @@ extern "C" { content_type: &str, ) -> Result; #[cfg(feature = "ReadableStream")] - # [ wasm_bindgen ( method , structural , js_class = "Blob" , js_name = stream ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_BlobEvent.rs b/crates/web-sys/src/features/gen_BlobEvent.rs index 7fa0509fa54..2274dde0eb4 100644 --- a/crates/web-sys/src/features/gen_BlobEvent.rs +++ b/crates/web-sys/src/features/gen_BlobEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = BlobEvent , typescript_type = "BlobEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = BlobEvent , typescript_type = "BlobEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BlobEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_BlobEventInit.rs b/crates/web-sys/src/features/gen_BlobEventInit.rs index 549331dd99b..5ed32357972 100644 --- a/crates/web-sys/src/features/gen_BlobEventInit.rs +++ b/crates/web-sys/src/features/gen_BlobEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BlobEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BlobEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BlobEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_BlobPropertyBag.rs b/crates/web-sys/src/features/gen_BlobPropertyBag.rs index d6155e5a3e9..d4d3edf4099 100644 --- a/crates/web-sys/src/features/gen_BlobPropertyBag.rs +++ b/crates/web-sys/src/features/gen_BlobPropertyBag.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BlobPropertyBag ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BlobPropertyBag)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BlobPropertyBag` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_BlockParsingOptions.rs b/crates/web-sys/src/features/gen_BlockParsingOptions.rs index acafb8aa384..54cd8aa27d0 100644 --- a/crates/web-sys/src/features/gen_BlockParsingOptions.rs +++ b/crates/web-sys/src/features/gen_BlockParsingOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BlockParsingOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BlockParsingOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BlockParsingOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_BoxQuadOptions.rs b/crates/web-sys/src/features/gen_BoxQuadOptions.rs index 32b2988888b..1b857d9860d 100644 --- a/crates/web-sys/src/features/gen_BoxQuadOptions.rs +++ b/crates/web-sys/src/features/gen_BoxQuadOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BoxQuadOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BoxQuadOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BoxQuadOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_BroadcastChannel.rs b/crates/web-sys/src/features/gen_BroadcastChannel.rs index 58f76d1d0e0..1706b659e40 100644 --- a/crates/web-sys/src/features/gen_BroadcastChannel.rs +++ b/crates/web-sys/src/features/gen_BroadcastChannel.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = BroadcastChannel , typescript_type = "BroadcastChannel" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = BroadcastChannel , typescript_type = "BroadcastChannel")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BroadcastChannel` class."] #[doc = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -53,14 +53,14 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `BroadcastChannel`*"] pub fn new(channel: &str) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "BroadcastChannel" , js_name = close ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_BrowserElementDownloadOptions.rs b/crates/web-sys/src/features/gen_BrowserElementDownloadOptions.rs index 114117ef34e..3b6eda720c7 100644 --- a/crates/web-sys/src/features/gen_BrowserElementDownloadOptions.rs +++ b/crates/web-sys/src/features/gen_BrowserElementDownloadOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BrowserElementDownloadOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BrowserElementDownloadOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BrowserElementDownloadOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_BrowserElementExecuteScriptOptions.rs b/crates/web-sys/src/features/gen_BrowserElementExecuteScriptOptions.rs index 5aa7768cfbf..bffc159f977 100644 --- a/crates/web-sys/src/features/gen_BrowserElementExecuteScriptOptions.rs +++ b/crates/web-sys/src/features/gen_BrowserElementExecuteScriptOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BrowserElementExecuteScriptOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BrowserElementExecuteScriptOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BrowserElementExecuteScriptOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_BrowserFeedWriter.rs b/crates/web-sys/src/features/gen_BrowserFeedWriter.rs index 4bbdcc3c297..8e0ad3646b1 100644 --- a/crates/web-sys/src/features/gen_BrowserFeedWriter.rs +++ b/crates/web-sys/src/features/gen_BrowserFeedWriter.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = BrowserFeedWriter , typescript_type = "BrowserFeedWriter" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = BrowserFeedWriter , typescript_type = "BrowserFeedWriter")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `BrowserFeedWriter` class."] #[doc = ""] @@ -18,14 +18,14 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `BrowserFeedWriter`*"] pub fn new() -> Result; - # [ wasm_bindgen ( method , structural , js_class = "BrowserFeedWriter" , js_name = close ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Cache.rs b/crates/web-sys/src/features/gen_Cache.rs index 6331190d232..3526097c0f8 100644 --- a/crates/web-sys/src/features/gen_Cache.rs +++ b/crates/web-sys/src/features/gen_Cache.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Cache , typescript_type = "Cache" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Cache , typescript_type = "Cache")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Cache` class."] #[doc = ""] @@ -12,21 +12,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { this: &Cache, requests: &::wasm_bindgen::JsValue, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = addAll ) ] + # [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)"] @@ -47,14 +47,14 @@ extern "C" { requests: &::wasm_bindgen::JsValue, ) -> ::js_sys::Promise; #[cfg(feature = "Request")] - # [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = delete ) ] + # [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 ) ] + # [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)"] @@ -62,7 +62,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -74,7 +74,7 @@ extern "C" { options: &CacheQueryOptions, ) -> ::js_sys::Promise; #[cfg(feature = "CacheQueryOptions")] - # [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = delete ) ] + # [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)"] @@ -85,7 +85,7 @@ extern "C" { request: &str, options: &CacheQueryOptions, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = keys ) ] + # [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)"] @@ -93,14 +93,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -108,7 +108,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -120,7 +120,7 @@ extern "C" { options: &CacheQueryOptions, ) -> ::js_sys::Promise; #[cfg(feature = "CacheQueryOptions")] - # [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = keys ) ] + # [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)"] @@ -132,14 +132,14 @@ extern "C" { options: &CacheQueryOptions, ) -> ::js_sys::Promise; #[cfg(feature = "Request")] - # [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = match ) ] + # [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 ) ] + # [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)"] @@ -147,7 +147,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -159,7 +159,7 @@ extern "C" { options: &CacheQueryOptions, ) -> ::js_sys::Promise; #[cfg(feature = "CacheQueryOptions")] - # [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = match ) ] + # [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)"] @@ -170,7 +170,7 @@ extern "C" { request: &str, options: &CacheQueryOptions, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = matchAll ) ] + # [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)"] @@ -178,14 +178,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -193,7 +193,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -205,7 +205,7 @@ extern "C" { options: &CacheQueryOptions, ) -> ::js_sys::Promise; #[cfg(feature = "CacheQueryOptions")] - # [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = matchAll ) ] + # [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)"] @@ -217,7 +217,7 @@ extern "C" { options: &CacheQueryOptions, ) -> ::js_sys::Promise; #[cfg(all(feature = "Request", feature = "Response",))] - # [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = put ) ] + # [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)"] @@ -229,7 +229,7 @@ extern "C" { response: &Response, ) -> ::js_sys::Promise; #[cfg(feature = "Response")] - # [ wasm_bindgen ( method , structural , js_class = "Cache" , js_name = put ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CacheBatchOperation.rs b/crates/web-sys/src/features/gen_CacheBatchOperation.rs index aee10c7ffc8..8da1dbdf213 100644 --- a/crates/web-sys/src/features/gen_CacheBatchOperation.rs +++ b/crates/web-sys/src/features/gen_CacheBatchOperation.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CacheBatchOperation ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CacheBatchOperation)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CacheBatchOperation` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_CacheQueryOptions.rs b/crates/web-sys/src/features/gen_CacheQueryOptions.rs index dd2ed077fa0..f83e7b8cf50 100644 --- a/crates/web-sys/src/features/gen_CacheQueryOptions.rs +++ b/crates/web-sys/src/features/gen_CacheQueryOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CacheQueryOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CacheQueryOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CacheQueryOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_CacheStorage.rs b/crates/web-sys/src/features/gen_CacheStorage.rs index 936502ff9f7..46e9a8b572b 100644 --- a/crates/web-sys/src/features/gen_CacheStorage.rs +++ b/crates/web-sys/src/features/gen_CacheStorage.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CacheStorage , typescript_type = "CacheStorage" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CacheStorage , typescript_type = "CacheStorage")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CacheStorage` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -33,14 +33,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -48,7 +48,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { options: &CacheQueryOptions, ) -> ::js_sys::Promise; #[cfg(feature = "CacheQueryOptions")] - # [ wasm_bindgen ( method , structural , js_class = "CacheStorage" , js_name = match ) ] + # [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)"] @@ -71,7 +71,7 @@ extern "C" { request: &str, options: &CacheQueryOptions, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "CacheStorage" , js_name = open ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CanvasCaptureMediaStream.rs b/crates/web-sys/src/features/gen_CanvasCaptureMediaStream.rs index e9e76491278..050555cdafd 100644 --- a/crates/web-sys/src/features/gen_CanvasCaptureMediaStream.rs +++ b/crates/web-sys/src/features/gen_CanvasCaptureMediaStream.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,14 +12,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CanvasGradient.rs b/crates/web-sys/src/features/gen_CanvasGradient.rs index 14fd3c72c8e..007a39b71e4 100644 --- a/crates/web-sys/src/features/gen_CanvasGradient.rs +++ b/crates/web-sys/src/features/gen_CanvasGradient.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CanvasGradient , typescript_type = "CanvasGradient" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CanvasGradient , typescript_type = "CanvasGradient")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CanvasGradient` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CanvasPattern.rs b/crates/web-sys/src/features/gen_CanvasPattern.rs index 6becd84bafa..5ff06e26051 100644 --- a/crates/web-sys/src/features/gen_CanvasPattern.rs +++ b/crates/web-sys/src/features/gen_CanvasPattern.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CanvasPattern , typescript_type = "CanvasPattern" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CanvasPattern , typescript_type = "CanvasPattern")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CanvasPattern` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CanvasRenderingContext2d.rs b/crates/web-sys/src/features/gen_CanvasRenderingContext2d.rs index 91b3a3fe2fc..3f353b91177 100644 --- a/crates/web-sys/src/features/gen_CanvasRenderingContext2d.rs +++ b/crates/web-sys/src/features/gen_CanvasRenderingContext2d.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CanvasRenderingContext2D , typescript_type = "CanvasRenderingContext2D" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CanvasRenderingContext2D , typescript_type = "CanvasRenderingContext2D")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CanvasRenderingContext2d` class."] #[doc = ""] @@ -12,35 +12,35 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = globalAlpha ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "CanvasRenderingContext2D" , js_name = globalCompositeOperation ) ] + # [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)"] @@ -50,224 +50,224 @@ extern "C" { this: &CanvasRenderingContext2d, value: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( structural , method , getter , js_class = "CanvasRenderingContext2D" , js_name = strokeStyle ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -275,7 +275,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -291,7 +291,7 @@ extern "C" { bg_color: &str, ) -> Result<(), JsValue>; #[cfg(feature = "Window")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawWindow ) ] + # [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)"] @@ -308,7 +308,7 @@ extern "C" { flags: u32, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -321,7 +321,7 @@ extern "C" { dy: f64, ) -> Result<(), JsValue>; #[cfg(feature = "SvgImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -334,7 +334,7 @@ extern "C" { dy: f64, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -347,7 +347,7 @@ extern "C" { dy: f64, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -360,7 +360,7 @@ extern "C" { dy: f64, ) -> Result<(), JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -373,7 +373,7 @@ extern "C" { dy: f64, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -388,7 +388,7 @@ extern "C" { dh: f64, ) -> Result<(), JsValue>; #[cfg(feature = "SvgImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -403,7 +403,7 @@ extern "C" { dh: f64, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -418,7 +418,7 @@ extern "C" { dh: f64, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -433,7 +433,7 @@ extern "C" { dh: f64, ) -> Result<(), JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -448,7 +448,7 @@ extern "C" { dh: f64, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -467,7 +467,7 @@ extern "C" { dh: f64, ) -> Result<(), JsValue>; #[cfg(feature = "SvgImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -486,7 +486,7 @@ extern "C" { dh: f64, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -505,7 +505,7 @@ extern "C" { dh: f64, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -524,7 +524,7 @@ extern "C" { dh: f64, ) -> Result<(), JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = drawImage ) ] + # [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)"] @@ -542,14 +542,14 @@ extern "C" { dw: f64, dh: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = beginPath ) ] + # [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 ) ] + # [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)"] @@ -557,7 +557,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -568,7 +568,7 @@ extern "C" { winding: CanvasWindingRule, ); #[cfg(feature = "Path2d")] - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = clip ) ] + # [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)"] @@ -576,7 +576,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -587,7 +587,7 @@ extern "C" { path: &Path2d, winding: CanvasWindingRule, ); - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill ) ] + # [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)"] @@ -595,7 +595,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -606,7 +606,7 @@ extern "C" { winding: CanvasWindingRule, ); #[cfg(feature = "Path2d")] - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = fill ) ] + # [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)"] @@ -614,7 +614,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -625,7 +625,7 @@ extern "C" { path: &Path2d, winding: CanvasWindingRule, ); - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath ) ] + # [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)"] @@ -633,7 +633,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -646,7 +646,7 @@ extern "C" { winding: CanvasWindingRule, ) -> bool; #[cfg(feature = "Path2d")] - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath ) ] + # [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)"] @@ -659,7 +659,7 @@ extern "C" { y: f64, ) -> bool; #[cfg(all(feature = "CanvasWindingRule", feature = "Path2d",))] - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInPath ) ] + # [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)"] @@ -672,7 +672,7 @@ extern "C" { y: f64, winding: CanvasWindingRule, ) -> bool; - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = isPointInStroke ) ] + # [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)"] @@ -681,7 +681,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -693,7 +693,7 @@ extern "C" { x: f64, y: f64, ) -> bool; - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = stroke ) ] + # [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)"] @@ -701,7 +701,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -709,7 +709,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -723,7 +723,7 @@ extern "C" { y1: f64, ) -> CanvasGradient; #[cfg(all(feature = "CanvasPattern", feature = "HtmlImageElement",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern ) ] + # [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)"] @@ -735,7 +735,7 @@ extern "C" { repetition: &str, ) -> Result, JsValue>; #[cfg(all(feature = "CanvasPattern", feature = "SvgImageElement",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern ) ] + # [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)"] @@ -747,7 +747,7 @@ extern "C" { repetition: &str, ) -> Result, JsValue>; #[cfg(all(feature = "CanvasPattern", feature = "HtmlCanvasElement",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern ) ] + # [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)"] @@ -759,7 +759,7 @@ extern "C" { repetition: &str, ) -> Result, JsValue>; #[cfg(all(feature = "CanvasPattern", feature = "HtmlVideoElement",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern ) ] + # [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)"] @@ -771,7 +771,7 @@ extern "C" { repetition: &str, ) -> Result, JsValue>; #[cfg(all(feature = "CanvasPattern", feature = "ImageBitmap",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createPattern ) ] + # [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)"] @@ -783,7 +783,7 @@ extern "C" { repetition: &str, ) -> Result, JsValue>; #[cfg(feature = "CanvasGradient")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createRadialGradient ) ] + # [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)"] @@ -798,7 +798,7 @@ extern "C" { y1: f64, r1: f64, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = addHitRegion ) ] + # [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)"] @@ -806,7 +806,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -816,14 +816,14 @@ extern "C" { this: &CanvasRenderingContext2d, options: &HitRegionOptions, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = clearHitRegions ) ] + # [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 ) ] + # [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)"] @@ -831,7 +831,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -843,7 +843,7 @@ extern "C" { sh: f64, ) -> Result; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = createImageData ) ] + # [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)"] @@ -854,7 +854,7 @@ extern "C" { imagedata: &ImageData, ) -> Result; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = getImageData ) ] + # [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)"] @@ -868,7 +868,7 @@ extern "C" { sh: f64, ) -> Result; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = putImageData ) ] + # [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)"] @@ -881,7 +881,7 @@ extern "C" { dy: f64, ) -> Result<(), JsValue>; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = putImageData ) ] + # [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)"] @@ -897,14 +897,14 @@ extern "C" { dirty_width: f64, dirty_height: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = getLineDash ) ] + # [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 ) ] + # [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)"] @@ -914,7 +914,7 @@ extern "C" { this: &CanvasRenderingContext2d, segments: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = arc ) ] + # [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)"] @@ -928,7 +928,7 @@ extern "C" { start_angle: f64, end_angle: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = arc ) ] + # [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)"] @@ -943,7 +943,7 @@ extern "C" { end_angle: f64, anticlockwise: bool, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = arcTo ) ] + # [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)"] @@ -957,7 +957,7 @@ extern "C" { y2: f64, radius: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = bezierCurveTo ) ] + # [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)"] @@ -972,14 +972,14 @@ extern "C" { x: f64, y: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = closePath ) ] + # [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 ) ] + # [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)"] @@ -995,7 +995,7 @@ extern "C" { start_angle: f64, end_angle: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = ellipse ) ] + # [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)"] @@ -1012,70 +1012,70 @@ extern "C" { end_angle: f64, anticlockwise: bool, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "CanvasRenderingContext2D" , js_name = lineTo ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1087,7 +1087,7 @@ extern "C" { x: f64, y: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = fillText ) ] + # [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)"] @@ -1101,7 +1101,7 @@ extern "C" { max_width: f64, ) -> Result<(), JsValue>; #[cfg(feature = "TextMetrics")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = measureText ) ] + # [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)"] @@ -1111,7 +1111,7 @@ extern "C" { this: &CanvasRenderingContext2d, text: &str, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = strokeText ) ] + # [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)"] @@ -1123,7 +1123,7 @@ extern "C" { x: f64, y: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = strokeText ) ] + # [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)"] @@ -1137,35 +1137,35 @@ extern "C" { max_width: f64, ) -> Result<(), JsValue>; #[cfg(feature = "DomMatrix")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = getTransform ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = resetTransform ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1180,7 +1180,7 @@ extern "C" { e: f64, f: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = transform ) ] + # [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)"] @@ -1195,7 +1195,7 @@ extern "C" { e: f64, f: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = translate ) ] + # [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)"] @@ -1203,7 +1203,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1211,7 +1211,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CaretPosition.rs b/crates/web-sys/src/features/gen_CaretPosition.rs index 356956bdae6..c6cfba2b4b3 100644 --- a/crates/web-sys/src/features/gen_CaretPosition.rs +++ b/crates/web-sys/src/features/gen_CaretPosition.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CaretPosition , typescript_type = "CaretPosition" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CaretPosition , typescript_type = "CaretPosition")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CaretPosition` class."] #[doc = ""] @@ -12,14 +12,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "CaretPosition" , js_name = offset ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CaretStateChangedEventInit.rs b/crates/web-sys/src/features/gen_CaretStateChangedEventInit.rs index 790d5a3f6e7..658aea274a1 100644 --- a/crates/web-sys/src/features/gen_CaretStateChangedEventInit.rs +++ b/crates/web-sys/src/features/gen_CaretStateChangedEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CaretStateChangedEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CaretStateChangedEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CaretStateChangedEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_CdataSection.rs b/crates/web-sys/src/features/gen_CdataSection.rs index 90d649b24cd..c4727466832 100644 --- a/crates/web-sys/src/features/gen_CdataSection.rs +++ b/crates/web-sys/src/features/gen_CdataSection.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_ChannelMergerNode.rs b/crates/web-sys/src/features/gen_ChannelMergerNode.rs index 140f985c390..0ce61ce18b4 100644 --- a/crates/web-sys/src/features/gen_ChannelMergerNode.rs +++ b/crates/web-sys/src/features/gen_ChannelMergerNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_ChannelMergerOptions.rs b/crates/web-sys/src/features/gen_ChannelMergerOptions.rs index 6cd0954df4c..c48bd4d1a3c 100644 --- a/crates/web-sys/src/features/gen_ChannelMergerOptions.rs +++ b/crates/web-sys/src/features/gen_ChannelMergerOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ChannelMergerOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ChannelMergerOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ChannelMergerOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ChannelPixelLayout.rs b/crates/web-sys/src/features/gen_ChannelPixelLayout.rs index 529c84009b1..ac5623667bb 100644 --- a/crates/web-sys/src/features/gen_ChannelPixelLayout.rs +++ b/crates/web-sys/src/features/gen_ChannelPixelLayout.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ChannelPixelLayout ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ChannelPixelLayout)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ChannelPixelLayout` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ChannelSplitterNode.rs b/crates/web-sys/src/features/gen_ChannelSplitterNode.rs index 744598102ed..c094aac417b 100644 --- a/crates/web-sys/src/features/gen_ChannelSplitterNode.rs +++ b/crates/web-sys/src/features/gen_ChannelSplitterNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_ChannelSplitterOptions.rs b/crates/web-sys/src/features/gen_ChannelSplitterOptions.rs index dc70a57a934..edc8d97777a 100644 --- a/crates/web-sys/src/features/gen_ChannelSplitterOptions.rs +++ b/crates/web-sys/src/features/gen_ChannelSplitterOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ChannelSplitterOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ChannelSplitterOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ChannelSplitterOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_CharacterData.rs b/crates/web-sys/src/features/gen_CharacterData.rs index 7b537b0282f..133163013ef 100644 --- a/crates/web-sys/src/features/gen_CharacterData.rs +++ b/crates/web-sys/src/features/gen_CharacterData.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -33,7 +33,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -41,35 +41,35 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `CharacterData`, `Element`*"] pub fn previous_element_sibling(this: &CharacterData) -> Option; #[cfg(feature = "Element")] - # [ wasm_bindgen ( structural , method , getter , js_class = "CharacterData" , js_name = nextElementSibling ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = appendData ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -81,7 +81,7 @@ extern "C" { count: u32, data: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = substringData ) ] + # [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)"] @@ -89,28 +89,28 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `CharacterData`*"] pub fn substring_data(this: &CharacterData, offset: u32, count: u32) -> Result; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "CharacterData" , js_name = after ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -121,7 +121,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ] + # [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)"] @@ -133,7 +133,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ] + # [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)"] @@ -146,7 +146,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ] + # [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)"] @@ -160,7 +160,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ] + # [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)"] @@ -175,7 +175,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ] + # [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)"] @@ -191,28 +191,28 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "CharacterData" , js_name = after ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -223,7 +223,7 @@ extern "C" { nodes_1: &str, nodes_2: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ] + # [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)"] @@ -235,7 +235,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ] + # [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)"] @@ -248,7 +248,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ] + # [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)"] @@ -262,7 +262,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ] + # [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)"] @@ -277,7 +277,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = after ) ] + # [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)"] @@ -293,28 +293,28 @@ extern "C" { nodes_6: &str, nodes_7: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "CharacterData" , js_name = before ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -325,7 +325,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ] + # [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)"] @@ -337,7 +337,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ] + # [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)"] @@ -350,7 +350,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ] + # [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)"] @@ -364,7 +364,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ] + # [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)"] @@ -379,7 +379,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ] + # [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)"] @@ -395,28 +395,28 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "CharacterData" , js_name = before ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -427,7 +427,7 @@ extern "C" { nodes_1: &str, nodes_2: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ] + # [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)"] @@ -439,7 +439,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ] + # [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)"] @@ -452,7 +452,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ] + # [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)"] @@ -466,7 +466,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ] + # [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)"] @@ -481,7 +481,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = before ) ] + # [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)"] @@ -497,14 +497,14 @@ extern "C" { nodes_6: &str, nodes_7: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "CharacterData" , js_name = remove ) ] + # [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 ) ] + # [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)"] @@ -514,21 +514,21 @@ extern "C" { this: &CharacterData, nodes: &::js_sys::Array, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -539,7 +539,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ] + # [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)"] @@ -551,7 +551,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ] + # [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)"] @@ -564,7 +564,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ] + # [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)"] @@ -578,7 +578,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ] + # [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)"] @@ -593,7 +593,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ] + # [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)"] @@ -609,7 +609,7 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "CharacterData" , js_name = replaceWith ) ] + # [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)"] @@ -619,21 +619,21 @@ extern "C" { this: &CharacterData, nodes: &::js_sys::Array, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -644,7 +644,7 @@ extern "C" { nodes_1: &str, nodes_2: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ] + # [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)"] @@ -656,7 +656,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ] + # [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)"] @@ -669,7 +669,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ] + # [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)"] @@ -683,7 +683,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ] + # [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)"] @@ -698,7 +698,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CharacterData" , js_name = replaceWith ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CheckerboardReport.rs b/crates/web-sys/src/features/gen_CheckerboardReport.rs index ac94525e437..4f4b85d961e 100644 --- a/crates/web-sys/src/features/gen_CheckerboardReport.rs +++ b/crates/web-sys/src/features/gen_CheckerboardReport.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CheckerboardReport ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CheckerboardReport)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CheckerboardReport` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_CheckerboardReportService.rs b/crates/web-sys/src/features/gen_CheckerboardReportService.rs index 263cde2ab56..d5abcf81c25 100644 --- a/crates/web-sys/src/features/gen_CheckerboardReportService.rs +++ b/crates/web-sys/src/features/gen_CheckerboardReportService.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CheckerboardReportService , typescript_type = "CheckerboardReportService" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CheckerboardReportService , typescript_type = "CheckerboardReportService")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CheckerboardReportService` class."] #[doc = ""] @@ -18,28 +18,28 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"] pub fn new() -> Result; - # [ wasm_bindgen ( method , structural , js_class = "CheckerboardReportService" , js_name = flushActiveReports ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ChromeFilePropertyBag.rs b/crates/web-sys/src/features/gen_ChromeFilePropertyBag.rs index 1a0af3fe366..993d11fbe18 100644 --- a/crates/web-sys/src/features/gen_ChromeFilePropertyBag.rs +++ b/crates/web-sys/src/features/gen_ChromeFilePropertyBag.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ChromeFilePropertyBag ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ChromeFilePropertyBag)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ChromeFilePropertyBag` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ChromeWorker.rs b/crates/web-sys/src/features/gen_ChromeWorker.rs index 0dda5ec6f39..736f22561c9 100644 --- a/crates/web-sys/src/features/gen_ChromeWorker.rs +++ b/crates/web-sys/src/features/gen_ChromeWorker.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_Client.rs b/crates/web-sys/src/features/gen_Client.rs index 09f1b085265..ecf6a2aba3b 100644 --- a/crates/web-sys/src/features/gen_Client.rs +++ b/crates/web-sys/src/features/gen_Client.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Client , typescript_type = "Client" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Client , typescript_type = "Client")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Client` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,28 +27,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ClientQueryOptions.rs b/crates/web-sys/src/features/gen_ClientQueryOptions.rs index e60784b1d42..037c71ce8f9 100644 --- a/crates/web-sys/src/features/gen_ClientQueryOptions.rs +++ b/crates/web-sys/src/features/gen_ClientQueryOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ClientQueryOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ClientQueryOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ClientQueryOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ClientRectsAndTexts.rs b/crates/web-sys/src/features/gen_ClientRectsAndTexts.rs index 406cb985025..e8a8fec00b4 100644 --- a/crates/web-sys/src/features/gen_ClientRectsAndTexts.rs +++ b/crates/web-sys/src/features/gen_ClientRectsAndTexts.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ClientRectsAndTexts ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ClientRectsAndTexts)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ClientRectsAndTexts` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Clients.rs b/crates/web-sys/src/features/gen_Clients.rs index 01ddb0f5b13..a33c001e4f0 100644 --- a/crates/web-sys/src/features/gen_Clients.rs +++ b/crates/web-sys/src/features/gen_Clients.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Clients , typescript_type = "Clients" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Clients , typescript_type = "Clients")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Clients` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -33,7 +33,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -43,7 +43,7 @@ extern "C" { this: &Clients, options: &ClientQueryOptions, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "Clients" , js_name = openWindow ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Clipboard.rs b/crates/web-sys/src/features/gen_Clipboard.rs index 0c2a4ea0072..b9029e3ad4e 100644 --- a/crates/web-sys/src/features/gen_Clipboard.rs +++ b/crates/web-sys/src/features/gen_Clipboard.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Clipboard , typescript_type = "Clipboard")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Clipboard` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -49,7 +49,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ClipboardEvent.rs b/crates/web-sys/src/features/gen_ClipboardEvent.rs index f95acc74a71..38410d88d1f 100644 --- a/crates/web-sys/src/features/gen_ClipboardEvent.rs +++ b/crates/web-sys/src/features/gen_ClipboardEvent.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = ClipboardEvent , typescript_type = "ClipboardEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ClipboardEvent` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type ClipboardEvent; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "DataTransfer")] - # [ wasm_bindgen ( structural , method , getter , js_class = "ClipboardEvent" , js_name = clipboardData ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ClipboardEventInit.rs b/crates/web-sys/src/features/gen_ClipboardEventInit.rs index c53cf036609..6963af41c16 100644 --- a/crates/web-sys/src/features/gen_ClipboardEventInit.rs +++ b/crates/web-sys/src/features/gen_ClipboardEventInit.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ClipboardEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ClipboardEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ClipboardEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ClipboardItem.rs b/crates/web-sys/src/features/gen_ClipboardItem.rs index 680e5833ead..0ef7719c61b 100644 --- a/crates/web-sys/src/features/gen_ClipboardItem.rs +++ b/crates/web-sys/src/features/gen_ClipboardItem.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ClipboardItem , typescript_type = "ClipboardItem")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ClipboardItem` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type ClipboardItem; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "PresentationStyle")] - # [ wasm_bindgen ( structural , method , getter , js_class = "ClipboardItem" , js_name = 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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { #[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 ( method , structural , js_class = "ClipboardItem" , js_name = getType ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ClipboardItemOptions.rs b/crates/web-sys/src/features/gen_ClipboardItemOptions.rs index bd60a79cf83..11a171c3cad 100644 --- a/crates/web-sys/src/features/gen_ClipboardItemOptions.rs +++ b/crates/web-sys/src/features/gen_ClipboardItemOptions.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ClipboardItemOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ClipboardItemOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ClipboardItemOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ClipboardPermissionDescriptor.rs b/crates/web-sys/src/features/gen_ClipboardPermissionDescriptor.rs index 09be6cdff77..32568bb889b 100644 --- a/crates/web-sys/src/features/gen_ClipboardPermissionDescriptor.rs +++ b/crates/web-sys/src/features/gen_ClipboardPermissionDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ClipboardPermissionDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ClipboardPermissionDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ClipboardPermissionDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_CloseEvent.rs b/crates/web-sys/src/features/gen_CloseEvent.rs index 779163196c4..0af95b5fb88 100644 --- a/crates/web-sys/src/features/gen_CloseEvent.rs +++ b/crates/web-sys/src/features/gen_CloseEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = CloseEvent , typescript_type = "CloseEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = CloseEvent , typescript_type = "CloseEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CloseEvent` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CloseEventInit.rs b/crates/web-sys/src/features/gen_CloseEventInit.rs index 0a80dedb0ad..b3eb184b7dc 100644 --- a/crates/web-sys/src/features/gen_CloseEventInit.rs +++ b/crates/web-sys/src/features/gen_CloseEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CloseEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CloseEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CloseEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_CollectedClientData.rs b/crates/web-sys/src/features/gen_CollectedClientData.rs index a23723a57bd..6c06dfa76fc 100644 --- a/crates/web-sys/src/features/gen_CollectedClientData.rs +++ b/crates/web-sys/src/features/gen_CollectedClientData.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CollectedClientData ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CollectedClientData)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CollectedClientData` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Comment.rs b/crates/web-sys/src/features/gen_Comment.rs index a83551a54bc..d061d996763 100644 --- a/crates/web-sys/src/features/gen_Comment.rs +++ b/crates/web-sys/src/features/gen_Comment.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_CompositionEvent.rs b/crates/web-sys/src/features/gen_CompositionEvent.rs index 384f2244351..550211e0317 100644 --- a/crates/web-sys/src/features/gen_CompositionEvent.rs +++ b/crates/web-sys/src/features/gen_CompositionEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "CompositionEvent" , js_name = locale ) ] + # [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)"] @@ -43,14 +43,14 @@ extern "C" { type_: &str, event_init_dict: &CompositionEventInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "CompositionEvent" , js_name = initCompositionEvent ) ] + # [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 ) ] + # [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)"] @@ -61,7 +61,7 @@ extern "C" { type_arg: &str, can_bubble_arg: bool, ); - # [ wasm_bindgen ( method , structural , js_class = "CompositionEvent" , js_name = initCompositionEvent ) ] + # [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)"] @@ -74,7 +74,7 @@ extern "C" { cancelable_arg: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "CompositionEvent" , js_name = initCompositionEvent ) ] + # [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)"] @@ -88,7 +88,7 @@ extern "C" { view_arg: Option<&Window>, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "CompositionEvent" , js_name = initCompositionEvent ) ] + # [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)"] @@ -103,7 +103,7 @@ extern "C" { data_arg: Option<&str>, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "CompositionEvent" , js_name = initCompositionEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CompositionEventInit.rs b/crates/web-sys/src/features/gen_CompositionEventInit.rs index 92959af5fec..24ad3238a1f 100644 --- a/crates/web-sys/src/features/gen_CompositionEventInit.rs +++ b/crates/web-sys/src/features/gen_CompositionEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CompositionEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CompositionEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CompositionEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ComputedEffectTiming.rs b/crates/web-sys/src/features/gen_ComputedEffectTiming.rs index 38f66155a5e..1178e02c518 100644 --- a/crates/web-sys/src/features/gen_ComputedEffectTiming.rs +++ b/crates/web-sys/src/features/gen_ComputedEffectTiming.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ComputedEffectTiming ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ComputedEffectTiming)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ComputedEffectTiming` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConnStatusDict.rs b/crates/web-sys/src/features/gen_ConnStatusDict.rs index 2a913feb29c..d741d6919a8 100644 --- a/crates/web-sys/src/features/gen_ConnStatusDict.rs +++ b/crates/web-sys/src/features/gen_ConnStatusDict.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConnStatusDict ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConnStatusDict)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConnStatusDict` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConsoleCounter.rs b/crates/web-sys/src/features/gen_ConsoleCounter.rs index 0259d0b5fbd..8d84b8d43da 100644 --- a/crates/web-sys/src/features/gen_ConsoleCounter.rs +++ b/crates/web-sys/src/features/gen_ConsoleCounter.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConsoleCounter ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleCounter)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConsoleCounter` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConsoleCounterError.rs b/crates/web-sys/src/features/gen_ConsoleCounterError.rs index 23fddd57421..9072295c9f2 100644 --- a/crates/web-sys/src/features/gen_ConsoleCounterError.rs +++ b/crates/web-sys/src/features/gen_ConsoleCounterError.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConsoleCounterError ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleCounterError)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConsoleCounterError` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConsoleEvent.rs b/crates/web-sys/src/features/gen_ConsoleEvent.rs index e46520cf6c1..998dab0ef5d 100644 --- a/crates/web-sys/src/features/gen_ConsoleEvent.rs +++ b/crates/web-sys/src/features/gen_ConsoleEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConsoleEvent ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleEvent)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConsoleEvent` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConsoleInstance.rs b/crates/web-sys/src/features/gen_ConsoleInstance.rs index 729a5d65eaf..c27a311d820 100644 --- a/crates/web-sys/src/features/gen_ConsoleInstance.rs +++ b/crates/web-sys/src/features/gen_ConsoleInstance.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_ConsoleInstanceOptions.rs b/crates/web-sys/src/features/gen_ConsoleInstanceOptions.rs index 93efda27c1f..d5c5e8eb786 100644 --- a/crates/web-sys/src/features/gen_ConsoleInstanceOptions.rs +++ b/crates/web-sys/src/features/gen_ConsoleInstanceOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConsoleInstanceOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleInstanceOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConsoleInstanceOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConsoleProfileEvent.rs b/crates/web-sys/src/features/gen_ConsoleProfileEvent.rs index 63d2f04d3d4..c5fa38b6e33 100644 --- a/crates/web-sys/src/features/gen_ConsoleProfileEvent.rs +++ b/crates/web-sys/src/features/gen_ConsoleProfileEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConsoleProfileEvent ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleProfileEvent)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConsoleProfileEvent` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConsoleStackEntry.rs b/crates/web-sys/src/features/gen_ConsoleStackEntry.rs index 4162f249147..e8f8a24b5d0 100644 --- a/crates/web-sys/src/features/gen_ConsoleStackEntry.rs +++ b/crates/web-sys/src/features/gen_ConsoleStackEntry.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConsoleStackEntry ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleStackEntry)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConsoleStackEntry` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConsoleTimerError.rs b/crates/web-sys/src/features/gen_ConsoleTimerError.rs index 80ff9c4adf3..3ec9c8f994c 100644 --- a/crates/web-sys/src/features/gen_ConsoleTimerError.rs +++ b/crates/web-sys/src/features/gen_ConsoleTimerError.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConsoleTimerError ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleTimerError)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConsoleTimerError` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConsoleTimerLogOrEnd.rs b/crates/web-sys/src/features/gen_ConsoleTimerLogOrEnd.rs index a07565697b5..53366b472e1 100644 --- a/crates/web-sys/src/features/gen_ConsoleTimerLogOrEnd.rs +++ b/crates/web-sys/src/features/gen_ConsoleTimerLogOrEnd.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConsoleTimerLogOrEnd ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleTimerLogOrEnd)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConsoleTimerLogOrEnd` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConsoleTimerStart.rs b/crates/web-sys/src/features/gen_ConsoleTimerStart.rs index cc386e872a6..c0a9c90d428 100644 --- a/crates/web-sys/src/features/gen_ConsoleTimerStart.rs +++ b/crates/web-sys/src/features/gen_ConsoleTimerStart.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConsoleTimerStart ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConsoleTimerStart)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConsoleTimerStart` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConstantSourceNode.rs b/crates/web-sys/src/features/gen_ConstantSourceNode.rs index 57098754e09..5649d044d9f 100644 --- a/crates/web-sys/src/features/gen_ConstantSourceNode.rs +++ b/crates/web-sys/src/features/gen_ConstantSourceNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,21 +12,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -52,28 +52,28 @@ extern "C" { context: &BaseAudioContext, options: &ConstantSourceOptions, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "ConstantSourceNode" , js_name = start ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ConstantSourceOptions.rs b/crates/web-sys/src/features/gen_ConstantSourceOptions.rs index 056a360b27a..3545c8dd7f3 100644 --- a/crates/web-sys/src/features/gen_ConstantSourceOptions.rs +++ b/crates/web-sys/src/features/gen_ConstantSourceOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConstantSourceOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConstantSourceOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConstantSourceOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConstrainBooleanParameters.rs b/crates/web-sys/src/features/gen_ConstrainBooleanParameters.rs index 823a67483dd..7c09f06eac3 100644 --- a/crates/web-sys/src/features/gen_ConstrainBooleanParameters.rs +++ b/crates/web-sys/src/features/gen_ConstrainBooleanParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConstrainBooleanParameters ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConstrainBooleanParameters)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConstrainBooleanParameters` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConstrainDomStringParameters.rs b/crates/web-sys/src/features/gen_ConstrainDomStringParameters.rs index eb0a72825a9..4fd46b512f1 100644 --- a/crates/web-sys/src/features/gen_ConstrainDomStringParameters.rs +++ b/crates/web-sys/src/features/gen_ConstrainDomStringParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConstrainDOMStringParameters ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConstrainDOMStringParameters)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConstrainDomStringParameters` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConstrainDoubleRange.rs b/crates/web-sys/src/features/gen_ConstrainDoubleRange.rs index 99fb5ac6823..47ca678a938 100644 --- a/crates/web-sys/src/features/gen_ConstrainDoubleRange.rs +++ b/crates/web-sys/src/features/gen_ConstrainDoubleRange.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConstrainDoubleRange ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConstrainDoubleRange)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConstrainDoubleRange` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConstrainLongRange.rs b/crates/web-sys/src/features/gen_ConstrainLongRange.rs index 522cac12fa5..ca2fcfbc9a1 100644 --- a/crates/web-sys/src/features/gen_ConstrainLongRange.rs +++ b/crates/web-sys/src/features/gen_ConstrainLongRange.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConstrainLongRange ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConstrainLongRange)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConstrainLongRange` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ContextAttributes2d.rs b/crates/web-sys/src/features/gen_ContextAttributes2d.rs index fe213622ce3..2102360bd35 100644 --- a/crates/web-sys/src/features/gen_ContextAttributes2d.rs +++ b/crates/web-sys/src/features/gen_ContextAttributes2d.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ContextAttributes2D ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ContextAttributes2D)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ContextAttributes2d` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConvertCoordinateOptions.rs b/crates/web-sys/src/features/gen_ConvertCoordinateOptions.rs index e15795f3001..453ee01278d 100644 --- a/crates/web-sys/src/features/gen_ConvertCoordinateOptions.rs +++ b/crates/web-sys/src/features/gen_ConvertCoordinateOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConvertCoordinateOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConvertCoordinateOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConvertCoordinateOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ConvolverNode.rs b/crates/web-sys/src/features/gen_ConvolverNode.rs index d95fa6eedc0..0974b8a6e5d 100644 --- a/crates/web-sys/src/features/gen_ConvolverNode.rs +++ b/crates/web-sys/src/features/gen_ConvolverNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,21 +20,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AudioBuffer`, `ConvolverNode`*"] pub fn buffer(this: &ConvolverNode) -> Option; #[cfg(feature = "AudioBuffer")] - # [ wasm_bindgen ( structural , method , setter , js_class = "ConvolverNode" , js_name = buffer ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ConvolverOptions.rs b/crates/web-sys/src/features/gen_ConvolverOptions.rs index 493519b7ac3..6360a3197e5 100644 --- a/crates/web-sys/src/features/gen_ConvolverOptions.rs +++ b/crates/web-sys/src/features/gen_ConvolverOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ConvolverOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ConvolverOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ConvolverOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Coordinates.rs b/crates/web-sys/src/features/gen_Coordinates.rs index 44132248592..10850a2d3ef 100644 --- a/crates/web-sys/src/features/gen_Coordinates.rs +++ b/crates/web-sys/src/features/gen_Coordinates.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,49 +11,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Coordinates" , js_name = accuracy ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Coordinates" , js_name = heading ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Coordinates" , js_name = speed ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Credential.rs b/crates/web-sys/src/features/gen_Credential.rs index 19ee95eea35..699f5eeb301 100644 --- a/crates/web-sys/src/features/gen_Credential.rs +++ b/crates/web-sys/src/features/gen_Credential.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Credential , typescript_type = "Credential" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Credential , typescript_type = "Credential")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Credential` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CredentialCreationOptions.rs b/crates/web-sys/src/features/gen_CredentialCreationOptions.rs index 23b7d8d3d5f..521cdf256ef 100644 --- a/crates/web-sys/src/features/gen_CredentialCreationOptions.rs +++ b/crates/web-sys/src/features/gen_CredentialCreationOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CredentialCreationOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CredentialCreationOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CredentialCreationOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_CredentialRequestOptions.rs b/crates/web-sys/src/features/gen_CredentialRequestOptions.rs index 51e2c6dff42..7c2ca1eda13 100644 --- a/crates/web-sys/src/features/gen_CredentialRequestOptions.rs +++ b/crates/web-sys/src/features/gen_CredentialRequestOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CredentialRequestOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CredentialRequestOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CredentialRequestOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_CredentialsContainer.rs b/crates/web-sys/src/features/gen_CredentialsContainer.rs index 97d69f57ccf..fb008e96823 100644 --- a/crates/web-sys/src/features/gen_CredentialsContainer.rs +++ b/crates/web-sys/src/features/gen_CredentialsContainer.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CredentialsContainer , typescript_type = "CredentialsContainer" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CredentialsContainer , typescript_type = "CredentialsContainer")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CredentialsContainer` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -29,7 +29,7 @@ extern "C" { this: &CredentialsContainer, options: &CredentialCreationOptions, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CredentialsContainer" , js_name = get ) ] + # [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)"] @@ -37,7 +37,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -47,7 +47,7 @@ extern "C" { this: &CredentialsContainer, options: &CredentialRequestOptions, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CredentialsContainer" , js_name = preventSilentAccess ) ] + # [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)"] @@ -56,7 +56,7 @@ extern "C" { 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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Crypto.rs b/crates/web-sys/src/features/gen_Crypto.rs index a768b654b3d..d7c36ad2a3d 100644 --- a/crates/web-sys/src/features/gen_Crypto.rs +++ b/crates/web-sys/src/features/gen_Crypto.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Crypto , typescript_type = "Crypto" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Crypto , typescript_type = "Crypto")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Crypto` class."] #[doc = ""] @@ -12,14 +12,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -29,7 +29,7 @@ extern "C" { this: &Crypto, array: &::js_sys::Object, ) -> Result<::js_sys::Object, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Crypto" , js_name = getRandomValues ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CryptoKey.rs b/crates/web-sys/src/features/gen_CryptoKey.rs index ec92d4d2770..7e8773eb127 100644 --- a/crates/web-sys/src/features/gen_CryptoKey.rs +++ b/crates/web-sys/src/features/gen_CryptoKey.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CryptoKey , typescript_type = "CryptoKey" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CryptoKey , typescript_type = "CryptoKey")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CryptoKey` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CryptoKeyPair.rs b/crates/web-sys/src/features/gen_CryptoKeyPair.rs index 9e605ec0259..5026e6398c6 100644 --- a/crates/web-sys/src/features/gen_CryptoKeyPair.rs +++ b/crates/web-sys/src/features/gen_CryptoKeyPair.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CryptoKeyPair ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CryptoKeyPair)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CryptoKeyPair` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Csp.rs b/crates/web-sys/src/features/gen_Csp.rs index 033ee57a896..209a6e9a75e 100644 --- a/crates/web-sys/src/features/gen_Csp.rs +++ b/crates/web-sys/src/features/gen_Csp.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CSP ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSP)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Csp` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_CspPolicies.rs b/crates/web-sys/src/features/gen_CspPolicies.rs index b86bff1d8b8..91b6b067090 100644 --- a/crates/web-sys/src/features/gen_CspPolicies.rs +++ b/crates/web-sys/src/features/gen_CspPolicies.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CSPPolicies ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSPPolicies)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CspPolicies` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_CspReport.rs b/crates/web-sys/src/features/gen_CspReport.rs index 5606784e849..3d8cf0a7fe3 100644 --- a/crates/web-sys/src/features/gen_CspReport.rs +++ b/crates/web-sys/src/features/gen_CspReport.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CSPReport ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSPReport)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CspReport` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_CspReportProperties.rs b/crates/web-sys/src/features/gen_CspReportProperties.rs index fdd3b8c854d..4664b179a95 100644 --- a/crates/web-sys/src/features/gen_CspReportProperties.rs +++ b/crates/web-sys/src/features/gen_CspReportProperties.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CSPReportProperties ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSPReportProperties)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CspReportProperties` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_CssAnimation.rs b/crates/web-sys/src/features/gen_CssAnimation.rs index 8f72d0f536d..ea0df7c6296 100644 --- a/crates/web-sys/src/features/gen_CssAnimation.rs +++ b/crates/web-sys/src/features/gen_CssAnimation.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssConditionRule.rs b/crates/web-sys/src/features/gen_CssConditionRule.rs index 239e2cbd07c..a08a051d6a0 100644 --- a/crates/web-sys/src/features/gen_CssConditionRule.rs +++ b/crates/web-sys/src/features/gen_CssConditionRule.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssCounterStyleRule.rs b/crates/web-sys/src/features/gen_CssCounterStyleRule.rs index 3e3dc93e0c1..99a4e127c6d 100644 --- a/crates/web-sys/src/features/gen_CssCounterStyleRule.rs +++ b/crates/web-sys/src/features/gen_CssCounterStyleRule.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = CssRule , extends = :: js_sys :: Object , js_name = CSSCounterStyleRule , typescript_type = "CSSCounterStyleRule" ) ] + # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSCounterStyleRule , typescript_type = "CSSCounterStyleRule")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssCounterStyleRule` class."] #[doc = ""] @@ -11,154 +11,154 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssFontFaceRule.rs b/crates/web-sys/src/features/gen_CssFontFaceRule.rs index 86087f28aa0..b92001157e4 100644 --- a/crates/web-sys/src/features/gen_CssFontFaceRule.rs +++ b/crates/web-sys/src/features/gen_CssFontFaceRule.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = CssRule , extends = :: js_sys :: Object , js_name = CSSFontFaceRule , typescript_type = "CSSFontFaceRule" ) ] + # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSFontFaceRule , typescript_type = "CSSFontFaceRule")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssFontFaceRule` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssFontFeatureValuesRule.rs b/crates/web-sys/src/features/gen_CssFontFeatureValuesRule.rs index c461e51db2b..976e1479bb3 100644 --- a/crates/web-sys/src/features/gen_CssFontFeatureValuesRule.rs +++ b/crates/web-sys/src/features/gen_CssFontFeatureValuesRule.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = CssRule , extends = :: js_sys :: Object , js_name = CSSFontFeatureValuesRule , typescript_type = "CSSFontFeatureValuesRule" ) ] + # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSFontFeatureValuesRule , typescript_type = "CSSFontFeatureValuesRule")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssFontFeatureValuesRule` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssGroupingRule.rs b/crates/web-sys/src/features/gen_CssGroupingRule.rs index 7cfd479cbd0..9c0fe854d51 100644 --- a/crates/web-sys/src/features/gen_CssGroupingRule.rs +++ b/crates/web-sys/src/features/gen_CssGroupingRule.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = CssRule , extends = :: js_sys :: Object , js_name = CSSGroupingRule , typescript_type = "CSSGroupingRule" ) ] + # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSGroupingRule , typescript_type = "CSSGroupingRule")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssGroupingRule` class."] #[doc = ""] @@ -12,28 +12,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "CSSGroupingRule" , js_name = insertRule ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssImportRule.rs b/crates/web-sys/src/features/gen_CssImportRule.rs index 20975bbd690..11ad6011d5f 100644 --- a/crates/web-sys/src/features/gen_CssImportRule.rs +++ b/crates/web-sys/src/features/gen_CssImportRule.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = CssRule , extends = :: js_sys :: Object , js_name = CSSImportRule , typescript_type = "CSSImportRule" ) ] + # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSImportRule , typescript_type = "CSSImportRule")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssImportRule` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `CssImportRule`, `MediaList`*"] pub fn media(this: &CssImportRule) -> Option; #[cfg(feature = "CssStyleSheet")] - # [ wasm_bindgen ( structural , method , getter , js_class = "CSSImportRule" , js_name = styleSheet ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssKeyframeRule.rs b/crates/web-sys/src/features/gen_CssKeyframeRule.rs index ac2a5e2bf19..547d97b90f6 100644 --- a/crates/web-sys/src/features/gen_CssKeyframeRule.rs +++ b/crates/web-sys/src/features/gen_CssKeyframeRule.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = CssRule , extends = :: js_sys :: Object , js_name = CSSKeyframeRule , typescript_type = "CSSKeyframeRule" ) ] + # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSKeyframeRule , typescript_type = "CSSKeyframeRule")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssKeyframeRule` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssKeyframesRule.rs b/crates/web-sys/src/features/gen_CssKeyframesRule.rs index 0a1ad32ed02..27c636c8eac 100644 --- a/crates/web-sys/src/features/gen_CssKeyframesRule.rs +++ b/crates/web-sys/src/features/gen_CssKeyframesRule.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = CssRule , extends = :: js_sys :: Object , js_name = CSSKeyframesRule , typescript_type = "CSSKeyframesRule" ) ] + # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSKeyframesRule , typescript_type = "CSSKeyframesRule")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssKeyframesRule` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,21 +26,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -48,7 +48,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssMediaRule.rs b/crates/web-sys/src/features/gen_CssMediaRule.rs index 58472bc8477..fa3b215f7cc 100644 --- a/crates/web-sys/src/features/gen_CssMediaRule.rs +++ b/crates/web-sys/src/features/gen_CssMediaRule.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssNamespaceRule.rs b/crates/web-sys/src/features/gen_CssNamespaceRule.rs index 0feccf40edb..3fce67660a3 100644 --- a/crates/web-sys/src/features/gen_CssNamespaceRule.rs +++ b/crates/web-sys/src/features/gen_CssNamespaceRule.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = CssRule , extends = :: js_sys :: Object , js_name = CSSNamespaceRule , typescript_type = "CSSNamespaceRule" ) ] + # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSNamespaceRule , typescript_type = "CSSNamespaceRule")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssNamespaceRule` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssPageRule.rs b/crates/web-sys/src/features/gen_CssPageRule.rs index 99660b27c17..d9441f51292 100644 --- a/crates/web-sys/src/features/gen_CssPageRule.rs +++ b/crates/web-sys/src/features/gen_CssPageRule.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = CssRule , extends = :: js_sys :: Object , js_name = CSSPageRule , typescript_type = "CSSPageRule" ) ] + # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSPageRule , typescript_type = "CSSPageRule")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssPageRule` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssPseudoElement.rs b/crates/web-sys/src/features/gen_CssPseudoElement.rs index e82086561bb..63b3f543e6a 100644 --- a/crates/web-sys/src/features/gen_CssPseudoElement.rs +++ b/crates/web-sys/src/features/gen_CssPseudoElement.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CSSPseudoElement , typescript_type = "CSSPseudoElement" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSSPseudoElement , typescript_type = "CSSPseudoElement")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssPseudoElement` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssRule.rs b/crates/web-sys/src/features/gen_CssRule.rs index 432dfede7ad..801667eb15e 100644 --- a/crates/web-sys/src/features/gen_CssRule.rs +++ b/crates/web-sys/src/features/gen_CssRule.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CSSRule , typescript_type = "CSSRule" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSSRule , typescript_type = "CSSRule")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssRule` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `CssRule`*"] pub fn parent_rule(this: &CssRule) -> Option; #[cfg(feature = "CssStyleSheet")] - # [ wasm_bindgen ( structural , method , getter , js_class = "CSSRule" , js_name = parentStyleSheet ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssRuleList.rs b/crates/web-sys/src/features/gen_CssRuleList.rs index 206a4026e1e..1dd778fa085 100644 --- a/crates/web-sys/src/features/gen_CssRuleList.rs +++ b/crates/web-sys/src/features/gen_CssRuleList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CSSRuleList , typescript_type = "CSSRuleList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSSRuleList , typescript_type = "CSSRuleList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssRuleList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssStyleDeclaration.rs b/crates/web-sys/src/features/gen_CssStyleDeclaration.rs index 4f16944a29a..c22016a031e 100644 --- a/crates/web-sys/src/features/gen_CssStyleDeclaration.rs +++ b/crates/web-sys/src/features/gen_CssStyleDeclaration.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CSSStyleDeclaration , typescript_type = "CSSStyleDeclaration" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CSSStyleDeclaration , typescript_type = "CSSStyleDeclaration")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssStyleDeclaration` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -33,21 +33,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "CSSStyleDeclaration" , js_name = getPropertyPriority ) ] + # [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 ) ] + # [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)"] @@ -57,21 +57,21 @@ extern "C" { this: &CssStyleDeclaration, property: &str, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "CSSStyleDeclaration" , js_name = item ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "CSSStyleDeclaration" , js_name = setProperty ) ] + # [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)"] @@ -82,7 +82,7 @@ extern "C" { property: &str, value: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "CSSStyleDeclaration" , js_name = setProperty ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssStyleRule.rs b/crates/web-sys/src/features/gen_CssStyleRule.rs index 7e18ea85bfb..c244a2af79d 100644 --- a/crates/web-sys/src/features/gen_CssStyleRule.rs +++ b/crates/web-sys/src/features/gen_CssStyleRule.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = CssRule , extends = :: js_sys :: Object , js_name = CSSStyleRule , typescript_type = "CSSStyleRule" ) ] + # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSStyleRule , typescript_type = "CSSStyleRule")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssStyleRule` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssStyleSheet.rs b/crates/web-sys/src/features/gen_CssStyleSheet.rs index 9e5fb3ab1b7..9ffbb61bd45 100644 --- a/crates/web-sys/src/features/gen_CssStyleSheet.rs +++ b/crates/web-sys/src/features/gen_CssStyleSheet.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = StyleSheet , extends = :: js_sys :: Object , js_name = CSSStyleSheet , typescript_type = "CSSStyleSheet" ) ] + # [wasm_bindgen (extends = StyleSheet , extends = :: js_sys :: Object , js_name = CSSStyleSheet , typescript_type = "CSSStyleSheet")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CssStyleSheet` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,28 +20,28 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `CssRule`, `CssStyleSheet`*"] pub fn owner_rule(this: &CssStyleSheet) -> Option; #[cfg(feature = "CssRuleList")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "CSSStyleSheet" , js_name = cssRules ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "CSSStyleSheet" , js_name = deleteRule ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "CSSStyleSheet" , js_name = insertRule ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CssSupportsRule.rs b/crates/web-sys/src/features/gen_CssSupportsRule.rs index 06e484f9f71..13c879bf965 100644 --- a/crates/web-sys/src/features/gen_CssSupportsRule.rs +++ b/crates/web-sys/src/features/gen_CssSupportsRule.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_CssTransition.rs b/crates/web-sys/src/features/gen_CssTransition.rs index 261599cbb7a..6a222ecded8 100644 --- a/crates/web-sys/src/features/gen_CssTransition.rs +++ b/crates/web-sys/src/features/gen_CssTransition.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CustomElementRegistry.rs b/crates/web-sys/src/features/gen_CustomElementRegistry.rs index f79f7fe26c0..651968f7fe1 100644 --- a/crates/web-sys/src/features/gen_CustomElementRegistry.rs +++ b/crates/web-sys/src/features/gen_CustomElementRegistry.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CustomElementRegistry , typescript_type = "CustomElementRegistry" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CustomElementRegistry , typescript_type = "CustomElementRegistry")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CustomElementRegistry` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -23,7 +23,7 @@ extern "C" { function_constructor: &::js_sys::Function, ) -> Result<(), JsValue>; #[cfg(feature = "ElementDefinitionOptions")] - # [ wasm_bindgen ( catch , method , structural , js_class = "CustomElementRegistry" , js_name = define ) ] + # [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)"] @@ -35,7 +35,7 @@ extern "C" { function_constructor: &::js_sys::Function, options: &ElementDefinitionOptions, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "CustomElementRegistry" , js_name = get ) ] + # [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)"] @@ -43,14 +43,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CustomEvent.rs b/crates/web-sys/src/features/gen_CustomEvent.rs index 9eb171ea02e..4c0c671cde2 100644 --- a/crates/web-sys/src/features/gen_CustomEvent.rs +++ b/crates/web-sys/src/features/gen_CustomEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = CustomEvent , typescript_type = "CustomEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = CustomEvent , typescript_type = "CustomEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CustomEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,21 +36,21 @@ extern "C" { type_: &str, event_init_dict: &CustomEventInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "CustomEvent" , js_name = initCustomEvent ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -62,7 +62,7 @@ extern "C" { can_bubble: bool, cancelable: bool, ); - # [ wasm_bindgen ( method , structural , js_class = "CustomEvent" , js_name = initCustomEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_CustomEventInit.rs b/crates/web-sys/src/features/gen_CustomEventInit.rs index 5eb72aa6551..4f7e4a24f1b 100644 --- a/crates/web-sys/src/features/gen_CustomEventInit.rs +++ b/crates/web-sys/src/features/gen_CustomEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = CustomEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CustomEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `CustomEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DataTransfer.rs b/crates/web-sys/src/features/gen_DataTransfer.rs index 05415bd6899..9b6b7942852 100644 --- a/crates/web-sys/src/features/gen_DataTransfer.rs +++ b/crates/web-sys/src/features/gen_DataTransfer.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DataTransfer , typescript_type = "DataTransfer" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DataTransfer , typescript_type = "DataTransfer")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DataTransfer` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -40,14 +40,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -55,7 +55,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -69,35 +69,35 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `DataTransfer`*"] pub fn new() -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "DataTransfer" , js_name = clearData ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "DataTransfer" , js_name = getFiles ) ] + # [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 ) ] + # [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)"] @@ -107,14 +107,14 @@ extern "C" { this: &DataTransfer, recursive_flag: bool, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DataTransfer" , js_name = getFilesAndDirectories ) ] + # [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 ) ] + # [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)"] @@ -122,7 +122,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DataTransferItem.rs b/crates/web-sys/src/features/gen_DataTransferItem.rs index 5ad652a8008..0ea18263f06 100644 --- a/crates/web-sys/src/features/gen_DataTransferItem.rs +++ b/crates/web-sys/src/features/gen_DataTransferItem.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DataTransferItem , typescript_type = "DataTransferItem" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DataTransferItem , typescript_type = "DataTransferItem")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DataTransferItem` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,14 +26,14 @@ extern "C" { #[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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DataTransferItem" , js_name = getAsString ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { callback: Option<&::js_sys::Function>, ) -> Result<(), JsValue>; #[cfg(feature = "FileSystemEntry")] - # [ wasm_bindgen ( catch , method , structural , js_class = "DataTransferItem" , js_name = webkitGetAsEntry ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DataTransferItemList.rs b/crates/web-sys/src/features/gen_DataTransferItemList.rs index 2d15c2e23bb..c2f2efc186b 100644 --- a/crates/web-sys/src/features/gen_DataTransferItemList.rs +++ b/crates/web-sys/src/features/gen_DataTransferItemList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DataTransferItemList , typescript_type = "DataTransferItemList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DataTransferItemList , typescript_type = "DataTransferItemList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DataTransferItemList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -31,7 +31,7 @@ extern "C" { type_: &str, ) -> Result, JsValue>; #[cfg(all(feature = "DataTransferItem", feature = "File",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "DataTransferItemList" , js_name = add ) ] + # [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)"] @@ -41,14 +41,14 @@ extern "C" { this: &DataTransferItemList, data: &File, ) -> Result, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DataTransferItemList" , js_name = clear ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DateTimeValue.rs b/crates/web-sys/src/features/gen_DateTimeValue.rs index cd6a33da236..e45d96e62bf 100644 --- a/crates/web-sys/src/features/gen_DateTimeValue.rs +++ b/crates/web-sys/src/features/gen_DateTimeValue.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DateTimeValue ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DateTimeValue)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DateTimeValue` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DecoderDoctorNotification.rs b/crates/web-sys/src/features/gen_DecoderDoctorNotification.rs index 05aa1713e97..59f4340c49b 100644 --- a/crates/web-sys/src/features/gen_DecoderDoctorNotification.rs +++ b/crates/web-sys/src/features/gen_DecoderDoctorNotification.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DecoderDoctorNotification ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DecoderDoctorNotification)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DecoderDoctorNotification` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DedicatedWorkerGlobalScope.rs b/crates/web-sys/src/features/gen_DedicatedWorkerGlobalScope.rs index 8e1b5696d44..c16c3690d28 100644 --- a/crates/web-sys/src/features/gen_DedicatedWorkerGlobalScope.rs +++ b/crates/web-sys/src/features/gen_DedicatedWorkerGlobalScope.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -49,14 +49,14 @@ extern "C" { this: &DedicatedWorkerGlobalScope, value: Option<&::js_sys::Function>, ); - # [ wasm_bindgen ( method , structural , js_class = "DedicatedWorkerGlobalScope" , js_name = close ) ] + # [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 ) ] + # [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)"] @@ -66,7 +66,7 @@ extern "C" { this: &DedicatedWorkerGlobalScope, message: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DedicatedWorkerGlobalScope" , js_name = postMessage ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DelayNode.rs b/crates/web-sys/src/features/gen_DelayNode.rs index 2eab071fc53..4518ed3a2c2 100644 --- a/crates/web-sys/src/features/gen_DelayNode.rs +++ b/crates/web-sys/src/features/gen_DelayNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DelayOptions.rs b/crates/web-sys/src/features/gen_DelayOptions.rs index 8d2653bf918..9e2c2b0a1d8 100644 --- a/crates/web-sys/src/features/gen_DelayOptions.rs +++ b/crates/web-sys/src/features/gen_DelayOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DelayOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DelayOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DelayOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DeviceAcceleration.rs b/crates/web-sys/src/features/gen_DeviceAcceleration.rs index 160a05dbc75..8fbfb8b67f0 100644 --- a/crates/web-sys/src/features/gen_DeviceAcceleration.rs +++ b/crates/web-sys/src/features/gen_DeviceAcceleration.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "DeviceAcceleration" , js_name = y ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "DeviceAcceleration" , js_name = z ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DeviceAccelerationInit.rs b/crates/web-sys/src/features/gen_DeviceAccelerationInit.rs index 6451db5d32e..b068a0fef13 100644 --- a/crates/web-sys/src/features/gen_DeviceAccelerationInit.rs +++ b/crates/web-sys/src/features/gen_DeviceAccelerationInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DeviceAccelerationInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DeviceAccelerationInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DeviceAccelerationInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DeviceLightEvent.rs b/crates/web-sys/src/features/gen_DeviceLightEvent.rs index 0397361722f..39087647839 100644 --- a/crates/web-sys/src/features/gen_DeviceLightEvent.rs +++ b/crates/web-sys/src/features/gen_DeviceLightEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = DeviceLightEvent , typescript_type = "DeviceLightEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = DeviceLightEvent , typescript_type = "DeviceLightEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DeviceLightEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DeviceLightEventInit.rs b/crates/web-sys/src/features/gen_DeviceLightEventInit.rs index 4356d73e1c1..c61aa2b2043 100644 --- a/crates/web-sys/src/features/gen_DeviceLightEventInit.rs +++ b/crates/web-sys/src/features/gen_DeviceLightEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DeviceLightEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DeviceLightEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DeviceLightEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DeviceMotionEvent.rs b/crates/web-sys/src/features/gen_DeviceMotionEvent.rs index 59eaf86aee0..5993f726f03 100644 --- a/crates/web-sys/src/features/gen_DeviceMotionEvent.rs +++ b/crates/web-sys/src/features/gen_DeviceMotionEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = DeviceMotionEvent , typescript_type = "DeviceMotionEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = DeviceMotionEvent , typescript_type = "DeviceMotionEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DeviceMotionEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `DeviceAcceleration`, `DeviceMotionEvent`*"] pub fn acceleration(this: &DeviceMotionEvent) -> Option; #[cfg(feature = "DeviceAcceleration")] - # [ wasm_bindgen ( structural , method , getter , js_class = "DeviceMotionEvent" , js_name = accelerationIncludingGravity ) ] + # [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)"] @@ -28,14 +28,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `DeviceAcceleration`, `DeviceMotionEvent`*"] pub fn acceleration_including_gravity(this: &DeviceMotionEvent) -> Option; #[cfg(feature = "DeviceRotationRate")] - # [ wasm_bindgen ( structural , method , getter , js_class = "DeviceMotionEvent" , js_name = rotationRate ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "DeviceMotionEvent" , js_name = interval ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DeviceMotionEventInit.rs b/crates/web-sys/src/features/gen_DeviceMotionEventInit.rs index 726585ce6ac..79ad5f5268a 100644 --- a/crates/web-sys/src/features/gen_DeviceMotionEventInit.rs +++ b/crates/web-sys/src/features/gen_DeviceMotionEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DeviceMotionEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DeviceMotionEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DeviceMotionEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DeviceOrientationEvent.rs b/crates/web-sys/src/features/gen_DeviceOrientationEvent.rs index aa2a2d76373..d7ec8c767cd 100644 --- a/crates/web-sys/src/features/gen_DeviceOrientationEvent.rs +++ b/crates/web-sys/src/features/gen_DeviceOrientationEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = DeviceOrientationEvent , typescript_type = "DeviceOrientationEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = DeviceOrientationEvent , typescript_type = "DeviceOrientationEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DeviceOrientationEvent` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "DeviceOrientationEvent" , js_name = beta ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "DeviceOrientationEvent" , js_name = gamma ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "DeviceOrientationEvent" , js_name = absolute ) ] + # [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)"] @@ -57,14 +57,14 @@ extern "C" { type_: &str, event_init_dict: &DeviceOrientationEventInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "DeviceOrientationEvent" , js_name = initDeviceOrientationEvent ) ] + # [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 ) ] + # [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)"] @@ -75,7 +75,7 @@ extern "C" { type_: &str, can_bubble: bool, ); - # [ wasm_bindgen ( method , structural , js_class = "DeviceOrientationEvent" , js_name = initDeviceOrientationEvent ) ] + # [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)"] @@ -87,7 +87,7 @@ extern "C" { can_bubble: bool, cancelable: bool, ); - # [ wasm_bindgen ( method , structural , js_class = "DeviceOrientationEvent" , js_name = initDeviceOrientationEvent ) ] + # [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)"] @@ -100,7 +100,7 @@ extern "C" { cancelable: bool, alpha: Option, ); - # [ wasm_bindgen ( method , structural , js_class = "DeviceOrientationEvent" , js_name = initDeviceOrientationEvent ) ] + # [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)"] @@ -114,7 +114,7 @@ extern "C" { alpha: Option, beta: Option, ); - # [ wasm_bindgen ( method , structural , js_class = "DeviceOrientationEvent" , js_name = initDeviceOrientationEvent ) ] + # [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)"] @@ -129,7 +129,7 @@ extern "C" { beta: Option, gamma: Option, ); - # [ wasm_bindgen ( method , structural , js_class = "DeviceOrientationEvent" , js_name = initDeviceOrientationEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DeviceOrientationEventInit.rs b/crates/web-sys/src/features/gen_DeviceOrientationEventInit.rs index 1b6c85b08a4..66c01940b9e 100644 --- a/crates/web-sys/src/features/gen_DeviceOrientationEventInit.rs +++ b/crates/web-sys/src/features/gen_DeviceOrientationEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DeviceOrientationEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DeviceOrientationEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DeviceOrientationEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DeviceProximityEvent.rs b/crates/web-sys/src/features/gen_DeviceProximityEvent.rs index 6beeb2ea230..c3c92ac8fc6 100644 --- a/crates/web-sys/src/features/gen_DeviceProximityEvent.rs +++ b/crates/web-sys/src/features/gen_DeviceProximityEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = DeviceProximityEvent , typescript_type = "DeviceProximityEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = DeviceProximityEvent , typescript_type = "DeviceProximityEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DeviceProximityEvent` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DeviceProximityEventInit.rs b/crates/web-sys/src/features/gen_DeviceProximityEventInit.rs index 3be8dfe536b..5900d560b25 100644 --- a/crates/web-sys/src/features/gen_DeviceProximityEventInit.rs +++ b/crates/web-sys/src/features/gen_DeviceProximityEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DeviceProximityEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DeviceProximityEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DeviceProximityEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DeviceRotationRate.rs b/crates/web-sys/src/features/gen_DeviceRotationRate.rs index 7797b28cd1d..73782abebc9 100644 --- a/crates/web-sys/src/features/gen_DeviceRotationRate.rs +++ b/crates/web-sys/src/features/gen_DeviceRotationRate.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "DeviceRotationRate" , js_name = beta ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "DeviceRotationRate" , js_name = gamma ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DeviceRotationRateInit.rs b/crates/web-sys/src/features/gen_DeviceRotationRateInit.rs index 1023260ff26..d6426338e31 100644 --- a/crates/web-sys/src/features/gen_DeviceRotationRateInit.rs +++ b/crates/web-sys/src/features/gen_DeviceRotationRateInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DeviceRotationRateInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DeviceRotationRateInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DeviceRotationRateInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DhKeyDeriveParams.rs b/crates/web-sys/src/features/gen_DhKeyDeriveParams.rs index 3b3c9adc4fb..3bb1bbc3c12 100644 --- a/crates/web-sys/src/features/gen_DhKeyDeriveParams.rs +++ b/crates/web-sys/src/features/gen_DhKeyDeriveParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DhKeyDeriveParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DhKeyDeriveParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DhKeyDeriveParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Directory.rs b/crates/web-sys/src/features/gen_Directory.rs index 4158c039279..6eed3203e74 100644 --- a/crates/web-sys/src/features/gen_Directory.rs +++ b/crates/web-sys/src/features/gen_Directory.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Directory , typescript_type = "Directory" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Directory , typescript_type = "Directory")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Directory` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Directory" , js_name = path ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Directory" , js_name = getFiles ) ] + # [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 ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { this: &Directory, recursive_flag: bool, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Directory" , js_name = getFilesAndDirectories ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DisplayNameOptions.rs b/crates/web-sys/src/features/gen_DisplayNameOptions.rs index 3af98a07c0f..cd32415e9dc 100644 --- a/crates/web-sys/src/features/gen_DisplayNameOptions.rs +++ b/crates/web-sys/src/features/gen_DisplayNameOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DisplayNameOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DisplayNameOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DisplayNameOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DisplayNameResult.rs b/crates/web-sys/src/features/gen_DisplayNameResult.rs index b75d08beb66..14f5faf23e2 100644 --- a/crates/web-sys/src/features/gen_DisplayNameResult.rs +++ b/crates/web-sys/src/features/gen_DisplayNameResult.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DisplayNameResult ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DisplayNameResult)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DisplayNameResult` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DnsCacheDict.rs b/crates/web-sys/src/features/gen_DnsCacheDict.rs index e539eb39b24..ef554db7ff5 100644 --- a/crates/web-sys/src/features/gen_DnsCacheDict.rs +++ b/crates/web-sys/src/features/gen_DnsCacheDict.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DNSCacheDict ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DNSCacheDict)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DnsCacheDict` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DnsCacheEntry.rs b/crates/web-sys/src/features/gen_DnsCacheEntry.rs index b8cab658e75..f0633fae81a 100644 --- a/crates/web-sys/src/features/gen_DnsCacheEntry.rs +++ b/crates/web-sys/src/features/gen_DnsCacheEntry.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DnsCacheEntry ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DnsCacheEntry)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DnsCacheEntry` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DnsLookupDict.rs b/crates/web-sys/src/features/gen_DnsLookupDict.rs index 1567c2aa86c..4c53bfe24e0 100644 --- a/crates/web-sys/src/features/gen_DnsLookupDict.rs +++ b/crates/web-sys/src/features/gen_DnsLookupDict.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DNSLookupDict ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DNSLookupDict)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DnsLookupDict` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Document.rs b/crates/web-sys/src/features/gen_Document.rs index 24a50690b17..6d8cd542cb6 100644 --- a/crates/web-sys/src/features/gen_Document.rs +++ b/crates/web-sys/src/features/gen_Document.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,56 +12,56 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Document" , js_name = URL ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Document" , js_name = documentURI ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = compatMode ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -69,7 +69,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -77,7 +77,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `DocumentType`*"] pub fn doctype(this: &Document) -> Option; #[cfg(feature = "Element")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = documentElement ) ] + # [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)"] @@ -85,56 +85,56 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"] pub fn document_element(this: &Document) -> Option; #[cfg(feature = "Location")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = 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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = referrer ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -142,7 +142,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -150,7 +150,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlElement`*"] pub fn body(this: &Document) -> Option; #[cfg(feature = "HtmlElement")] - # [ wasm_bindgen ( structural , method , setter , js_class = "Document" , js_name = body ) ] + # [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)"] @@ -158,7 +158,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -166,7 +166,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlHeadElement`*"] pub fn head(this: &Document) -> Option; #[cfg(feature = "HtmlCollection")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = images ) ] + # [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)"] @@ -174,7 +174,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -182,7 +182,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -190,7 +190,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -198,7 +198,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -206,7 +206,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -214,63 +214,63 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = onreadystatechange ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -278,7 +278,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -286,7 +286,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"] pub fn current_script(this: &Document) -> Option; #[cfg(feature = "HtmlCollection")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = anchors ) ] + # [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)"] @@ -294,84 +294,84 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -379,49 +379,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , setter , js_class = "Document" , js_name = selectedStyleSheetSet ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = preferredStyleSheetSet ) ] + # [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)"] @@ -429,7 +429,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`*"] pub fn preferred_style_sheet_set(this: &Document) -> Option; #[cfg(feature = "DomStringList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = styleSheetSets ) ] + # [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)"] @@ -437,7 +437,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -445,7 +445,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"] pub fn scrolling_element(this: &Document) -> Option; #[cfg(feature = "DocumentTimeline")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = timeline ) ] + # [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)"] @@ -453,49 +453,49 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = oncopy ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -503,7 +503,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -511,7 +511,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"] pub fn active_element(this: &Document) -> Option; #[cfg(feature = "StyleSheetList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = styleSheets ) ] + # [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)"] @@ -519,7 +519,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -527,7 +527,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"] pub fn pointer_lock_element(this: &Document) -> Option; #[cfg(feature = "Element")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = fullscreenElement ) ] + # [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)"] @@ -535,1169 +535,1169 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"] pub fn fullscreen_element(this: &Document) -> Option; #[cfg(feature = "FontFaceSet")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = fonts ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1705,7 +1705,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1713,7 +1713,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1721,70 +1721,70 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"] pub fn first_element_child(this: &Document) -> Option; #[cfg(feature = "Element")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = lastElementChild ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Document" , js_name = childElementCount ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1798,7 +1798,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `Document`*"] pub fn new() -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = adoptNode ) ] + # [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)"] @@ -1806,7 +1806,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`*"] pub fn adopt_node(this: &Document, node: &Node) -> Result; #[cfg(feature = "CaretPosition")] - # [ wasm_bindgen ( method , structural , js_class = "Document" , js_name = caretPositionFromPoint ) ] + # [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)"] @@ -1814,7 +1814,7 @@ extern "C" { #[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; #[cfg(feature = "Attr")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createAttribute ) ] + # [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)"] @@ -1822,7 +1822,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Attr`, `Document`*"] pub fn create_attribute(this: &Document, name: &str) -> Result; #[cfg(feature = "Attr")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createAttributeNS ) ] + # [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)"] @@ -1834,7 +1834,7 @@ extern "C" { name: &str, ) -> Result; #[cfg(feature = "CdataSection")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createCDATASection ) ] + # [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)"] @@ -1842,7 +1842,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `CdataSection`, `Document`*"] pub fn create_cdata_section(this: &Document, data: &str) -> Result; #[cfg(feature = "Comment")] - # [ wasm_bindgen ( method , structural , js_class = "Document" , js_name = createComment ) ] + # [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)"] @@ -1850,7 +1850,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1858,7 +1858,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1866,7 +1866,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"] pub fn create_element(this: &Document, local_name: &str) -> Result; #[cfg(all(feature = "Element", feature = "ElementCreationOptions",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createElement ) ] + # [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)"] @@ -1878,7 +1878,7 @@ extern "C" { options: &ElementCreationOptions, ) -> Result; #[cfg(feature = "Element")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createElement ) ] + # [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)"] @@ -1890,7 +1890,7 @@ extern "C" { options: &str, ) -> Result; #[cfg(feature = "Element")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createElementNS ) ] + # [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)"] @@ -1902,7 +1902,7 @@ extern "C" { qualified_name: &str, ) -> Result; #[cfg(all(feature = "Element", feature = "ElementCreationOptions",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createElementNS ) ] + # [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)"] @@ -1915,7 +1915,7 @@ extern "C" { options: &ElementCreationOptions, ) -> Result; #[cfg(feature = "Element")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createElementNS ) ] + # [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)"] @@ -1928,7 +1928,7 @@ extern "C" { options: &str, ) -> Result; #[cfg(feature = "Event")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createEvent ) ] + # [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)"] @@ -1936,7 +1936,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `Event`*"] pub fn create_event(this: &Document, interface: &str) -> Result; #[cfg(feature = "NodeIterator")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createNodeIterator ) ] + # [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)"] @@ -1944,7 +1944,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeIterator`*"] pub fn create_node_iterator(this: &Document, root: &Node) -> Result; #[cfg(feature = "NodeIterator")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createNodeIterator ) ] + # [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)"] @@ -1956,7 +1956,7 @@ extern "C" { what_to_show: u32, ) -> Result; #[cfg(all(feature = "NodeFilter", feature = "NodeIterator",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createNodeIterator ) ] + # [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)"] @@ -1969,7 +1969,7 @@ extern "C" { filter: Option<&NodeFilter>, ) -> Result; #[cfg(feature = "ProcessingInstruction")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createProcessingInstruction ) ] + # [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)"] @@ -1981,7 +1981,7 @@ extern "C" { data: &str, ) -> Result; #[cfg(feature = "Range")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createRange ) ] + # [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)"] @@ -1989,7 +1989,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `Range`*"] pub fn create_range(this: &Document) -> Result; #[cfg(feature = "Text")] - # [ wasm_bindgen ( method , structural , js_class = "Document" , js_name = createTextNode ) ] + # [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)"] @@ -1997,7 +1997,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -2005,7 +2005,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `TreeWalker`*"] pub fn create_tree_walker(this: &Document, root: &Node) -> Result; #[cfg(feature = "TreeWalker")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createTreeWalker ) ] + # [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)"] @@ -2017,7 +2017,7 @@ extern "C" { what_to_show: u32, ) -> Result; #[cfg(all(feature = "NodeFilter", feature = "TreeWalker",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createTreeWalker ) ] + # [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)"] @@ -2029,28 +2029,28 @@ extern "C" { what_to_show: u32, filter: Option<&NodeFilter>, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "Document" , js_name = enableStyleSheetsForSet ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -2058,7 +2058,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -2066,7 +2066,7 @@ extern "C" { #[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; #[cfg(feature = "HtmlCollection")] - # [ wasm_bindgen ( method , structural , js_class = "Document" , js_name = getElementsByClassName ) ] + # [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)"] @@ -2074,7 +2074,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -2082,7 +2082,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -2090,7 +2090,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -2102,28 +2102,28 @@ extern "C" { local_name: &str, ) -> Result; #[cfg(feature = "Selection")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = getSelection ) ] + # [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, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = hasFocus ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = importNode ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = importNode ) ] + # [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)"] @@ -2132,7 +2132,7 @@ extern "C" { pub fn import_node_with_deep(this: &Document, node: &Node, deep: bool) -> Result; #[cfg(feature = "Element")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = querySelector ) ] + # [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)"] @@ -2140,14 +2140,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"] pub fn query_selector(this: &Document, selectors: &str) -> Result, JsValue>; #[cfg(feature = "NodeList")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = querySelectorAll ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "Document" , js_name = releaseCapture ) ] + # [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)"] @@ -2155,14 +2155,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "Document" , js_name = elementsFromPoint ) ] + # [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)"] @@ -2170,7 +2170,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -2182,7 +2182,7 @@ extern "C" { from: &Text, ) -> Result; #[cfg(all(feature = "DomPoint", feature = "DomPointInit", feature = "Element",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertPointFromNode ) ] + # [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)"] @@ -2194,7 +2194,7 @@ extern "C" { from: &Element, ) -> Result; #[cfg(all(feature = "DomPoint", feature = "DomPointInit",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertPointFromNode ) ] + # [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)"] @@ -2211,7 +2211,7 @@ extern "C" { feature = "DomPointInit", feature = "Text", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertPointFromNode ) ] + # [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)"] @@ -2229,7 +2229,7 @@ extern "C" { feature = "DomPointInit", feature = "Element", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertPointFromNode ) ] + # [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)"] @@ -2246,7 +2246,7 @@ extern "C" { feature = "DomPoint", feature = "DomPointInit", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertPointFromNode ) ] + # [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)"] @@ -2259,7 +2259,7 @@ extern "C" { options: &ConvertCoordinateOptions, ) -> Result; #[cfg(all(feature = "DomQuad", feature = "Text",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -2271,7 +2271,7 @@ extern "C" { from: &Text, ) -> Result; #[cfg(all(feature = "DomQuad", feature = "Element",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -2283,7 +2283,7 @@ extern "C" { from: &Element, ) -> Result; #[cfg(feature = "DomQuad")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -2299,7 +2299,7 @@ extern "C" { feature = "DomQuad", feature = "Text", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -2316,7 +2316,7 @@ extern "C" { feature = "DomQuad", feature = "Element", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -2329,7 +2329,7 @@ extern "C" { options: &ConvertCoordinateOptions, ) -> Result; #[cfg(all(feature = "ConvertCoordinateOptions", feature = "DomQuad",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -2342,7 +2342,7 @@ extern "C" { options: &ConvertCoordinateOptions, ) -> Result; #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly", feature = "Text",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertRectFromNode ) ] + # [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)"] @@ -2354,7 +2354,7 @@ extern "C" { from: &Text, ) -> Result; #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly", feature = "Element",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertRectFromNode ) ] + # [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)"] @@ -2366,7 +2366,7 @@ extern "C" { from: &Element, ) -> Result; #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertRectFromNode ) ] + # [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)"] @@ -2383,7 +2383,7 @@ extern "C" { feature = "DomRectReadOnly", feature = "Text", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertRectFromNode ) ] + # [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)"] @@ -2401,7 +2401,7 @@ extern "C" { feature = "DomRectReadOnly", feature = "Element", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertRectFromNode ) ] + # [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)"] @@ -2418,7 +2418,7 @@ extern "C" { feature = "DomQuad", feature = "DomRectReadOnly", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = convertRectFromNode ) ] + # [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)"] @@ -2430,7 +2430,7 @@ extern "C" { from: &Document, options: &ConvertCoordinateOptions, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = getBoxQuads ) ] + # [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)"] @@ -2438,7 +2438,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -2448,28 +2448,28 @@ extern "C" { this: &Document, options: &BoxQuadOptions, ) -> Result<::js_sys::Array, JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Document" , js_name = append ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -2480,7 +2480,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = append ) ] + # [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)"] @@ -2492,7 +2492,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = append ) ] + # [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)"] @@ -2505,7 +2505,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = append ) ] + # [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)"] @@ -2519,7 +2519,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = append ) ] + # [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)"] @@ -2534,7 +2534,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = append ) ] + # [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)"] @@ -2550,35 +2550,35 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Document" , js_name = append ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -2590,7 +2590,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = append ) ] + # [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)"] @@ -2603,7 +2603,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = append ) ] + # [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)"] @@ -2617,7 +2617,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = append ) ] + # [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)"] @@ -2632,7 +2632,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = append ) ] + # [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)"] @@ -2648,28 +2648,28 @@ extern "C" { nodes_6: &str, nodes_7: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Document" , js_name = prepend ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -2680,7 +2680,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = prepend ) ] + # [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)"] @@ -2692,7 +2692,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = prepend ) ] + # [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)"] @@ -2705,7 +2705,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = prepend ) ] + # [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)"] @@ -2719,7 +2719,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = prepend ) ] + # [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)"] @@ -2734,7 +2734,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = prepend ) ] + # [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)"] @@ -2750,28 +2750,28 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Document" , js_name = prepend ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -2779,7 +2779,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -2791,7 +2791,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = prepend ) ] + # [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)"] @@ -2804,7 +2804,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = prepend ) ] + # [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)"] @@ -2818,7 +2818,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = prepend ) ] + # [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)"] @@ -2833,7 +2833,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = prepend ) ] + # [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)"] @@ -2850,7 +2850,7 @@ extern "C" { nodes_7: &str, ) -> Result<(), JsValue>; #[cfg(feature = "XPathExpression")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createExpression ) ] + # [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)"] @@ -2859,7 +2859,7 @@ extern "C" { pub fn create_expression(this: &Document, expression: &str) -> Result; #[cfg(feature = "XPathExpression")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createExpression ) ] + # [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)"] @@ -2871,7 +2871,7 @@ extern "C" { resolver: Option<&::js_sys::Function>, ) -> Result; #[cfg(all(feature = "XPathExpression", feature = "XPathNsResolver",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = createExpression ) ] + # [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)"] @@ -2882,7 +2882,7 @@ extern "C" { expression: &str, resolver: Option<&XPathNsResolver>, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "Document" , js_name = createNSResolver ) ] + # [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)"] @@ -2890,7 +2890,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -2902,7 +2902,7 @@ extern "C" { context_node: &Node, ) -> Result; #[cfg(feature = "XPathResult")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = evaluate ) ] + # [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)"] @@ -2915,7 +2915,7 @@ extern "C" { resolver: Option<&::js_sys::Function>, ) -> Result; #[cfg(all(feature = "XPathNsResolver", feature = "XPathResult",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = evaluate ) ] + # [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)"] @@ -2928,7 +2928,7 @@ extern "C" { resolver: Option<&XPathNsResolver>, ) -> Result; #[cfg(feature = "XPathResult")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = evaluate ) ] + # [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)"] @@ -2942,7 +2942,7 @@ extern "C" { type_: u16, ) -> Result; #[cfg(all(feature = "XPathNsResolver", feature = "XPathResult",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = evaluate ) ] + # [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)"] @@ -2956,7 +2956,7 @@ extern "C" { type_: u16, ) -> Result; #[cfg(feature = "XPathResult")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = evaluate ) ] + # [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)"] @@ -2971,7 +2971,7 @@ extern "C" { result: Option<&::js_sys::Object>, ) -> Result; #[cfg(all(feature = "XPathNsResolver", feature = "XPathResult",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Document" , js_name = evaluate ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DocumentFragment.rs b/crates/web-sys/src/features/gen_DocumentFragment.rs index 151af101af6..fa64d510a18 100644 --- a/crates/web-sys/src/features/gen_DocumentFragment.rs +++ b/crates/web-sys/src/features/gen_DocumentFragment.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,14 +28,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*"] pub fn first_element_child(this: &DocumentFragment) -> Option; #[cfg(feature = "Element")] - # [ wasm_bindgen ( structural , method , getter , js_class = "DocumentFragment" , js_name = lastElementChild ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "DocumentFragment" , js_name = childElementCount ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] pub fn new() -> Result; #[cfg(feature = "Element")] - # [ wasm_bindgen ( method , structural , js_class = "DocumentFragment" , js_name = getElementById ) ] + # [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)"] @@ -58,7 +58,7 @@ extern "C" { #[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; #[cfg(feature = "Element")] - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = querySelector ) ] + # [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)"] @@ -69,7 +69,7 @@ extern "C" { selectors: &str, ) -> Result, JsValue>; #[cfg(feature = "NodeList")] - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = querySelectorAll ) ] + # [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)"] @@ -79,7 +79,7 @@ extern "C" { this: &DocumentFragment, selectors: &str, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "DocumentFragment" , js_name = append ) ] + # [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)"] @@ -89,21 +89,21 @@ extern "C" { this: &DocumentFragment, nodes: &::js_sys::Array, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = append ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -114,7 +114,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = append ) ] + # [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)"] @@ -126,7 +126,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = append ) ] + # [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)"] @@ -139,7 +139,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = append ) ] + # [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)"] @@ -153,7 +153,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = append ) ] + # [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)"] @@ -168,7 +168,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = append ) ] + # [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)"] @@ -184,7 +184,7 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "DocumentFragment" , js_name = append ) ] + # [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)"] @@ -192,21 +192,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -217,7 +217,7 @@ extern "C" { nodes_1: &str, nodes_2: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = append ) ] + # [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)"] @@ -229,7 +229,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = append ) ] + # [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)"] @@ -242,7 +242,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = append ) ] + # [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)"] @@ -256,7 +256,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = append ) ] + # [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)"] @@ -271,7 +271,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = append ) ] + # [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)"] @@ -287,7 +287,7 @@ extern "C" { nodes_6: &str, nodes_7: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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)"] @@ -297,21 +297,21 @@ extern "C" { this: &DocumentFragment, nodes: &::js_sys::Array, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -322,7 +322,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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)"] @@ -334,7 +334,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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)"] @@ -347,7 +347,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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)"] @@ -361,7 +361,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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)"] @@ -376,7 +376,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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)"] @@ -392,7 +392,7 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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)"] @@ -402,21 +402,21 @@ extern "C" { this: &DocumentFragment, nodes: &::js_sys::Array, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -427,7 +427,7 @@ extern "C" { nodes_1: &str, nodes_2: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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)"] @@ -439,7 +439,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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)"] @@ -452,7 +452,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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)"] @@ -466,7 +466,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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)"] @@ -481,7 +481,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentFragment" , js_name = prepend ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DocumentTimeline.rs b/crates/web-sys/src/features/gen_DocumentTimeline.rs index f34c7431f09..57247e81940 100644 --- a/crates/web-sys/src/features/gen_DocumentTimeline.rs +++ b/crates/web-sys/src/features/gen_DocumentTimeline.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = AnimationTimeline , extends = :: js_sys :: Object , js_name = DocumentTimeline , typescript_type = "DocumentTimeline" ) ] + # [wasm_bindgen (extends = AnimationTimeline , extends = :: js_sys :: Object , js_name = DocumentTimeline , typescript_type = "DocumentTimeline")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DocumentTimeline` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DocumentTimelineOptions.rs b/crates/web-sys/src/features/gen_DocumentTimelineOptions.rs index b619f32103c..020d1f3b76d 100644 --- a/crates/web-sys/src/features/gen_DocumentTimelineOptions.rs +++ b/crates/web-sys/src/features/gen_DocumentTimelineOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DocumentTimelineOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DocumentTimelineOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DocumentTimelineOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DocumentType.rs b/crates/web-sys/src/features/gen_DocumentType.rs index 252298d8148..2b6280c9b2b 100644 --- a/crates/web-sys/src/features/gen_DocumentType.rs +++ b/crates/web-sys/src/features/gen_DocumentType.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,49 +11,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -64,7 +64,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = after ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = after ) ] + # [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)"] @@ -89,7 +89,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = after ) ] + # [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)"] @@ -103,7 +103,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = after ) ] + # [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)"] @@ -118,7 +118,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = after ) ] + # [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)"] @@ -134,28 +134,28 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "DocumentType" , js_name = after ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -166,7 +166,7 @@ extern "C" { nodes_1: &str, nodes_2: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = after ) ] + # [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)"] @@ -178,7 +178,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = after ) ] + # [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)"] @@ -191,7 +191,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = after ) ] + # [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)"] @@ -205,7 +205,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = after ) ] + # [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)"] @@ -220,7 +220,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = after ) ] + # [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)"] @@ -236,28 +236,28 @@ extern "C" { nodes_6: &str, nodes_7: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "DocumentType" , js_name = before ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -268,7 +268,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = before ) ] + # [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)"] @@ -280,7 +280,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = before ) ] + # [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)"] @@ -293,7 +293,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = before ) ] + # [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)"] @@ -307,7 +307,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = before ) ] + # [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)"] @@ -322,7 +322,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = before ) ] + # [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)"] @@ -338,28 +338,28 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "DocumentType" , js_name = before ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -370,7 +370,7 @@ extern "C" { nodes_1: &str, nodes_2: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = before ) ] + # [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)"] @@ -382,7 +382,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = before ) ] + # [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)"] @@ -395,7 +395,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = before ) ] + # [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)"] @@ -409,7 +409,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = before ) ] + # [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)"] @@ -424,7 +424,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = before ) ] + # [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)"] @@ -440,14 +440,14 @@ extern "C" { nodes_6: &str, nodes_7: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "DocumentType" , js_name = remove ) ] + # [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 ) ] + # [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)"] @@ -457,21 +457,21 @@ extern "C" { this: &DocumentType, nodes: &::js_sys::Array, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = replaceWith ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -482,7 +482,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = replaceWith ) ] + # [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)"] @@ -494,7 +494,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = replaceWith ) ] + # [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)"] @@ -507,7 +507,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = replaceWith ) ] + # [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)"] @@ -521,7 +521,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = replaceWith ) ] + # [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)"] @@ -536,7 +536,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = replaceWith ) ] + # [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)"] @@ -552,7 +552,7 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "DocumentType" , js_name = replaceWith ) ] + # [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)"] @@ -562,21 +562,21 @@ extern "C" { this: &DocumentType, nodes: &::js_sys::Array, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = replaceWith ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -587,7 +587,7 @@ extern "C" { nodes_1: &str, nodes_2: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = replaceWith ) ] + # [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)"] @@ -599,7 +599,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = replaceWith ) ] + # [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)"] @@ -612,7 +612,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = replaceWith ) ] + # [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)"] @@ -626,7 +626,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = replaceWith ) ] + # [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)"] @@ -641,7 +641,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DocumentType" , js_name = replaceWith ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomError.rs b/crates/web-sys/src/features/gen_DomError.rs index a4eeb43be6e..33e4f49195b 100644 --- a/crates/web-sys/src/features/gen_DomError.rs +++ b/crates/web-sys/src/features/gen_DomError.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMError , typescript_type = "DOMError" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMError , typescript_type = "DOMError")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomError` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomException.rs b/crates/web-sys/src/features/gen_DomException.rs index f5341f960e5..d7035a17069 100644 --- a/crates/web-sys/src/features/gen_DomException.rs +++ b/crates/web-sys/src/features/gen_DomException.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMException , typescript_type = "DOMException" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMException , typescript_type = "DOMException")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomException` class."] #[doc = ""] @@ -11,63 +11,63 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomImplementation.rs b/crates/web-sys/src/features/gen_DomImplementation.rs index 06f03e98928..3f09acc2b6e 100644 --- a/crates/web-sys/src/features/gen_DomImplementation.rs +++ b/crates/web-sys/src/features/gen_DomImplementation.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMImplementation , typescript_type = "DOMImplementation" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMImplementation , typescript_type = "DOMImplementation")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomImplementation` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -24,7 +24,7 @@ extern "C" { qualified_name: &str, ) -> Result; #[cfg(all(feature = "Document", feature = "DocumentType",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMImplementation" , js_name = createDocument ) ] + # [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)"] @@ -37,7 +37,7 @@ extern "C" { doctype: Option<&DocumentType>, ) -> Result; #[cfg(feature = "DocumentType")] - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMImplementation" , js_name = createDocumentType ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { system_id: &str, ) -> Result; #[cfg(feature = "Document")] - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMImplementation" , js_name = createHTMLDocument ) ] + # [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)"] @@ -58,7 +58,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `DomImplementation`*"] pub fn create_html_document(this: &DomImplementation) -> Result; #[cfg(feature = "Document")] - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMImplementation" , js_name = createHTMLDocument ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { this: &DomImplementation, title: &str, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "DOMImplementation" , js_name = hasFeature ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomMatrix.rs b/crates/web-sys/src/features/gen_DomMatrix.rs index c57eaca154e..3212e048f1b 100644 --- a/crates/web-sys/src/features/gen_DomMatrix.rs +++ b/crates/web-sys/src/features/gen_DomMatrix.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = DomMatrixReadOnly , extends = :: js_sys :: Object , js_name = DOMMatrix , typescript_type = "DOMMatrix" ) ] + # [wasm_bindgen (extends = DomMatrixReadOnly , extends = :: js_sys :: Object , js_name = DOMMatrix , typescript_type = "DOMMatrix")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomMatrix` class."] #[doc = ""] @@ -11,308 +11,308 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -363,28 +363,28 @@ extern "C" { pub fn new_with_number_sequence( number_sequence: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrix" , js_name = invertSelf ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -397,28 +397,28 @@ extern "C" { z: f64, angle: f64, ) -> DomMatrix; - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrix" , js_name = rotateFromVectorSelf ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -430,21 +430,21 @@ extern "C" { origin_x: f64, origin_y: f64, ) -> DomMatrix; - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrix" , js_name = scale3dSelf ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -456,7 +456,7 @@ extern "C" { origin_x: f64, origin_y: f64, ) -> DomMatrix; - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrix" , js_name = scale3dSelf ) ] + # [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)"] @@ -469,14 +469,14 @@ extern "C" { origin_y: f64, origin_z: f64, ) -> DomMatrix; - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrix" , js_name = scaleNonUniformSelf ) ] + # [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 ) ] + # [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)"] @@ -487,7 +487,7 @@ extern "C" { scale_x: f64, scale_y: f64, ) -> DomMatrix; - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrix" , js_name = scaleNonUniformSelf ) ] + # [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)"] @@ -499,7 +499,7 @@ extern "C" { scale_y: f64, scale_z: f64, ) -> DomMatrix; - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrix" , js_name = scaleNonUniformSelf ) ] + # [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)"] @@ -512,7 +512,7 @@ extern "C" { scale_z: f64, origin_x: f64, ) -> DomMatrix; - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrix" , js_name = scaleNonUniformSelf ) ] + # [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)"] @@ -526,7 +526,7 @@ extern "C" { origin_x: f64, origin_y: f64, ) -> DomMatrix; - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrix" , js_name = scaleNonUniformSelf ) ] + # [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)"] @@ -541,21 +541,21 @@ extern "C" { origin_y: f64, origin_z: f64, ) -> DomMatrix; - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrix" , js_name = scaleSelf ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -567,35 +567,35 @@ extern "C" { origin_x: f64, origin_y: f64, ) -> DomMatrix; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMMatrix" , js_name = setMatrixValue ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrix" , js_name = skewXSelf ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomMatrixReadOnly.rs b/crates/web-sys/src/features/gen_DomMatrixReadOnly.rs index 0f2605f1363..a31e55465d2 100644 --- a/crates/web-sys/src/features/gen_DomMatrixReadOnly.rs +++ b/crates/web-sys/src/features/gen_DomMatrixReadOnly.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMMatrixReadOnly , typescript_type = "DOMMatrixReadOnly" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMMatrixReadOnly , typescript_type = "DOMMatrixReadOnly")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomMatrixReadOnly` class."] #[doc = ""] @@ -11,168 +11,168 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -203,7 +203,7 @@ extern "C" { init: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "DomMatrix")] - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrixReadOnly" , js_name = flipX ) ] + # [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)"] @@ -211,7 +211,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -219,7 +219,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -227,7 +227,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -235,7 +235,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -243,7 +243,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -251,7 +251,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -264,7 +264,7 @@ extern "C" { origin_y: f64, ) -> DomMatrix; #[cfg(feature = "DomMatrix")] - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrixReadOnly" , js_name = rotateAxisAngle ) ] + # [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)"] @@ -278,7 +278,7 @@ extern "C" { angle: f64, ) -> DomMatrix; #[cfg(feature = "DomMatrix")] - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrixReadOnly" , js_name = rotateFromVector ) ] + # [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)"] @@ -286,7 +286,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -294,7 +294,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -302,7 +302,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -315,7 +315,7 @@ extern "C" { origin_y: f64, ) -> DomMatrix; #[cfg(feature = "DomMatrix")] - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale3d ) ] + # [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)"] @@ -323,7 +323,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -331,7 +331,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -344,7 +344,7 @@ extern "C" { origin_y: f64, ) -> DomMatrix; #[cfg(feature = "DomMatrix")] - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale3d ) ] + # [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)"] @@ -358,7 +358,7 @@ extern "C" { origin_z: f64, ) -> DomMatrix; #[cfg(feature = "DomMatrix")] - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform ) ] + # [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)"] @@ -366,7 +366,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -378,7 +378,7 @@ extern "C" { scale_y: f64, ) -> DomMatrix; #[cfg(feature = "DomMatrix")] - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform ) ] + # [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)"] @@ -391,7 +391,7 @@ extern "C" { scale_z: f64, ) -> DomMatrix; #[cfg(feature = "DomMatrix")] - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform ) ] + # [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)"] @@ -405,7 +405,7 @@ extern "C" { origin_x: f64, ) -> DomMatrix; #[cfg(feature = "DomMatrix")] - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform ) ] + # [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)"] @@ -420,7 +420,7 @@ extern "C" { origin_y: f64, ) -> DomMatrix; #[cfg(feature = "DomMatrix")] - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform ) ] + # [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)"] @@ -436,7 +436,7 @@ extern "C" { origin_z: f64, ) -> DomMatrix; #[cfg(feature = "DomMatrix")] - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrixReadOnly" , js_name = skewX ) ] + # [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)"] @@ -444,28 +444,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMMatrixReadOnly" , js_name = toFloat64Array ) ] + # [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, JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "DOMMatrixReadOnly" , js_name = toJSON ) ] + # [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)"] @@ -473,7 +473,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -481,7 +481,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -489,7 +489,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -497,7 +497,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomParser.rs b/crates/web-sys/src/features/gen_DomParser.rs index 06952844b24..97385ccfef7 100644 --- a/crates/web-sys/src/features/gen_DomParser.rs +++ b/crates/web-sys/src/features/gen_DomParser.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMParser , typescript_type = "DOMParser" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMParser , typescript_type = "DOMParser")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomParser` class."] #[doc = ""] @@ -19,7 +19,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `DomParser`*"] pub fn new() -> Result; #[cfg(all(feature = "Document", feature = "SupportedType",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMParser" , js_name = parseFromString ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomPoint.rs b/crates/web-sys/src/features/gen_DomPoint.rs index 3e72ee10a2f..5a563cde7d1 100644 --- a/crates/web-sys/src/features/gen_DomPoint.rs +++ b/crates/web-sys/src/features/gen_DomPoint.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = DomPointReadOnly , extends = :: js_sys :: Object , js_name = DOMPoint , typescript_type = "DOMPoint" ) ] + # [wasm_bindgen (extends = DomPointReadOnly , extends = :: js_sys :: Object , js_name = DOMPoint , typescript_type = "DOMPoint")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomPoint` class."] #[doc = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -107,7 +107,7 @@ extern "C" { z: f64, w: f64, ) -> Result; - # [ wasm_bindgen ( static_method_of = DomPoint , js_class = "DOMPoint" , js_name = fromPoint ) ] + # [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)"] @@ -115,7 +115,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomPointInit.rs b/crates/web-sys/src/features/gen_DomPointInit.rs index f19412042e9..a3d0f6b3930 100644 --- a/crates/web-sys/src/features/gen_DomPointInit.rs +++ b/crates/web-sys/src/features/gen_DomPointInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMPointInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMPointInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomPointInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DomPointReadOnly.rs b/crates/web-sys/src/features/gen_DomPointReadOnly.rs index 9ae3649b272..2601722c092 100644 --- a/crates/web-sys/src/features/gen_DomPointReadOnly.rs +++ b/crates/web-sys/src/features/gen_DomPointReadOnly.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMPointReadOnly , typescript_type = "DOMPointReadOnly" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMPointReadOnly , typescript_type = "DOMPointReadOnly")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomPointReadOnly` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -79,7 +79,7 @@ extern "C" { z: f64, w: f64, ) -> Result; - # [ wasm_bindgen ( static_method_of = DomPointReadOnly , js_class = "DOMPointReadOnly" , js_name = fromPoint ) ] + # [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)"] @@ -87,14 +87,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomQuad.rs b/crates/web-sys/src/features/gen_DomQuad.rs index 043f0af9a85..26b87535eb4 100644 --- a/crates/web-sys/src/features/gen_DomQuad.rs +++ b/crates/web-sys/src/features/gen_DomQuad.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMQuad , typescript_type = "DOMQuad" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMQuad , typescript_type = "DOMQuad")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomQuad` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -111,7 +111,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`*"] pub fn new_with_rect(rect: &DomRectReadOnly) -> Result; #[cfg(feature = "DomRectReadOnly")] - # [ wasm_bindgen ( method , structural , js_class = "DOMQuad" , js_name = getBounds ) ] + # [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)"] @@ -119,7 +119,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomQuadInit.rs b/crates/web-sys/src/features/gen_DomQuadInit.rs index 3b0faa96bc2..5d52eb86b03 100644 --- a/crates/web-sys/src/features/gen_DomQuadInit.rs +++ b/crates/web-sys/src/features/gen_DomQuadInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMQuadInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMQuadInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomQuadInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DomQuadJson.rs b/crates/web-sys/src/features/gen_DomQuadJson.rs index 65023fb2295..08a4b150558 100644 --- a/crates/web-sys/src/features/gen_DomQuadJson.rs +++ b/crates/web-sys/src/features/gen_DomQuadJson.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMQuadJSON ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMQuadJSON)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomQuadJson` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DomRect.rs b/crates/web-sys/src/features/gen_DomRect.rs index 6bcd69c3834..0d3a02988e9 100644 --- a/crates/web-sys/src/features/gen_DomRect.rs +++ b/crates/web-sys/src/features/gen_DomRect.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = DomRectReadOnly , extends = :: js_sys :: Object , js_name = DOMRect , typescript_type = "DOMRect" ) ] + # [wasm_bindgen (extends = DomRectReadOnly , extends = :: js_sys :: Object , js_name = DOMRect , typescript_type = "DOMRect")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomRect` class."] #[doc = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomRectInit.rs b/crates/web-sys/src/features/gen_DomRectInit.rs index f6164a38c1c..9aa37911073 100644 --- a/crates/web-sys/src/features/gen_DomRectInit.rs +++ b/crates/web-sys/src/features/gen_DomRectInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMRectInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMRectInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomRectInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DomRectList.rs b/crates/web-sys/src/features/gen_DomRectList.rs index f4946640632..e668a849238 100644 --- a/crates/web-sys/src/features/gen_DomRectList.rs +++ b/crates/web-sys/src/features/gen_DomRectList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMRectList , typescript_type = "DOMRectList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMRectList , typescript_type = "DOMRectList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomRectList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomRectReadOnly.rs b/crates/web-sys/src/features/gen_DomRectReadOnly.rs index de1edcd6bb1..1b48f02b103 100644 --- a/crates/web-sys/src/features/gen_DomRectReadOnly.rs +++ b/crates/web-sys/src/features/gen_DomRectReadOnly.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMRectReadOnly , typescript_type = "DOMRectReadOnly" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMRectReadOnly , typescript_type = "DOMRectReadOnly")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomRectReadOnly` class."] #[doc = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -111,7 +111,7 @@ extern "C" { width: f64, height: f64, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "DOMRectReadOnly" , js_name = toJSON ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomRequest.rs b/crates/web-sys/src/features/gen_DomRequest.rs index c2bdfea2995..05e678563f5 100644 --- a/crates/web-sys/src/features/gen_DomRequest.rs +++ b/crates/web-sys/src/features/gen_DomRequest.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = DOMRequest , typescript_type = "DOMRequest" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = DOMRequest , typescript_type = "DOMRequest")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomRequest` class."] #[doc = ""] @@ -12,14 +12,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -27,49 +27,49 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "DOMRequest" , js_name = onsuccess ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -79,7 +79,7 @@ extern "C" { this: &DomRequest, fulfill_callback: Option<&::js_sys::Function>, ) -> Result<::wasm_bindgen::JsValue, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMRequest" , js_name = then ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomStringList.rs b/crates/web-sys/src/features/gen_DomStringList.rs index c2e222e65ea..1b932f2915b 100644 --- a/crates/web-sys/src/features/gen_DomStringList.rs +++ b/crates/web-sys/src/features/gen_DomStringList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMStringList , typescript_type = "DOMStringList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMStringList , typescript_type = "DOMStringList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomStringList` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomStringMap.rs b/crates/web-sys/src/features/gen_DomStringMap.rs index 5cf0d4e897f..c102f10850b 100644 --- a/crates/web-sys/src/features/gen_DomStringMap.rs +++ b/crates/web-sys/src/features/gen_DomStringMap.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMStringMap , typescript_type = "DOMStringMap" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMStringMap , typescript_type = "DOMStringMap")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomStringMap` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DomTokenList.rs b/crates/web-sys/src/features/gen_DomTokenList.rs index abd67423fc9..a097863d636 100644 --- a/crates/web-sys/src/features/gen_DomTokenList.rs +++ b/crates/web-sys/src/features/gen_DomTokenList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMTokenList , typescript_type = "DOMTokenList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMTokenList , typescript_type = "DOMTokenList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomTokenList` class."] #[doc = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -72,7 +72,7 @@ extern "C" { tokens_2: &str, tokens_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMTokenList" , js_name = add ) ] + # [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)"] @@ -85,7 +85,7 @@ extern "C" { tokens_3: &str, tokens_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMTokenList" , js_name = add ) ] + # [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)"] @@ -99,7 +99,7 @@ extern "C" { tokens_4: &str, tokens_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMTokenList" , js_name = add ) ] + # [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)"] @@ -114,7 +114,7 @@ extern "C" { tokens_5: &str, tokens_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMTokenList" , js_name = add ) ] + # [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)"] @@ -130,49 +130,49 @@ extern "C" { tokens_6: &str, tokens_7: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "DOMTokenList" , js_name = contains ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "DOMTokenList" , js_name = remove ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -184,7 +184,7 @@ extern "C" { tokens_2: &str, tokens_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMTokenList" , js_name = remove ) ] + # [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)"] @@ -197,7 +197,7 @@ extern "C" { tokens_3: &str, tokens_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMTokenList" , js_name = remove ) ] + # [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)"] @@ -211,7 +211,7 @@ extern "C" { tokens_4: &str, tokens_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMTokenList" , js_name = remove ) ] + # [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)"] @@ -226,7 +226,7 @@ extern "C" { tokens_5: &str, tokens_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMTokenList" , js_name = remove ) ] + # [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)"] @@ -242,28 +242,28 @@ extern "C" { tokens_6: &str, tokens_7: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMTokenList" , js_name = replace ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMTokenList" , js_name = supports ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMTokenList" , js_name = toggle ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "DOMTokenList" , js_name = toggle ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DomWindowResizeEventDetail.rs b/crates/web-sys/src/features/gen_DomWindowResizeEventDetail.rs index 4e7ea0875bb..258c457047c 100644 --- a/crates/web-sys/src/features/gen_DomWindowResizeEventDetail.rs +++ b/crates/web-sys/src/features/gen_DomWindowResizeEventDetail.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DOMWindowResizeEventDetail ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMWindowResizeEventDetail)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DomWindowResizeEventDetail` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DragEvent.rs b/crates/web-sys/src/features/gen_DragEvent.rs index 099e26fd173..fc18b1ee5f0 100644 --- a/crates/web-sys/src/features/gen_DragEvent.rs +++ b/crates/web-sys/src/features/gen_DragEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -37,21 +37,21 @@ extern "C" { type_: &str, event_init_dict: &DragEventInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -64,7 +64,7 @@ extern "C" { cancelable: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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)"] @@ -78,7 +78,7 @@ extern "C" { a_view: Option<&Window>, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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)"] @@ -93,7 +93,7 @@ extern "C" { a_detail: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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)"] @@ -109,7 +109,7 @@ extern "C" { a_screen_x: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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)"] @@ -126,7 +126,7 @@ extern "C" { a_screen_y: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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)"] @@ -144,7 +144,7 @@ extern "C" { a_client_x: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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)"] @@ -163,7 +163,7 @@ extern "C" { a_client_y: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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)"] @@ -183,7 +183,7 @@ extern "C" { a_ctrl_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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)"] @@ -204,7 +204,7 @@ extern "C" { a_alt_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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)"] @@ -226,7 +226,7 @@ extern "C" { a_shift_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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)"] @@ -249,7 +249,7 @@ extern "C" { a_meta_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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)"] @@ -273,7 +273,7 @@ extern "C" { a_button: u16, ); #[cfg(all(feature = "EventTarget", feature = "Window",))] - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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)"] @@ -298,7 +298,7 @@ extern "C" { a_related_target: Option<&EventTarget>, ); #[cfg(all(feature = "DataTransfer", feature = "EventTarget", feature = "Window",))] - # [ wasm_bindgen ( method , structural , js_class = "DragEvent" , js_name = initDragEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DragEventInit.rs b/crates/web-sys/src/features/gen_DragEventInit.rs index c6b3586d286..bcb9ea39b91 100644 --- a/crates/web-sys/src/features/gen_DragEventInit.rs +++ b/crates/web-sys/src/features/gen_DragEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DragEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DragEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DragEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_DynamicsCompressorNode.rs b/crates/web-sys/src/features/gen_DynamicsCompressorNode.rs index d0e8a699b91..3a7c7d5f5d0 100644 --- a/crates/web-sys/src/features/gen_DynamicsCompressorNode.rs +++ b/crates/web-sys/src/features/gen_DynamicsCompressorNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,14 +28,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -43,7 +43,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -51,7 +51,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_DynamicsCompressorOptions.rs b/crates/web-sys/src/features/gen_DynamicsCompressorOptions.rs index b7cd29377e4..6b4ce305c12 100644 --- a/crates/web-sys/src/features/gen_DynamicsCompressorOptions.rs +++ b/crates/web-sys/src/features/gen_DynamicsCompressorOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = DynamicsCompressorOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DynamicsCompressorOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `DynamicsCompressorOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_EcKeyAlgorithm.rs b/crates/web-sys/src/features/gen_EcKeyAlgorithm.rs index 226c2928ffd..3d7aec6e1b5 100644 --- a/crates/web-sys/src/features/gen_EcKeyAlgorithm.rs +++ b/crates/web-sys/src/features/gen_EcKeyAlgorithm.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = EcKeyAlgorithm ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EcKeyAlgorithm)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `EcKeyAlgorithm` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_EcKeyGenParams.rs b/crates/web-sys/src/features/gen_EcKeyGenParams.rs index d4f709d6ff4..8b1df4070db 100644 --- a/crates/web-sys/src/features/gen_EcKeyGenParams.rs +++ b/crates/web-sys/src/features/gen_EcKeyGenParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = EcKeyGenParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EcKeyGenParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `EcKeyGenParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_EcKeyImportParams.rs b/crates/web-sys/src/features/gen_EcKeyImportParams.rs index 437a345b5e8..b6ff16b014a 100644 --- a/crates/web-sys/src/features/gen_EcKeyImportParams.rs +++ b/crates/web-sys/src/features/gen_EcKeyImportParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = EcKeyImportParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EcKeyImportParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `EcKeyImportParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_EcdhKeyDeriveParams.rs b/crates/web-sys/src/features/gen_EcdhKeyDeriveParams.rs index 034bd066042..0303bb31949 100644 --- a/crates/web-sys/src/features/gen_EcdhKeyDeriveParams.rs +++ b/crates/web-sys/src/features/gen_EcdhKeyDeriveParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = EcdhKeyDeriveParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EcdhKeyDeriveParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `EcdhKeyDeriveParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_EcdsaParams.rs b/crates/web-sys/src/features/gen_EcdsaParams.rs index 6fcb119e5a0..a54f84b7783 100644 --- a/crates/web-sys/src/features/gen_EcdsaParams.rs +++ b/crates/web-sys/src/features/gen_EcdsaParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = EcdsaParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EcdsaParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `EcdsaParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_EffectTiming.rs b/crates/web-sys/src/features/gen_EffectTiming.rs index a25b26099dd..225b6726ecf 100644 --- a/crates/web-sys/src/features/gen_EffectTiming.rs +++ b/crates/web-sys/src/features/gen_EffectTiming.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = EffectTiming ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EffectTiming)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `EffectTiming` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Element.rs b/crates/web-sys/src/features/gen_Element.rs index 24a7eb9ec2f..011b65d28b7 100644 --- a/crates/web-sys/src/features/gen_Element.rs +++ b/crates/web-sys/src/features/gen_Element.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Element" , js_name = prefix ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Element" , js_name = localName ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -76,105 +76,105 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -182,7 +182,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -190,35 +190,35 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*"] pub fn shadow_root(this: &Element) -> Option; #[cfg(feature = "HtmlSlotElement")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Element" , js_name = assignedSlot ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Element" , js_name = slot ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Element" , js_name = nextElementSibling ) ] + # [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)"] @@ -226,28 +226,28 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Element`*"] pub fn next_element_sibling(this: &Element) -> Option; #[cfg(feature = "HtmlCollection")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Element" , js_name = children ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Element" , js_name = lastElementChild ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Element" , js_name = childElementCount ) ] + # [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)"] @@ -255,7 +255,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -265,21 +265,21 @@ extern "C" { this: &Element, shadow_root_init_dict: &ShadowRootInit, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = closest ) ] + # [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, JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "Element" , js_name = getAttribute ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "Element" , js_name = getAttributeNS ) ] + # [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)"] @@ -290,7 +290,7 @@ extern "C" { namespace: Option<&str>, local_name: &str, ) -> Option; - # [ wasm_bindgen ( method , structural , js_class = "Element" , js_name = getAttributeNames ) ] + # [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)"] @@ -298,7 +298,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -306,7 +306,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*"] pub fn get_attribute_node(this: &Element, name: &str) -> Option; #[cfg(feature = "Attr")] - # [ wasm_bindgen ( method , structural , js_class = "Element" , js_name = getAttributeNodeNS ) ] + # [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)"] @@ -318,7 +318,7 @@ extern "C" { local_name: &str, ) -> Option; #[cfg(feature = "DomRect")] - # [ wasm_bindgen ( method , structural , js_class = "Element" , js_name = getBoundingClientRect ) ] + # [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)"] @@ -326,7 +326,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -334,7 +334,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -342,7 +342,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -350,7 +350,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -361,35 +361,35 @@ extern "C" { namespace: Option<&str>, local_name: &str, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "Element" , js_name = hasAttribute ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -400,28 +400,28 @@ extern "C" { where_: &str, element: &Element, ) -> Result, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = insertAdjacentHTML ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = querySelector ) ] + # [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)"] @@ -429,35 +429,35 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Element`*"] pub fn query_selector(this: &Element, selectors: &str) -> Result, JsValue>; #[cfg(feature = "NodeList")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = querySelectorAll ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "Element" , js_name = releaseCapture ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -469,35 +469,35 @@ extern "C" { local_name: &str, ) -> Result<(), JsValue>; #[cfg(feature = "Attr")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = removeAttributeNode ) ] + # [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, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = requestFullscreen ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -505,21 +505,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -527,21 +527,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -549,7 +549,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -559,14 +559,14 @@ extern "C" { this: &Element, arg: &ScrollIntoViewOptions, ); - # [ wasm_bindgen ( method , structural , js_class = "Element" , js_name = scrollTo ) ] + # [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 ) ] + # [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)"] @@ -574,21 +574,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -601,7 +601,7 @@ extern "C" { value: &str, ) -> Result<(), JsValue>; #[cfg(feature = "Attr")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = setAttributeNode ) ] + # [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)"] @@ -609,42 +609,42 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*"] pub fn set_attribute_node(this: &Element, new_attr: &Attr) -> Result, JsValue>; #[cfg(feature = "Attr")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = setAttributeNodeNS ) ] + # [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, JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "Element" , js_name = setCapture ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = toggleAttribute ) ] + # [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)"] @@ -655,35 +655,35 @@ extern "C" { name: &str, force: bool, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = webkitMatchesSelector ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Element" , js_name = after ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -691,7 +691,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -703,7 +703,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = after ) ] + # [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)"] @@ -716,7 +716,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = after ) ] + # [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)"] @@ -730,7 +730,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = after ) ] + # [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)"] @@ -745,7 +745,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = after ) ] + # [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)"] @@ -761,35 +761,35 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Element" , js_name = after ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -801,7 +801,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = after ) ] + # [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)"] @@ -814,7 +814,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = after ) ] + # [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)"] @@ -828,7 +828,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = after ) ] + # [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)"] @@ -843,7 +843,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = after ) ] + # [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)"] @@ -859,28 +859,28 @@ extern "C" { nodes_6: &str, nodes_7: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Element" , js_name = before ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -891,7 +891,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = before ) ] + # [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)"] @@ -903,7 +903,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = before ) ] + # [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)"] @@ -916,7 +916,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = before ) ] + # [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)"] @@ -930,7 +930,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = before ) ] + # [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)"] @@ -945,7 +945,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = before ) ] + # [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)"] @@ -961,35 +961,35 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Element" , js_name = before ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1001,7 +1001,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = before ) ] + # [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)"] @@ -1014,7 +1014,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = before ) ] + # [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)"] @@ -1028,7 +1028,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = before ) ] + # [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)"] @@ -1043,7 +1043,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = before ) ] + # [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)"] @@ -1059,35 +1059,35 @@ extern "C" { nodes_6: &str, nodes_7: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "Element" , js_name = remove ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1098,7 +1098,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = replaceWith ) ] + # [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)"] @@ -1110,7 +1110,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = replaceWith ) ] + # [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)"] @@ -1123,7 +1123,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = replaceWith ) ] + # [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)"] @@ -1137,7 +1137,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = replaceWith ) ] + # [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)"] @@ -1152,7 +1152,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = replaceWith ) ] + # [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)"] @@ -1168,28 +1168,28 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Element" , js_name = replaceWith ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1200,7 +1200,7 @@ extern "C" { nodes_1: &str, nodes_2: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = replaceWith ) ] + # [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)"] @@ -1212,7 +1212,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = replaceWith ) ] + # [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)"] @@ -1225,7 +1225,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = replaceWith ) ] + # [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)"] @@ -1239,7 +1239,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = replaceWith ) ] + # [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)"] @@ -1254,7 +1254,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = replaceWith ) ] + # [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)"] @@ -1271,7 +1271,7 @@ extern "C" { nodes_7: &str, ) -> Result<(), JsValue>; #[cfg(all(feature = "DomPoint", feature = "DomPointInit", feature = "Text",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertPointFromNode ) ] + # [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)"] @@ -1283,7 +1283,7 @@ extern "C" { from: &Text, ) -> Result; #[cfg(all(feature = "DomPoint", feature = "DomPointInit",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertPointFromNode ) ] + # [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)"] @@ -1295,7 +1295,7 @@ extern "C" { from: &Element, ) -> Result; #[cfg(all(feature = "Document", feature = "DomPoint", feature = "DomPointInit",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertPointFromNode ) ] + # [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)"] @@ -1312,7 +1312,7 @@ extern "C" { feature = "DomPointInit", feature = "Text", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertPointFromNode ) ] + # [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)"] @@ -1329,7 +1329,7 @@ extern "C" { feature = "DomPoint", feature = "DomPointInit", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertPointFromNode ) ] + # [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)"] @@ -1347,7 +1347,7 @@ extern "C" { feature = "DomPoint", feature = "DomPointInit", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertPointFromNode ) ] + # [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)"] @@ -1360,7 +1360,7 @@ extern "C" { options: &ConvertCoordinateOptions, ) -> Result; #[cfg(all(feature = "DomQuad", feature = "Text",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -1372,7 +1372,7 @@ extern "C" { from: &Text, ) -> Result; #[cfg(feature = "DomQuad")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -1384,7 +1384,7 @@ extern "C" { from: &Element, ) -> Result; #[cfg(all(feature = "Document", feature = "DomQuad",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -1400,7 +1400,7 @@ extern "C" { feature = "DomQuad", feature = "Text", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -1413,7 +1413,7 @@ extern "C" { options: &ConvertCoordinateOptions, ) -> Result; #[cfg(all(feature = "ConvertCoordinateOptions", feature = "DomQuad",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -1430,7 +1430,7 @@ extern "C" { feature = "Document", feature = "DomQuad", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -1443,7 +1443,7 @@ extern "C" { options: &ConvertCoordinateOptions, ) -> Result; #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly", feature = "Text",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertRectFromNode ) ] + # [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)"] @@ -1455,7 +1455,7 @@ extern "C" { from: &Text, ) -> Result; #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertRectFromNode ) ] + # [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)"] @@ -1467,7 +1467,7 @@ extern "C" { from: &Element, ) -> Result; #[cfg(all(feature = "Document", feature = "DomQuad", feature = "DomRectReadOnly",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertRectFromNode ) ] + # [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)"] @@ -1484,7 +1484,7 @@ extern "C" { feature = "DomRectReadOnly", feature = "Text", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertRectFromNode ) ] + # [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)"] @@ -1501,7 +1501,7 @@ extern "C" { feature = "DomQuad", feature = "DomRectReadOnly", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertRectFromNode ) ] + # [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)"] @@ -1519,7 +1519,7 @@ extern "C" { feature = "DomQuad", feature = "DomRectReadOnly", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = convertRectFromNode ) ] + # [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)"] @@ -1531,7 +1531,7 @@ extern "C" { from: &Document, options: &ConvertCoordinateOptions, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = getBoxQuads ) ] + # [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)"] @@ -1539,7 +1539,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1549,28 +1549,28 @@ extern "C" { this: &Element, options: &BoxQuadOptions, ) -> Result<::js_sys::Array, JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Element" , js_name = append ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1581,7 +1581,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = append ) ] + # [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)"] @@ -1593,7 +1593,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = append ) ] + # [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)"] @@ -1606,7 +1606,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = append ) ] + # [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)"] @@ -1620,7 +1620,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = append ) ] + # [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)"] @@ -1635,7 +1635,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = append ) ] + # [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)"] @@ -1651,35 +1651,35 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Element" , js_name = append ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1691,7 +1691,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = append ) ] + # [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)"] @@ -1704,7 +1704,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = append ) ] + # [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)"] @@ -1718,7 +1718,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = append ) ] + # [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)"] @@ -1733,7 +1733,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = append ) ] + # [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)"] @@ -1749,28 +1749,28 @@ extern "C" { nodes_6: &str, nodes_7: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Element" , js_name = prepend ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1781,7 +1781,7 @@ extern "C" { nodes_1: &Node, nodes_2: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = prepend ) ] + # [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)"] @@ -1793,7 +1793,7 @@ extern "C" { nodes_2: &Node, nodes_3: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = prepend ) ] + # [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)"] @@ -1806,7 +1806,7 @@ extern "C" { nodes_3: &Node, nodes_4: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = prepend ) ] + # [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)"] @@ -1820,7 +1820,7 @@ extern "C" { nodes_4: &Node, nodes_5: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = prepend ) ] + # [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)"] @@ -1835,7 +1835,7 @@ extern "C" { nodes_5: &Node, nodes_6: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = prepend ) ] + # [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)"] @@ -1851,35 +1851,35 @@ extern "C" { nodes_6: &Node, nodes_7: &Node, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Element" , js_name = prepend ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1891,7 +1891,7 @@ extern "C" { nodes_2: &str, nodes_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = prepend ) ] + # [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)"] @@ -1904,7 +1904,7 @@ extern "C" { nodes_3: &str, nodes_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = prepend ) ] + # [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)"] @@ -1918,7 +1918,7 @@ extern "C" { nodes_4: &str, nodes_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = prepend ) ] + # [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)"] @@ -1933,7 +1933,7 @@ extern "C" { nodes_5: &str, nodes_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Element" , js_name = prepend ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ElementCreationOptions.rs b/crates/web-sys/src/features/gen_ElementCreationOptions.rs index d28b0714d7d..3cbefa0c711 100644 --- a/crates/web-sys/src/features/gen_ElementCreationOptions.rs +++ b/crates/web-sys/src/features/gen_ElementCreationOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ElementCreationOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ElementCreationOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ElementCreationOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ElementDefinitionOptions.rs b/crates/web-sys/src/features/gen_ElementDefinitionOptions.rs index fd48d4b0320..9b33bfc28d7 100644 --- a/crates/web-sys/src/features/gen_ElementDefinitionOptions.rs +++ b/crates/web-sys/src/features/gen_ElementDefinitionOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ElementDefinitionOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ElementDefinitionOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ElementDefinitionOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ErrorCallback.rs b/crates/web-sys/src/features/gen_ErrorCallback.rs index d5736b28eef..7ed4a5e2b46 100644 --- a/crates/web-sys/src/features/gen_ErrorCallback.rs +++ b/crates/web-sys/src/features/gen_ErrorCallback.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ErrorCallback ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ErrorCallback)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ErrorCallback` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ErrorEvent.rs b/crates/web-sys/src/features/gen_ErrorEvent.rs index 591f3f3df78..b3bd7fb1efe 100644 --- a/crates/web-sys/src/features/gen_ErrorEvent.rs +++ b/crates/web-sys/src/features/gen_ErrorEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = ErrorEvent , typescript_type = "ErrorEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = ErrorEvent , typescript_type = "ErrorEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ErrorEvent` class."] #[doc = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ErrorEventInit.rs b/crates/web-sys/src/features/gen_ErrorEventInit.rs index cb39fd33a8e..95cae841c39 100644 --- a/crates/web-sys/src/features/gen_ErrorEventInit.rs +++ b/crates/web-sys/src/features/gen_ErrorEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ErrorEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ErrorEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ErrorEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Event.rs b/crates/web-sys/src/features/gen_Event.rs index 95ebd0845c7..bb3c3cffcb7 100644 --- a/crates/web-sys/src/features/gen_Event.rs +++ b/crates/web-sys/src/features/gen_Event.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Event , typescript_type = "Event" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Event , typescript_type = "Event")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Event` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,70 +27,70 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Event`, `EventTarget`*"] pub fn target(this: &Event) -> Option; #[cfg(feature = "EventTarget")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Event" , js_name = currentTarget ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Event" , js_name = eventPhase ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -115,28 +115,28 @@ extern "C" { type_: &str, event_init_dict: &EventInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "Event" , js_name = composedPath ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -148,21 +148,21 @@ extern "C" { bubbles: bool, cancelable: bool, ); - # [ wasm_bindgen ( method , structural , js_class = "Event" , js_name = preventDefault ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_EventInit.rs b/crates/web-sys/src/features/gen_EventInit.rs index c52198d2d13..8fc1910a523 100644 --- a/crates/web-sys/src/features/gen_EventInit.rs +++ b/crates/web-sys/src/features/gen_EventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = EventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `EventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_EventListener.rs b/crates/web-sys/src/features/gen_EventListener.rs index 71474475827..38ea45b4dc4 100644 --- a/crates/web-sys/src/features/gen_EventListener.rs +++ b/crates/web-sys/src/features/gen_EventListener.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = EventListener ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EventListener)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `EventListener` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_EventListenerOptions.rs b/crates/web-sys/src/features/gen_EventListenerOptions.rs index c1573de88c2..08263c945b8 100644 --- a/crates/web-sys/src/features/gen_EventListenerOptions.rs +++ b/crates/web-sys/src/features/gen_EventListenerOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = EventListenerOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EventListenerOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `EventListenerOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_EventModifierInit.rs b/crates/web-sys/src/features/gen_EventModifierInit.rs index 80660c23569..910434f5fa1 100644 --- a/crates/web-sys/src/features/gen_EventModifierInit.rs +++ b/crates/web-sys/src/features/gen_EventModifierInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = EventModifierInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EventModifierInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `EventModifierInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_EventSource.rs b/crates/web-sys/src/features/gen_EventSource.rs index 154c94a5aa0..816817f378a 100644 --- a/crates/web-sys/src/features/gen_EventSource.rs +++ b/crates/web-sys/src/features/gen_EventSource.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = EventSource , typescript_type = "EventSource" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = EventSource , typescript_type = "EventSource")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `EventSource` class."] #[doc = ""] @@ -11,63 +11,63 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -92,7 +92,7 @@ extern "C" { url: &str, event_source_init_dict: &EventSourceInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "EventSource" , js_name = close ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_EventSourceInit.rs b/crates/web-sys/src/features/gen_EventSourceInit.rs index 2cd26a1515b..d6b310ac40d 100644 --- a/crates/web-sys/src/features/gen_EventSourceInit.rs +++ b/crates/web-sys/src/features/gen_EventSourceInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = EventSourceInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EventSourceInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `EventSourceInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_EventTarget.rs b/crates/web-sys/src/features/gen_EventTarget.rs index 1d455ee0077..431b5a63190 100644 --- a/crates/web-sys/src/features/gen_EventTarget.rs +++ b/crates/web-sys/src/features/gen_EventTarget.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = EventTarget , typescript_type = "EventTarget" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = EventTarget , typescript_type = "EventTarget")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `EventTarget` class."] #[doc = ""] @@ -18,7 +18,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `EventTarget`*"] pub fn new() -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = addEventListener ) ] + # [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)"] @@ -30,7 +30,7 @@ extern "C" { listener: &::js_sys::Function, ) -> Result<(), JsValue>; #[cfg(feature = "EventListener")] - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = addEventListener ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { listener: &EventListener, ) -> Result<(), JsValue>; #[cfg(feature = "AddEventListenerOptions")] - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = addEventListener ) ] + # [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)"] @@ -55,7 +55,7 @@ extern "C" { options: &AddEventListenerOptions, ) -> Result<(), JsValue>; #[cfg(all(feature = "AddEventListenerOptions", feature = "EventListener",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = addEventListener ) ] + # [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)"] @@ -67,7 +67,7 @@ extern "C" { listener: &EventListener, options: &AddEventListenerOptions, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = addEventListener ) ] + # [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)"] @@ -80,7 +80,7 @@ extern "C" { options: bool, ) -> Result<(), JsValue>; #[cfg(feature = "EventListener")] - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = addEventListener ) ] + # [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)"] @@ -93,7 +93,7 @@ extern "C" { options: bool, ) -> Result<(), JsValue>; #[cfg(feature = "AddEventListenerOptions")] - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = addEventListener ) ] + # [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)"] @@ -107,7 +107,7 @@ extern "C" { wants_untrusted: Option, ) -> Result<(), JsValue>; #[cfg(all(feature = "AddEventListenerOptions", feature = "EventListener",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = addEventListener ) ] + # [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)"] @@ -120,7 +120,7 @@ extern "C" { options: &AddEventListenerOptions, wants_untrusted: Option, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = addEventListener ) ] + # [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)"] @@ -134,7 +134,7 @@ extern "C" { wants_untrusted: Option, ) -> Result<(), JsValue>; #[cfg(feature = "EventListener")] - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = addEventListener ) ] + # [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)"] @@ -148,14 +148,14 @@ extern "C" { wants_untrusted: Option, ) -> Result<(), JsValue>; #[cfg(feature = "Event")] - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = dispatchEvent ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = removeEventListener ) ] + # [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)"] @@ -167,7 +167,7 @@ extern "C" { listener: &::js_sys::Function, ) -> Result<(), JsValue>; #[cfg(feature = "EventListener")] - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = removeEventListener ) ] + # [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)"] @@ -179,7 +179,7 @@ extern "C" { listener: &EventListener, ) -> Result<(), JsValue>; #[cfg(feature = "EventListenerOptions")] - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = removeEventListener ) ] + # [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)"] @@ -192,7 +192,7 @@ extern "C" { options: &EventListenerOptions, ) -> Result<(), JsValue>; #[cfg(all(feature = "EventListener", feature = "EventListenerOptions",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = removeEventListener ) ] + # [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)"] @@ -204,7 +204,7 @@ extern "C" { listener: &EventListener, options: &EventListenerOptions, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = removeEventListener ) ] + # [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)"] @@ -217,7 +217,7 @@ extern "C" { options: bool, ) -> Result<(), JsValue>; #[cfg(feature = "EventListener")] - # [ wasm_bindgen ( catch , method , structural , js_class = "EventTarget" , js_name = removeEventListener ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Exception.rs b/crates/web-sys/src/features/gen_Exception.rs index e1e82a7b323..d38c6f66ee1 100644 --- a/crates/web-sys/src/features/gen_Exception.rs +++ b/crates/web-sys/src/features/gen_Exception.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ExtBlendMinmax.rs b/crates/web-sys/src/features/gen_ExtBlendMinmax.rs index 7e2b80d95e2..9e274a31074 100644 --- a/crates/web-sys/src/features/gen_ExtBlendMinmax.rs +++ b/crates/web-sys/src/features/gen_ExtBlendMinmax.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_ExtColorBufferFloat.rs b/crates/web-sys/src/features/gen_ExtColorBufferFloat.rs index c4f86dd5c28..884e06c1627 100644 --- a/crates/web-sys/src/features/gen_ExtColorBufferFloat.rs +++ b/crates/web-sys/src/features/gen_ExtColorBufferFloat.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_ExtColorBufferHalfFloat.rs b/crates/web-sys/src/features/gen_ExtColorBufferHalfFloat.rs index 495b5edbb04..26ffa3c74bc 100644 --- a/crates/web-sys/src/features/gen_ExtColorBufferHalfFloat.rs +++ b/crates/web-sys/src/features/gen_ExtColorBufferHalfFloat.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_ExtDisjointTimerQuery.rs b/crates/web-sys/src/features/gen_ExtDisjointTimerQuery.rs index 5efc9b1f04a..1df18d754d2 100644 --- a/crates/web-sys/src/features/gen_ExtDisjointTimerQuery.rs +++ b/crates/web-sys/src/features/gen_ExtDisjointTimerQuery.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,21 +28,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`, `WebGlQuery`*"] pub fn create_query_ext(this: &ExtDisjointTimerQuery) -> Option; #[cfg(feature = "WebGlQuery")] - # [ wasm_bindgen ( method , structural , js_class = "EXT_disjoint_timer_query" , js_name = deleteQueryEXT ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -54,7 +54,7 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(feature = "WebGlQuery")] - # [ wasm_bindgen ( method , structural , js_class = "EXT_disjoint_timer_query" , js_name = getQueryObjectEXT ) ] + # [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)"] @@ -66,7 +66,7 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(feature = "WebGlQuery")] - # [ wasm_bindgen ( method , structural , js_class = "EXT_disjoint_timer_query" , js_name = isQueryEXT ) ] + # [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)"] @@ -74,7 +74,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ExtFragDepth.rs b/crates/web-sys/src/features/gen_ExtFragDepth.rs index c04ba765dda..fd2f30f389b 100644 --- a/crates/web-sys/src/features/gen_ExtFragDepth.rs +++ b/crates/web-sys/src/features/gen_ExtFragDepth.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_ExtSRgb.rs b/crates/web-sys/src/features/gen_ExtSRgb.rs index f8dcabd2abd..c97cde65539 100644 --- a/crates/web-sys/src/features/gen_ExtSRgb.rs +++ b/crates/web-sys/src/features/gen_ExtSRgb.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_ExtShaderTextureLod.rs b/crates/web-sys/src/features/gen_ExtShaderTextureLod.rs index c417728ca47..daa45adb7d7 100644 --- a/crates/web-sys/src/features/gen_ExtShaderTextureLod.rs +++ b/crates/web-sys/src/features/gen_ExtShaderTextureLod.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_ExtTextureFilterAnisotropic.rs b/crates/web-sys/src/features/gen_ExtTextureFilterAnisotropic.rs index 922bd787dfb..905b2d225c3 100644 --- a/crates/web-sys/src/features/gen_ExtTextureFilterAnisotropic.rs +++ b/crates/web-sys/src/features/gen_ExtTextureFilterAnisotropic.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_ExtendableEvent.rs b/crates/web-sys/src/features/gen_ExtendableEvent.rs index c2f2b20164e..d3c14235aad 100644 --- a/crates/web-sys/src/features/gen_ExtendableEvent.rs +++ b/crates/web-sys/src/features/gen_ExtendableEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = ExtendableEvent , typescript_type = "ExtendableEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = ExtendableEvent , typescript_type = "ExtendableEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ExtendableEvent` class."] #[doc = ""] @@ -29,7 +29,7 @@ extern "C" { type_: &str, event_init_dict: &ExtendableEventInit, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "ExtendableEvent" , js_name = waitUntil ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ExtendableEventInit.rs b/crates/web-sys/src/features/gen_ExtendableEventInit.rs index 2be43dfd57c..94465f9ebe1 100644 --- a/crates/web-sys/src/features/gen_ExtendableEventInit.rs +++ b/crates/web-sys/src/features/gen_ExtendableEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ExtendableEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ExtendableEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ExtendableEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ExtendableMessageEvent.rs b/crates/web-sys/src/features/gen_ExtendableMessageEvent.rs index ef12ebba6c1..fdbb3a2bee2 100644 --- a/crates/web-sys/src/features/gen_ExtendableMessageEvent.rs +++ b/crates/web-sys/src/features/gen_ExtendableMessageEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ExtendableMessageEventInit.rs b/crates/web-sys/src/features/gen_ExtendableMessageEventInit.rs index 646853d8a0c..b6cb7f7325f 100644 --- a/crates/web-sys/src/features/gen_ExtendableMessageEventInit.rs +++ b/crates/web-sys/src/features/gen_ExtendableMessageEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ExtendableMessageEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ExtendableMessageEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ExtendableMessageEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_External.rs b/crates/web-sys/src/features/gen_External.rs index 3f3db52aab1..bc58c96019c 100644 --- a/crates/web-sys/src/features/gen_External.rs +++ b/crates/web-sys/src/features/gen_External.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FakePluginMimeEntry.rs b/crates/web-sys/src/features/gen_FakePluginMimeEntry.rs index 4fc35402d5d..9a024929439 100644 --- a/crates/web-sys/src/features/gen_FakePluginMimeEntry.rs +++ b/crates/web-sys/src/features/gen_FakePluginMimeEntry.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FakePluginMimeEntry ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FakePluginMimeEntry)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FakePluginMimeEntry` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_FakePluginTagInit.rs b/crates/web-sys/src/features/gen_FakePluginTagInit.rs index db7481f136c..ce81b452df3 100644 --- a/crates/web-sys/src/features/gen_FakePluginTagInit.rs +++ b/crates/web-sys/src/features/gen_FakePluginTagInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FakePluginTagInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FakePluginTagInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FakePluginTagInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_FetchEvent.rs b/crates/web-sys/src/features/gen_FetchEvent.rs index 0a75488eab2..70f378fe4c2 100644 --- a/crates/web-sys/src/features/gen_FetchEvent.rs +++ b/crates/web-sys/src/features/gen_FetchEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,21 +12,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "FetchEvent" , js_name = isReload ) ] + # [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)"] @@ -41,7 +41,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `FetchEvent`, `FetchEventInit`*"] pub fn new(type_: &str, event_init_dict: &FetchEventInit) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "FetchEvent" , js_name = respondWith ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FetchEventInit.rs b/crates/web-sys/src/features/gen_FetchEventInit.rs index 5545faeb28b..baeace312f6 100644 --- a/crates/web-sys/src/features/gen_FetchEventInit.rs +++ b/crates/web-sys/src/features/gen_FetchEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FetchEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FetchEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FetchEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_FetchObserver.rs b/crates/web-sys/src/features/gen_FetchObserver.rs index defd8ea3e4b..e08d9341c14 100644 --- a/crates/web-sys/src/features/gen_FetchObserver.rs +++ b/crates/web-sys/src/features/gen_FetchObserver.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = FetchObserver , typescript_type = "FetchObserver" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = FetchObserver , typescript_type = "FetchObserver")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FetchObserver` class."] #[doc = ""] @@ -12,49 +12,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FetchReadableStreamReadDataArray.rs b/crates/web-sys/src/features/gen_FetchReadableStreamReadDataArray.rs index f1b6b2660f1..1f9286faf55 100644 --- a/crates/web-sys/src/features/gen_FetchReadableStreamReadDataArray.rs +++ b/crates/web-sys/src/features/gen_FetchReadableStreamReadDataArray.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FetchReadableStreamReadDataArray ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FetchReadableStreamReadDataArray)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FetchReadableStreamReadDataArray` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_FetchReadableStreamReadDataDone.rs b/crates/web-sys/src/features/gen_FetchReadableStreamReadDataDone.rs index 827ccaf89f5..f66cdd993e8 100644 --- a/crates/web-sys/src/features/gen_FetchReadableStreamReadDataDone.rs +++ b/crates/web-sys/src/features/gen_FetchReadableStreamReadDataDone.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FetchReadableStreamReadDataDone ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FetchReadableStreamReadDataDone)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FetchReadableStreamReadDataDone` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_File.rs b/crates/web-sys/src/features/gen_File.rs index 5950e692a69..d22c7495a06 100644 --- a/crates/web-sys/src/features/gen_File.rs +++ b/crates/web-sys/src/features/gen_File.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Blob , extends = :: js_sys :: Object , js_name = File , typescript_type = "File" ) ] + # [wasm_bindgen (extends = Blob , extends = :: js_sys :: Object , js_name = File , typescript_type = "File")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `File` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FileCallback.rs b/crates/web-sys/src/features/gen_FileCallback.rs index 54ac87cfa72..fc87a7622a9 100644 --- a/crates/web-sys/src/features/gen_FileCallback.rs +++ b/crates/web-sys/src/features/gen_FileCallback.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FileCallback ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileCallback)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FileCallback` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_FileList.rs b/crates/web-sys/src/features/gen_FileList.rs index 89697b3e5b9..5e6132dc306 100644 --- a/crates/web-sys/src/features/gen_FileList.rs +++ b/crates/web-sys/src/features/gen_FileList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FileList , typescript_type = "FileList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileList , typescript_type = "FileList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FileList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FilePropertyBag.rs b/crates/web-sys/src/features/gen_FilePropertyBag.rs index e8041239c9a..400f1f1cc1a 100644 --- a/crates/web-sys/src/features/gen_FilePropertyBag.rs +++ b/crates/web-sys/src/features/gen_FilePropertyBag.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FilePropertyBag ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FilePropertyBag)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FilePropertyBag` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_FileReader.rs b/crates/web-sys/src/features/gen_FileReader.rs index 5f276ff36d6..5263af6817d 100644 --- a/crates/web-sys/src/features/gen_FileReader.rs +++ b/crates/web-sys/src/features/gen_FileReader.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = FileReader , typescript_type = "FileReader" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = FileReader , typescript_type = "FileReader")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FileReader` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,91 +26,91 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "FileReader" , js_name = onloadstart ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -124,7 +124,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `FileReader`*"] pub fn new() -> Result; - # [ wasm_bindgen ( method , structural , js_class = "FileReader" , js_name = abort ) ] + # [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)"] @@ -132,7 +132,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -140,7 +140,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -148,7 +148,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -156,7 +156,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -164,7 +164,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FileReaderSync.rs b/crates/web-sys/src/features/gen_FileReaderSync.rs index 233084a8b12..c8ec2a66444 100644 --- a/crates/web-sys/src/features/gen_FileReaderSync.rs +++ b/crates/web-sys/src/features/gen_FileReaderSync.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FileReaderSync , typescript_type = "FileReaderSync" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileReaderSync , typescript_type = "FileReaderSync")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FileReaderSync` class."] #[doc = ""] @@ -19,7 +19,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `FileReaderSync`*"] pub fn new() -> Result; #[cfg(feature = "Blob")] - # [ wasm_bindgen ( catch , method , structural , js_class = "FileReaderSync" , js_name = readAsArrayBuffer ) ] + # [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)"] @@ -30,7 +30,7 @@ extern "C" { blob: &Blob, ) -> Result<::js_sys::ArrayBuffer, JsValue>; #[cfg(feature = "Blob")] - # [ wasm_bindgen ( catch , method , structural , js_class = "FileReaderSync" , js_name = readAsBinaryString ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*"] pub fn read_as_binary_string(this: &FileReaderSync, blob: &Blob) -> Result; #[cfg(feature = "Blob")] - # [ wasm_bindgen ( catch , method , structural , js_class = "FileReaderSync" , js_name = readAsDataURL ) ] + # [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)"] @@ -46,7 +46,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*"] pub fn read_as_data_url(this: &FileReaderSync, blob: &Blob) -> Result; #[cfg(feature = "Blob")] - # [ wasm_bindgen ( catch , method , structural , js_class = "FileReaderSync" , js_name = readAsText ) ] + # [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)"] @@ -54,7 +54,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*"] pub fn read_as_text(this: &FileReaderSync, blob: &Blob) -> Result; #[cfg(feature = "Blob")] - # [ wasm_bindgen ( catch , method , structural , js_class = "FileReaderSync" , js_name = readAsText ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FileSystem.rs b/crates/web-sys/src/features/gen_FileSystem.rs index 6bc11c9e93e..09f217e0e00 100644 --- a/crates/web-sys/src/features/gen_FileSystem.rs +++ b/crates/web-sys/src/features/gen_FileSystem.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FileSystem , typescript_type = "FileSystem" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystem , typescript_type = "FileSystem")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FileSystem` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FileSystemDirectoryEntry.rs b/crates/web-sys/src/features/gen_FileSystemDirectoryEntry.rs index 31c2e9d4577..1a291e44124 100644 --- a/crates/web-sys/src/features/gen_FileSystemDirectoryEntry.rs +++ b/crates/web-sys/src/features/gen_FileSystemDirectoryEntry.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = FileSystemEntry , extends = :: js_sys :: Object , js_name = FileSystemDirectoryEntry , typescript_type = "FileSystemDirectoryEntry" ) ] + # [wasm_bindgen (extends = FileSystemEntry , extends = :: js_sys :: Object , js_name = FileSystemDirectoryEntry , typescript_type = "FileSystemDirectoryEntry")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FileSystemDirectoryEntry` class."] #[doc = ""] @@ -12,21 +12,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -46,7 +46,7 @@ extern "C" { options: &FileSystemFlags, ); #[cfg(feature = "FileSystemFlags")] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory ) ] + # [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)"] @@ -59,7 +59,7 @@ extern "C" { success_callback: &::js_sys::Function, ); #[cfg(all(feature = "FileSystemEntryCallback", feature = "FileSystemFlags",))] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory ) ] + # [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)"] @@ -72,7 +72,7 @@ extern "C" { success_callback: &FileSystemEntryCallback, ); #[cfg(feature = "FileSystemFlags")] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory ) ] + # [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)"] @@ -86,7 +86,7 @@ extern "C" { error_callback: &::js_sys::Function, ); #[cfg(all(feature = "FileSystemEntryCallback", feature = "FileSystemFlags",))] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory ) ] + # [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)"] @@ -100,7 +100,7 @@ extern "C" { error_callback: &::js_sys::Function, ); #[cfg(all(feature = "ErrorCallback", feature = "FileSystemFlags",))] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory ) ] + # [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)"] @@ -118,7 +118,7 @@ extern "C" { feature = "FileSystemEntryCallback", feature = "FileSystemFlags", ))] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getDirectory ) ] + # [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)"] @@ -131,14 +131,14 @@ extern "C" { success_callback: &FileSystemEntryCallback, error_callback: &ErrorCallback, ); - # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile ) ] + # [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 ) ] + # [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)"] @@ -146,7 +146,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -158,7 +158,7 @@ extern "C" { options: &FileSystemFlags, ); #[cfg(feature = "FileSystemFlags")] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile ) ] + # [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)"] @@ -171,7 +171,7 @@ extern "C" { success_callback: &::js_sys::Function, ); #[cfg(all(feature = "FileSystemEntryCallback", feature = "FileSystemFlags",))] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile ) ] + # [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)"] @@ -184,7 +184,7 @@ extern "C" { success_callback: &FileSystemEntryCallback, ); #[cfg(feature = "FileSystemFlags")] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile ) ] + # [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)"] @@ -198,7 +198,7 @@ extern "C" { error_callback: &::js_sys::Function, ); #[cfg(all(feature = "FileSystemEntryCallback", feature = "FileSystemFlags",))] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile ) ] + # [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)"] @@ -212,7 +212,7 @@ extern "C" { error_callback: &::js_sys::Function, ); #[cfg(all(feature = "ErrorCallback", feature = "FileSystemFlags",))] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile ) ] + # [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)"] @@ -230,7 +230,7 @@ extern "C" { feature = "FileSystemEntryCallback", feature = "FileSystemFlags", ))] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryEntry" , js_name = getFile ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FileSystemDirectoryReader.rs b/crates/web-sys/src/features/gen_FileSystemDirectoryReader.rs index 3c459c00fe2..4d6a922b850 100644 --- a/crates/web-sys/src/features/gen_FileSystemDirectoryReader.rs +++ b/crates/web-sys/src/features/gen_FileSystemDirectoryReader.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FileSystemDirectoryReader , typescript_type = "FileSystemDirectoryReader" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemDirectoryReader , typescript_type = "FileSystemDirectoryReader")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FileSystemDirectoryReader` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -22,7 +22,7 @@ extern "C" { success_callback: &::js_sys::Function, ) -> Result<(), JsValue>; #[cfg(feature = "FileSystemEntriesCallback")] - # [ wasm_bindgen ( catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries ) ] + # [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)"] @@ -32,7 +32,7 @@ extern "C" { this: &FileSystemDirectoryReader, success_callback: &FileSystemEntriesCallback, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { error_callback: &::js_sys::Function, ) -> Result<(), JsValue>; #[cfg(feature = "FileSystemEntriesCallback")] - # [ wasm_bindgen ( catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries ) ] + # [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)"] @@ -56,7 +56,7 @@ extern "C" { error_callback: &::js_sys::Function, ) -> Result<(), JsValue>; #[cfg(feature = "ErrorCallback")] - # [ wasm_bindgen ( catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { error_callback: &ErrorCallback, ) -> Result<(), JsValue>; #[cfg(all(feature = "ErrorCallback", feature = "FileSystemEntriesCallback",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FileSystemEntriesCallback.rs b/crates/web-sys/src/features/gen_FileSystemEntriesCallback.rs index 16d2215d10c..28175a7327a 100644 --- a/crates/web-sys/src/features/gen_FileSystemEntriesCallback.rs +++ b/crates/web-sys/src/features/gen_FileSystemEntriesCallback.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FileSystemEntriesCallback ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemEntriesCallback)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FileSystemEntriesCallback` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_FileSystemEntry.rs b/crates/web-sys/src/features/gen_FileSystemEntry.rs index 9325cff8d9c..7834d6868ef 100644 --- a/crates/web-sys/src/features/gen_FileSystemEntry.rs +++ b/crates/web-sys/src/features/gen_FileSystemEntry.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FileSystemEntry , typescript_type = "FileSystemEntry" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemEntry , typescript_type = "FileSystemEntry")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FileSystemEntry` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -40,21 +40,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -62,7 +62,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -72,7 +72,7 @@ extern "C" { this: &FileSystemEntry, success_callback: &FileSystemEntryCallback, ); - # [ wasm_bindgen ( method , structural , js_class = "FileSystemEntry" , js_name = getParent ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { error_callback: &::js_sys::Function, ); #[cfg(feature = "FileSystemEntryCallback")] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemEntry" , js_name = getParent ) ] + # [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)"] @@ -96,7 +96,7 @@ extern "C" { error_callback: &::js_sys::Function, ); #[cfg(feature = "ErrorCallback")] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemEntry" , js_name = getParent ) ] + # [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)"] @@ -108,7 +108,7 @@ extern "C" { error_callback: &ErrorCallback, ); #[cfg(all(feature = "ErrorCallback", feature = "FileSystemEntryCallback",))] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemEntry" , js_name = getParent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FileSystemEntryCallback.rs b/crates/web-sys/src/features/gen_FileSystemEntryCallback.rs index d9a44ba050c..91f28657121 100644 --- a/crates/web-sys/src/features/gen_FileSystemEntryCallback.rs +++ b/crates/web-sys/src/features/gen_FileSystemEntryCallback.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FileSystemEntryCallback ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemEntryCallback)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FileSystemEntryCallback` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_FileSystemFileEntry.rs b/crates/web-sys/src/features/gen_FileSystemFileEntry.rs index 356bb3d54ce..84dc290ab82 100644 --- a/crates/web-sys/src/features/gen_FileSystemFileEntry.rs +++ b/crates/web-sys/src/features/gen_FileSystemFileEntry.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = FileSystemEntry , extends = :: js_sys :: Object , js_name = FileSystemFileEntry , typescript_type = "FileSystemFileEntry" ) ] + # [wasm_bindgen (extends = FileSystemEntry , extends = :: js_sys :: Object , js_name = FileSystemFileEntry , typescript_type = "FileSystemFileEntry")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FileSystemFileEntry` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,14 +19,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { error_callback: &::js_sys::Function, ); #[cfg(feature = "FileCallback")] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemFileEntry" , js_name = file ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { error_callback: &::js_sys::Function, ); #[cfg(feature = "ErrorCallback")] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemFileEntry" , js_name = file ) ] + # [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)"] @@ -62,7 +62,7 @@ extern "C" { error_callback: &ErrorCallback, ); #[cfg(all(feature = "ErrorCallback", feature = "FileCallback",))] - # [ wasm_bindgen ( method , structural , js_class = "FileSystemFileEntry" , js_name = file ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FileSystemFlags.rs b/crates/web-sys/src/features/gen_FileSystemFlags.rs index 228ab4a8b18..1f5f8c6bc26 100644 --- a/crates/web-sys/src/features/gen_FileSystemFlags.rs +++ b/crates/web-sys/src/features/gen_FileSystemFlags.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FileSystemFlags ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemFlags)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FileSystemFlags` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_FocusEvent.rs b/crates/web-sys/src/features/gen_FocusEvent.rs index 200cee33e14..d50c0dca39d 100644 --- a/crates/web-sys/src/features/gen_FocusEvent.rs +++ b/crates/web-sys/src/features/gen_FocusEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FocusEventInit.rs b/crates/web-sys/src/features/gen_FocusEventInit.rs index acc2cf79f92..5409ff89e16 100644 --- a/crates/web-sys/src/features/gen_FocusEventInit.rs +++ b/crates/web-sys/src/features/gen_FocusEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FocusEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FocusEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FocusEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_FontFace.rs b/crates/web-sys/src/features/gen_FontFace.rs index c58f4dbe79f..4c841ed0c75 100644 --- a/crates/web-sys/src/features/gen_FontFace.rs +++ b/crates/web-sys/src/features/gen_FontFace.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FontFace , typescript_type = "FontFace" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FontFace , typescript_type = "FontFace")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FontFace` class."] #[doc = ""] @@ -11,126 +11,126 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -138,14 +138,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -234,7 +234,7 @@ extern "C" { source: &mut [u8], descriptors: &FontFaceDescriptors, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "FontFace" , js_name = load ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FontFaceDescriptors.rs b/crates/web-sys/src/features/gen_FontFaceDescriptors.rs index e846875fbb5..d52a8c50a55 100644 --- a/crates/web-sys/src/features/gen_FontFaceDescriptors.rs +++ b/crates/web-sys/src/features/gen_FontFaceDescriptors.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FontFaceDescriptors ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FontFaceDescriptors)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FontFaceDescriptors` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_FontFaceSet.rs b/crates/web-sys/src/features/gen_FontFaceSet.rs index 34fbfca82ee..99c8a1f0846 100644 --- a/crates/web-sys/src/features/gen_FontFaceSet.rs +++ b/crates/web-sys/src/features/gen_FontFaceSet.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = FontFaceSet , typescript_type = "FontFaceSet" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = FontFaceSet , typescript_type = "FontFaceSet")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FontFaceSet` class."] #[doc = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -76,28 +76,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "FontFaceSet" , js_name = check ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "FontFaceSet" , js_name = clear ) ] + # [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)"] @@ -105,7 +105,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -113,21 +113,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -139,21 +139,21 @@ extern "C" { this_arg: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; #[cfg(feature = "FontFace")] - # [ wasm_bindgen ( method , structural , js_class = "FontFaceSet" , js_name = has ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -161,7 +161,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FontFaceSetIterator.rs b/crates/web-sys/src/features/gen_FontFaceSetIterator.rs index 2f972fc2aaa..8191f5d102f 100644 --- a/crates/web-sys/src/features/gen_FontFaceSetIterator.rs +++ b/crates/web-sys/src/features/gen_FontFaceSetIterator.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FontFaceSetIteratorResult.rs b/crates/web-sys/src/features/gen_FontFaceSetIteratorResult.rs index 796cee10552..5b9bcf37683 100644 --- a/crates/web-sys/src/features/gen_FontFaceSetIteratorResult.rs +++ b/crates/web-sys/src/features/gen_FontFaceSetIteratorResult.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FontFaceSetIteratorResult ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FontFaceSetIteratorResult)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FontFaceSetIteratorResult` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_FontFaceSetLoadEvent.rs b/crates/web-sys/src/features/gen_FontFaceSetLoadEvent.rs index cd93b717b70..800102f8fc0 100644 --- a/crates/web-sys/src/features/gen_FontFaceSetLoadEvent.rs +++ b/crates/web-sys/src/features/gen_FontFaceSetLoadEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = FontFaceSetLoadEvent , typescript_type = "FontFaceSetLoadEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = FontFaceSetLoadEvent , typescript_type = "FontFaceSetLoadEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FontFaceSetLoadEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FontFaceSetLoadEventInit.rs b/crates/web-sys/src/features/gen_FontFaceSetLoadEventInit.rs index 9a80e62ca5d..7dd73e6417a 100644 --- a/crates/web-sys/src/features/gen_FontFaceSetLoadEventInit.rs +++ b/crates/web-sys/src/features/gen_FontFaceSetLoadEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FontFaceSetLoadEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FontFaceSetLoadEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FontFaceSetLoadEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_FormData.rs b/crates/web-sys/src/features/gen_FormData.rs index 1d67977c8a7..e60528529ae 100644 --- a/crates/web-sys/src/features/gen_FormData.rs +++ b/crates/web-sys/src/features/gen_FormData.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FormData , typescript_type = "FormData" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FormData , typescript_type = "FormData")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FormData` class."] #[doc = ""] @@ -27,7 +27,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `FormData`, `HtmlFormElement`*"] pub fn new_with_form(form: &HtmlFormElement) -> Result; #[cfg(feature = "Blob")] - # [ wasm_bindgen ( catch , method , structural , js_class = "FormData" , js_name = append ) ] + # [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)"] @@ -35,7 +35,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -47,35 +47,35 @@ extern "C" { value: &Blob, filename: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "FormData" , js_name = append ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -83,7 +83,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -91,7 +91,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -103,7 +103,7 @@ extern "C" { value: &Blob, filename: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "FormData" , js_name = set ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_FuzzingFunctions.rs b/crates/web-sys/src/features/gen_FuzzingFunctions.rs index 379e9768912..f3a6d7fcac4 100644 --- a/crates/web-sys/src/features/gen_FuzzingFunctions.rs +++ b/crates/web-sys/src/features/gen_FuzzingFunctions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = FuzzingFunctions , typescript_type = "FuzzingFunctions" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FuzzingFunctions , typescript_type = "FuzzingFunctions")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `FuzzingFunctions` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GainNode.rs b/crates/web-sys/src/features/gen_GainNode.rs index ad15a262936..fe5d28d70ca 100644 --- a/crates/web-sys/src/features/gen_GainNode.rs +++ b/crates/web-sys/src/features/gen_GainNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GainOptions.rs b/crates/web-sys/src/features/gen_GainOptions.rs index 9bff344a037..1fc58151a76 100644 --- a/crates/web-sys/src/features/gen_GainOptions.rs +++ b/crates/web-sys/src/features/gen_GainOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GainOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GainOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GainOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Gamepad.rs b/crates/web-sys/src/features/gen_Gamepad.rs index daa65bb49c4..7545cec16fc 100644 --- a/crates/web-sys/src/features/gen_Gamepad.rs +++ b/crates/web-sys/src/features/gen_Gamepad.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Gamepad , typescript_type = "Gamepad" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Gamepad , typescript_type = "Gamepad")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Gamepad` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -34,42 +34,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -77,14 +77,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Gamepad" , js_name = hapticActuators ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GamepadAxisMoveEvent.rs b/crates/web-sys/src/features/gen_GamepadAxisMoveEvent.rs index 83bcfaf537e..479cf3e4c69 100644 --- a/crates/web-sys/src/features/gen_GamepadAxisMoveEvent.rs +++ b/crates/web-sys/src/features/gen_GamepadAxisMoveEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GamepadAxisMoveEventInit.rs b/crates/web-sys/src/features/gen_GamepadAxisMoveEventInit.rs index 8f864046e4f..92e5cfa52db 100644 --- a/crates/web-sys/src/features/gen_GamepadAxisMoveEventInit.rs +++ b/crates/web-sys/src/features/gen_GamepadAxisMoveEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GamepadAxisMoveEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadAxisMoveEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GamepadAxisMoveEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GamepadButton.rs b/crates/web-sys/src/features/gen_GamepadButton.rs index 0b6ff5f9e49..f06e3ec7d81 100644 --- a/crates/web-sys/src/features/gen_GamepadButton.rs +++ b/crates/web-sys/src/features/gen_GamepadButton.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GamepadButton , typescript_type = "GamepadButton" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadButton , typescript_type = "GamepadButton")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GamepadButton` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GamepadButtonEvent.rs b/crates/web-sys/src/features/gen_GamepadButtonEvent.rs index b017031219c..c04f7249673 100644 --- a/crates/web-sys/src/features/gen_GamepadButtonEvent.rs +++ b/crates/web-sys/src/features/gen_GamepadButtonEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GamepadButtonEventInit.rs b/crates/web-sys/src/features/gen_GamepadButtonEventInit.rs index e53a149e07d..4b43bbc0dc7 100644 --- a/crates/web-sys/src/features/gen_GamepadButtonEventInit.rs +++ b/crates/web-sys/src/features/gen_GamepadButtonEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GamepadButtonEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadButtonEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GamepadButtonEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GamepadEvent.rs b/crates/web-sys/src/features/gen_GamepadEvent.rs index b6121b53a64..22988feac87 100644 --- a/crates/web-sys/src/features/gen_GamepadEvent.rs +++ b/crates/web-sys/src/features/gen_GamepadEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = GamepadEvent , typescript_type = "GamepadEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = GamepadEvent , typescript_type = "GamepadEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GamepadEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GamepadEventInit.rs b/crates/web-sys/src/features/gen_GamepadEventInit.rs index 9498b327c03..096ee0b00e4 100644 --- a/crates/web-sys/src/features/gen_GamepadEventInit.rs +++ b/crates/web-sys/src/features/gen_GamepadEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GamepadEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GamepadEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GamepadHapticActuator.rs b/crates/web-sys/src/features/gen_GamepadHapticActuator.rs index 8ff9a868b4d..98c01912ef6 100644 --- a/crates/web-sys/src/features/gen_GamepadHapticActuator.rs +++ b/crates/web-sys/src/features/gen_GamepadHapticActuator.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GamepadHapticActuator , typescript_type = "GamepadHapticActuator" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadHapticActuator , typescript_type = "GamepadHapticActuator")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GamepadHapticActuator` class."] #[doc = ""] @@ -12,14 +12,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GamepadPose.rs b/crates/web-sys/src/features/gen_GamepadPose.rs index 2fc87f0a427..a8980c3f777 100644 --- a/crates/web-sys/src/features/gen_GamepadPose.rs +++ b/crates/web-sys/src/features/gen_GamepadPose.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GamepadPose , typescript_type = "GamepadPose" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadPose , typescript_type = "GamepadPose")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GamepadPose` class."] #[doc = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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>, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "GamepadPose" , js_name = linearVelocity ) ] + # [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>, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "GamepadPose" , js_name = linearAcceleration ) ] + # [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>, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "GamepadPose" , js_name = orientation ) ] + # [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>, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "GamepadPose" , js_name = angularVelocity ) ] + # [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>, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "GamepadPose" , js_name = angularAcceleration ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GamepadServiceTest.rs b/crates/web-sys/src/features/gen_GamepadServiceTest.rs index 467470f12b2..93db8333185 100644 --- a/crates/web-sys/src/features/gen_GamepadServiceTest.rs +++ b/crates/web-sys/src/features/gen_GamepadServiceTest.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GamepadServiceTest , typescript_type = "GamepadServiceTest" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadServiceTest , typescript_type = "GamepadServiceTest")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GamepadServiceTest` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -67,14 +67,14 @@ extern "C" { num_axes: u32, num_haptics: u32, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "GamepadServiceTest" , js_name = newAxisMoveEvent ) ] + # [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 ) ] + # [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)"] @@ -87,7 +87,7 @@ extern "C" { pressed: bool, touched: bool, ); - # [ wasm_bindgen ( method , structural , js_class = "GamepadServiceTest" , js_name = newButtonValueEvent ) ] + # [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)"] @@ -101,7 +101,7 @@ extern "C" { touched: bool, value: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "GamepadServiceTest" , js_name = newPoseMove ) ] + # [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)"] @@ -117,7 +117,7 @@ extern "C" { lin_velocity: Option<&mut [f32]>, lin_acceleration: Option<&mut [f32]>, ); - # [ wasm_bindgen ( method , structural , js_class = "GamepadServiceTest" , js_name = removeGamepad ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Geolocation.rs b/crates/web-sys/src/features/gen_Geolocation.rs index 02d3c19b361..896b7ffb90a 100644 --- a/crates/web-sys/src/features/gen_Geolocation.rs +++ b/crates/web-sys/src/features/gen_Geolocation.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { this: &Geolocation, success_callback: &::js_sys::Function, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Geolocation" , js_name = getCurrentPosition ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { error_callback: Option<&::js_sys::Function>, ) -> Result<(), JsValue>; #[cfg(feature = "PositionOptions")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Geolocation" , js_name = getCurrentPosition ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { error_callback: Option<&::js_sys::Function>, options: &PositionOptions, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Geolocation" , js_name = watchPosition ) ] + # [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)"] @@ -62,7 +62,7 @@ extern "C" { this: &Geolocation, success_callback: &::js_sys::Function, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Geolocation" , js_name = watchPosition ) ] + # [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)"] @@ -74,7 +74,7 @@ extern "C" { error_callback: Option<&::js_sys::Function>, ) -> Result; #[cfg(feature = "PositionOptions")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Geolocation" , js_name = watchPosition ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GetNotificationOptions.rs b/crates/web-sys/src/features/gen_GetNotificationOptions.rs index b5ad93c2732..4c5e1011e33 100644 --- a/crates/web-sys/src/features/gen_GetNotificationOptions.rs +++ b/crates/web-sys/src/features/gen_GetNotificationOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GetNotificationOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GetNotificationOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GetNotificationOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GetRootNodeOptions.rs b/crates/web-sys/src/features/gen_GetRootNodeOptions.rs index 74844cdc6b0..f38dc2b51a5 100644 --- a/crates/web-sys/src/features/gen_GetRootNodeOptions.rs +++ b/crates/web-sys/src/features/gen_GetRootNodeOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GetRootNodeOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GetRootNodeOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GetRootNodeOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GetUserMediaRequest.rs b/crates/web-sys/src/features/gen_GetUserMediaRequest.rs index 56b20e6d2dd..da4a744cb20 100644 --- a/crates/web-sys/src/features/gen_GetUserMediaRequest.rs +++ b/crates/web-sys/src/features/gen_GetUserMediaRequest.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,49 +11,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -61,7 +61,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Gpu.rs b/crates/web-sys/src/features/gen_Gpu.rs index e323714dec2..bb48e073bec 100644 --- a/crates/web-sys/src/features/gen_Gpu.rs +++ b/crates/web-sys/src/features/gen_Gpu.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPU , typescript_type = "GPU")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Gpu` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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)] - # [ wasm_bindgen ( method , structural , js_class = "GPU" , js_name = requestAdapter ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { 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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuAdapter.rs b/crates/web-sys/src/features/gen_GpuAdapter.rs index 69e4411ef48..aaf69c8bb7c 100644 --- a/crates/web-sys/src/features/gen_GpuAdapter.rs +++ b/crates/web-sys/src/features/gen_GpuAdapter.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUAdapter , typescript_type = "GPUAdapter")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuAdapter` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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)] - # [ wasm_bindgen ( structural , method , getter , js_class = "GPUAdapter" , js_name = name ) ] + # [wasm_bindgen (structural , method , getter , js_class = "GPUAdapter" , 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/GPUAdapter/name)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn name(this: &GpuAdapter) -> String; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUAdapter" , js_name = requestDevice ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { 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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuBindGroup.rs b/crates/web-sys/src/features/gen_GpuBindGroup.rs index 7c7e22fafe1..e235001a313 100644 --- a/crates/web-sys/src/features/gen_GpuBindGroup.rs +++ b/crates/web-sys/src/features/gen_GpuBindGroup.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroup , typescript_type = "GPUBindGroup")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuBindGroup` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuBindGroup) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUBindGroup" , js_name = label ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuBindGroupDescriptor.rs b/crates/web-sys/src/features/gen_GpuBindGroupDescriptor.rs index 44fe1a3062d..528a40a46e6 100644 --- a/crates/web-sys/src/features/gen_GpuBindGroupDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuBindGroupDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUBindGroupDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuBindGroupDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuBindGroupEntry.rs b/crates/web-sys/src/features/gen_GpuBindGroupEntry.rs index 538b0444f88..72c7de2ac6a 100644 --- a/crates/web-sys/src/features/gen_GpuBindGroupEntry.rs +++ b/crates/web-sys/src/features/gen_GpuBindGroupEntry.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUBindGroupEntry ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupEntry)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuBindGroupEntry` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuBindGroupLayout.rs b/crates/web-sys/src/features/gen_GpuBindGroupLayout.rs index 4db285bd149..d60a2b399df 100644 --- a/crates/web-sys/src/features/gen_GpuBindGroupLayout.rs +++ b/crates/web-sys/src/features/gen_GpuBindGroupLayout.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupLayout , typescript_type = "GPUBindGroupLayout")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuBindGroupLayout` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuBindGroupLayout) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUBindGroupLayout" , js_name = label ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuBindGroupLayoutDescriptor.rs b/crates/web-sys/src/features/gen_GpuBindGroupLayoutDescriptor.rs index b4b31da09e5..0a67dc1bded 100644 --- a/crates/web-sys/src/features/gen_GpuBindGroupLayoutDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuBindGroupLayoutDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUBindGroupLayoutDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupLayoutDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuBindGroupLayoutDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuBindGroupLayoutEntry.rs b/crates/web-sys/src/features/gen_GpuBindGroupLayoutEntry.rs index cc68a42a40d..4a17220c803 100644 --- a/crates/web-sys/src/features/gen_GpuBindGroupLayoutEntry.rs +++ b/crates/web-sys/src/features/gen_GpuBindGroupLayoutEntry.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUBindGroupLayoutEntry ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBindGroupLayoutEntry)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuBindGroupLayoutEntry` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuBlendDescriptor.rs b/crates/web-sys/src/features/gen_GpuBlendDescriptor.rs index bdf2889451b..4514a656233 100644 --- a/crates/web-sys/src/features/gen_GpuBlendDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuBlendDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUBlendDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBlendDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuBlendDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuBuffer.rs b/crates/web-sys/src/features/gen_GpuBuffer.rs index e19011b8e22..122eaedc909 100644 --- a/crates/web-sys/src/features/gen_GpuBuffer.rs +++ b/crates/web-sys/src/features/gen_GpuBuffer.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBuffer , typescript_type = "GPUBuffer")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuBuffer` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 = label ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuBuffer) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUBuffer" , js_name = label ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { #[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: Option<&str>); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUBuffer" , js_name = destroy ) ] + # [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)"] @@ -49,7 +49,7 @@ extern "C" { #[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 = mapReadAsync ) ] + # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapReadAsync)] #[doc = "The `mapReadAsync()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapReadAsync)"] @@ -60,7 +60,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn map_read_async(this: &GpuBuffer) -> ::js_sys::Promise; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUBuffer" , js_name = mapWriteAsync ) ] + # [wasm_bindgen (method , structural , js_class = "GPUBuffer" , js_name = mapWriteAsync)] #[doc = "The `mapWriteAsync()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUBuffer/mapWriteAsync)"] @@ -71,7 +71,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn map_write_async(this: &GpuBuffer) -> ::js_sys::Promise; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUBuffer" , js_name = unmap ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuBufferBinding.rs b/crates/web-sys/src/features/gen_GpuBufferBinding.rs index 321b783557f..0e0c8904746 100644 --- a/crates/web-sys/src/features/gen_GpuBufferBinding.rs +++ b/crates/web-sys/src/features/gen_GpuBufferBinding.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUBufferBinding ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBufferBinding)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuBufferBinding` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuBufferCopyView.rs b/crates/web-sys/src/features/gen_GpuBufferCopyView.rs index d9383543485..6588d042ecc 100644 --- a/crates/web-sys/src/features/gen_GpuBufferCopyView.rs +++ b/crates/web-sys/src/features/gen_GpuBufferCopyView.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUBufferCopyView ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBufferCopyView)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuBufferCopyView` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuBufferDescriptor.rs b/crates/web-sys/src/features/gen_GpuBufferDescriptor.rs index fbcf87612e8..1136fde5ef4 100644 --- a/crates/web-sys/src/features/gen_GpuBufferDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuBufferDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUBufferDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBufferDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuBufferDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuBufferUsage.rs b/crates/web-sys/src/features/gen_GpuBufferUsage.rs index 499cf0bb2d2..313d5730b18 100644 --- a/crates/web-sys/src/features/gen_GpuBufferUsage.rs +++ b/crates/web-sys/src/features/gen_GpuBufferUsage.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUBufferUsage , typescript_type = "GPUBufferUsage" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUBufferUsage , typescript_type = "GPUBufferUsage")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuBufferUsage` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuCanvasContext.rs b/crates/web-sys/src/features/gen_GpuCanvasContext.rs index 9a22936bf5d..55e1a29f439 100644 --- a/crates/web-sys/src/features/gen_GpuCanvasContext.rs +++ b/crates/web-sys/src/features/gen_GpuCanvasContext.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCanvasContext , typescript_type = "GPUCanvasContext")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuCanvasContext` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type GpuCanvasContext; #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuSwapChain", feature = "GpuSwapChainDescriptor",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUCanvasContext" , js_name = configureSwapChain ) ] + # [wasm_bindgen (method , structural , js_class = "GPUCanvasContext" , js_name = configureSwapChain)] #[doc = "The `configureSwapChain()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCanvasContext/configureSwapChain)"] @@ -32,7 +32,7 @@ extern "C" { ) -> GpuSwapChain; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuDevice")] - # [ wasm_bindgen ( method , structural , js_class = "GPUCanvasContext" , js_name = getSwapChainPreferredFormat ) ] + # [wasm_bindgen (method , structural , js_class = "GPUCanvasContext" , js_name = getSwapChainPreferredFormat)] #[doc = "The `getSwapChainPreferredFormat()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCanvasContext/getSwapChainPreferredFormat)"] diff --git a/crates/web-sys/src/features/gen_GpuColorDict.rs b/crates/web-sys/src/features/gen_GpuColorDict.rs index 5988aeb9055..de5420ee5a1 100644 --- a/crates/web-sys/src/features/gen_GpuColorDict.rs +++ b/crates/web-sys/src/features/gen_GpuColorDict.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUColorDict ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUColorDict)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuColorDict` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuColorStateDescriptor.rs b/crates/web-sys/src/features/gen_GpuColorStateDescriptor.rs index 33fa26811fd..d8ad3b9911a 100644 --- a/crates/web-sys/src/features/gen_GpuColorStateDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuColorStateDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUColorStateDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUColorStateDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuColorStateDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuColorWrite.rs b/crates/web-sys/src/features/gen_GpuColorWrite.rs index 435cdda6cf6..47b1571225a 100644 --- a/crates/web-sys/src/features/gen_GpuColorWrite.rs +++ b/crates/web-sys/src/features/gen_GpuColorWrite.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUColorWrite , typescript_type = "GPUColorWrite" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUColorWrite , typescript_type = "GPUColorWrite")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuColorWrite` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuCommandBuffer.rs b/crates/web-sys/src/features/gen_GpuCommandBuffer.rs index 7902d27a119..5df42c67868 100644 --- a/crates/web-sys/src/features/gen_GpuCommandBuffer.rs +++ b/crates/web-sys/src/features/gen_GpuCommandBuffer.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCommandBuffer , typescript_type = "GPUCommandBuffer")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuCommandBuffer` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 = executionTime ) ] + # [wasm_bindgen (structural , method , getter , js_class = "GPUCommandBuffer" , js_name = executionTime)] #[doc = "Getter for the `executionTime` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandBuffer/executionTime)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn execution_time(this: &GpuCommandBuffer) -> ::js_sys::Promise; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , getter , js_class = "GPUCommandBuffer" , js_name = label ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuCommandBuffer) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUCommandBuffer" , js_name = label ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuCommandBufferDescriptor.rs b/crates/web-sys/src/features/gen_GpuCommandBufferDescriptor.rs index fc61dc57d91..8e1f50ed31f 100644 --- a/crates/web-sys/src/features/gen_GpuCommandBufferDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuCommandBufferDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUCommandBufferDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCommandBufferDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuCommandBufferDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuCommandEncoder.rs b/crates/web-sys/src/features/gen_GpuCommandEncoder.rs index db10eb9a4d0..7dde1dd28e3 100644 --- a/crates/web-sys/src/features/gen_GpuCommandEncoder.rs +++ b/crates/web-sys/src/features/gen_GpuCommandEncoder.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCommandEncoder , typescript_type = "GPUCommandEncoder")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuCommandEncoder` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuCommandEncoder) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUCommandEncoder" , js_name = label ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { pub fn set_label(this: &GpuCommandEncoder, value: Option<&str>); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuComputePassEncoder")] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = beginComputePass ) ] + # [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)"] @@ -54,7 +54,7 @@ extern "C" { feature = "GpuComputePassDescriptor", feature = "GpuComputePassEncoder", ))] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = beginComputePass ) ] + # [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)"] @@ -69,7 +69,7 @@ extern "C" { ) -> GpuComputePassEncoder; #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuRenderPassDescriptor", feature = "GpuRenderPassEncoder",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = beginRenderPass ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { ) -> GpuRenderPassEncoder; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer ) ] + # [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)"] @@ -103,7 +103,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer ) ] + # [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)"] @@ -122,7 +122,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer ) ] + # [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)"] @@ -141,7 +141,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer ) ] + # [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)"] @@ -160,7 +160,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer ) ] + # [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)"] @@ -179,7 +179,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer ) ] + # [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)"] @@ -198,7 +198,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer ) ] + # [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)"] @@ -217,7 +217,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer ) ] + # [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)"] @@ -236,7 +236,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuBufferCopyView", feature = "GpuTextureCopyView",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToTexture ) ] + # [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)"] @@ -257,7 +257,7 @@ extern "C" { feature = "GpuExtent3dDict", feature = "GpuTextureCopyView", ))] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToTexture ) ] + # [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)"] @@ -274,7 +274,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuBufferCopyView", feature = "GpuTextureCopyView",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyTextureToBuffer ) ] + # [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)"] @@ -295,7 +295,7 @@ extern "C" { feature = "GpuExtent3dDict", feature = "GpuTextureCopyView", ))] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyTextureToBuffer ) ] + # [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)"] @@ -312,7 +312,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuTextureCopyView")] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyTextureToTexture ) ] + # [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)"] @@ -329,7 +329,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuExtent3dDict", feature = "GpuTextureCopyView",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = copyTextureToTexture ) ] + # [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)"] @@ -346,7 +346,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuCommandBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = finish ) ] + # [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)"] @@ -358,7 +358,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -372,7 +372,7 @@ extern "C" { descriptor: &GpuCommandBufferDescriptor, ) -> GpuCommandBuffer; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = insertDebugMarker ) ] + # [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)"] @@ -383,7 +383,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -394,7 +394,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -406,7 +406,7 @@ extern "C" { pub fn push_debug_group(this: &GpuCommandEncoder, group_label: &str); #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuBuffer", feature = "GpuQuerySet",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = resolveQuerySet ) ] + # [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)"] @@ -425,7 +425,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuBuffer", feature = "GpuQuerySet",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = resolveQuerySet ) ] + # [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)"] @@ -444,7 +444,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuQuerySet")] - # [ wasm_bindgen ( method , structural , js_class = "GPUCommandEncoder" , js_name = writeTimestamp ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuCommandEncoderDescriptor.rs b/crates/web-sys/src/features/gen_GpuCommandEncoderDescriptor.rs index 123e47a9ac4..1faf8d2fe3e 100644 --- a/crates/web-sys/src/features/gen_GpuCommandEncoderDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuCommandEncoderDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUCommandEncoderDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCommandEncoderDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuCommandEncoderDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuCompilationInfo.rs b/crates/web-sys/src/features/gen_GpuCompilationInfo.rs index a0f7f0a11b3..47601d58006 100644 --- a/crates/web-sys/src/features/gen_GpuCompilationInfo.rs +++ b/crates/web-sys/src/features/gen_GpuCompilationInfo.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCompilationInfo , typescript_type = "GPUCompilationInfo")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuCompilationInfo` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuCompilationMessage.rs b/crates/web-sys/src/features/gen_GpuCompilationMessage.rs index ac5356de5b0..62dd46a381d 100644 --- a/crates/web-sys/src/features/gen_GpuCompilationMessage.rs +++ b/crates/web-sys/src/features/gen_GpuCompilationMessage.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUCompilationMessage , typescript_type = "GPUCompilationMessage")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuCompilationMessage` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuComputePassDescriptor.rs b/crates/web-sys/src/features/gen_GpuComputePassDescriptor.rs index 8cc26349d19..094e02f67d4 100644 --- a/crates/web-sys/src/features/gen_GpuComputePassDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuComputePassDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUComputePassDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePassDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuComputePassDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuComputePassEncoder.rs b/crates/web-sys/src/features/gen_GpuComputePassEncoder.rs index b424c8b0b78..35ce98ae728 100644 --- a/crates/web-sys/src/features/gen_GpuComputePassEncoder.rs +++ b/crates/web-sys/src/features/gen_GpuComputePassEncoder.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePassEncoder , typescript_type = "GPUComputePassEncoder")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuComputePassEncoder` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuComputePassEncoder) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUComputePassEncoder" , js_name = label ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { pub fn set_label(this: &GpuComputePassEncoder, value: Option<&str>); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuQuerySet")] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = beginPipelineStatisticsQuery ) ] + # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = beginPipelineStatisticsQuery)] #[doc = "The `beginPipelineStatisticsQuery()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/beginPipelineStatisticsQuery)"] @@ -54,7 +54,7 @@ extern "C" { query_index: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatch ) ] + # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatch)] #[doc = "The `dispatch()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatch)"] @@ -65,7 +65,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn dispatch(this: &GpuComputePassEncoder, x: u32); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatch ) ] + # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatch)] #[doc = "The `dispatch()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatch)"] @@ -76,7 +76,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn dispatch_with_y(this: &GpuComputePassEncoder, x: u32, y: u32); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatch ) ] + # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatch)] #[doc = "The `dispatch()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatch)"] @@ -88,7 +88,7 @@ extern "C" { pub fn dispatch_with_y_and_z(this: &GpuComputePassEncoder, x: u32, y: u32, z: u32); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchIndirect ) ] + # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchIndirect)] #[doc = "The `dispatchIndirect()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatchIndirect)"] @@ -104,7 +104,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchIndirect ) ] + # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = dispatchIndirect)] #[doc = "The `dispatchIndirect()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatchIndirect)"] @@ -119,7 +119,7 @@ extern "C" { indirect_offset: f64, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = endPass ) ] + # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = endPass)] #[doc = "The `endPass()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/endPass)"] @@ -130,7 +130,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn end_pass(this: &GpuComputePassEncoder); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = endPipelineStatisticsQuery ) ] + # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = endPipelineStatisticsQuery)] #[doc = "The `endPipelineStatisticsQuery()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/endPipelineStatisticsQuery)"] @@ -142,7 +142,7 @@ extern "C" { pub fn end_pipeline_statistics_query(this: &GpuComputePassEncoder); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuComputePipeline")] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = setPipeline ) ] + # [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)"] @@ -154,7 +154,7 @@ extern "C" { pub fn set_pipeline(this: &GpuComputePassEncoder, pipeline: &GpuComputePipeline); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuQuerySet")] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = writeTimestamp ) ] + # [wasm_bindgen (method , structural , js_class = "GPUComputePassEncoder" , js_name = writeTimestamp)] #[doc = "The `writeTimestamp()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/writeTimestamp)"] @@ -165,7 +165,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn write_timestamp(this: &GpuComputePassEncoder, query_set: &GpuQuerySet, query_index: u32); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = insertDebugMarker ) ] + # [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)"] @@ -176,7 +176,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -187,7 +187,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -199,7 +199,7 @@ extern "C" { pub fn push_debug_group(this: &GpuComputePassEncoder, group_label: &str); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBindGroup")] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = setBindGroup ) ] + # [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)"] @@ -211,7 +211,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -228,7 +228,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBindGroup")] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = setBindGroup ) ] + # [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)"] @@ -247,7 +247,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBindGroup")] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePassEncoder" , js_name = setBindGroup ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuComputePipeline.rs b/crates/web-sys/src/features/gen_GpuComputePipeline.rs index bee2bee3505..452e4ee6f7e 100644 --- a/crates/web-sys/src/features/gen_GpuComputePipeline.rs +++ b/crates/web-sys/src/features/gen_GpuComputePipeline.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePipeline , typescript_type = "GPUComputePipeline")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuComputePipeline` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuComputePipeline) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUComputePipeline" , js_name = label ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { pub fn set_label(this: &GpuComputePipeline, value: Option<&str>); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBindGroupLayout")] - # [ wasm_bindgen ( method , structural , js_class = "GPUComputePipeline" , js_name = getBindGroupLayout ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuComputePipelineDescriptor.rs b/crates/web-sys/src/features/gen_GpuComputePipelineDescriptor.rs index 51644a9971a..023992855bb 100644 --- a/crates/web-sys/src/features/gen_GpuComputePipelineDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuComputePipelineDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUComputePipelineDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUComputePipelineDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuComputePipelineDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuDepthStencilStateDescriptor.rs b/crates/web-sys/src/features/gen_GpuDepthStencilStateDescriptor.rs index b315461ac53..e9e14ce45cd 100644 --- a/crates/web-sys/src/features/gen_GpuDepthStencilStateDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuDepthStencilStateDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUDepthStencilStateDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUDepthStencilStateDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuDepthStencilStateDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuDevice.rs b/crates/web-sys/src/features/gen_GpuDevice.rs index 24f19579df0..903458d386b 100644 --- a/crates/web-sys/src/features/gen_GpuDevice.rs +++ b/crates/web-sys/src/features/gen_GpuDevice.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = GPUDevice , typescript_type = "GPUDevice")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuDevice` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type GpuDevice; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuAdapter")] - # [ wasm_bindgen ( structural , method , getter , js_class = "GPUDevice" , js_name = adapter ) ] + # [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = adapter)] #[doc = "Getter for the `adapter` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/adapter)"] @@ -28,7 +28,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn adapter(this: &GpuDevice) -> GpuAdapter; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , getter , js_class = "GPUDevice" , js_name = limits ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { pub fn limits(this: &GpuDevice) -> ::js_sys::Object; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuQueue")] - # [ wasm_bindgen ( structural , method , getter , js_class = "GPUDevice" , js_name = defaultQueue ) ] + # [wasm_bindgen (structural , method , getter , js_class = "GPUDevice" , js_name = defaultQueue)] #[doc = "Getter for the `defaultQueue` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/defaultQueue)"] @@ -51,7 +51,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn default_queue(this: &GpuDevice) -> GpuQueue; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , getter , js_class = "GPUDevice" , js_name = lost ) ] + # [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)"] @@ -62,7 +62,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -73,7 +73,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -95,7 +95,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuDevice) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUDevice" , js_name = label ) ] + # [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)"] @@ -107,7 +107,7 @@ extern "C" { pub fn set_label(this: &GpuDevice, value: Option<&str>); #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuBindGroup", feature = "GpuBindGroupDescriptor",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createBindGroup ) ] + # [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)"] @@ -123,7 +123,7 @@ extern "C" { feature = "GpuBindGroupLayout", feature = "GpuBindGroupLayoutDescriptor", ))] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createBindGroupLayout ) ] + # [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)"] @@ -138,7 +138,7 @@ extern "C" { ) -> GpuBindGroupLayout; #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuBuffer", feature = "GpuBufferDescriptor",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createBuffer ) ] + # [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)"] @@ -150,7 +150,7 @@ extern "C" { pub fn create_buffer(this: &GpuDevice, descriptor: &GpuBufferDescriptor) -> GpuBuffer; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBufferDescriptor")] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createBufferMapped ) ] + # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createBufferMapped)] #[doc = "The `createBufferMapped()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createBufferMapped)"] @@ -165,7 +165,7 @@ extern "C" { ) -> ::js_sys::Array; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuCommandEncoder")] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createCommandEncoder ) ] + # [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)"] @@ -177,7 +177,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -195,7 +195,7 @@ extern "C" { feature = "GpuComputePipeline", feature = "GpuComputePipelineDescriptor", ))] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createComputePipeline ) ] + # [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)"] @@ -210,7 +210,7 @@ extern "C" { ) -> GpuComputePipeline; #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuPipelineLayout", feature = "GpuPipelineLayoutDescriptor",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createPipelineLayout ) ] + # [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)"] @@ -225,7 +225,7 @@ extern "C" { ) -> GpuPipelineLayout; #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuQuerySet", feature = "GpuQuerySetDescriptor",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createQuerySet ) ] + # [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)"] @@ -237,7 +237,7 @@ extern "C" { pub fn create_query_set(this: &GpuDevice, descriptor: &GpuQuerySetDescriptor) -> GpuQuerySet; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuComputePipelineDescriptor")] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createReadyComputePipeline ) ] + # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createReadyComputePipeline)] #[doc = "The `createReadyComputePipeline()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createReadyComputePipeline)"] @@ -252,7 +252,7 @@ extern "C" { ) -> ::js_sys::Promise; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuRenderPipelineDescriptor")] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createReadyRenderPipeline ) ] + # [wasm_bindgen (method , structural , js_class = "GPUDevice" , js_name = createReadyRenderPipeline)] #[doc = "The `createReadyRenderPipeline()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createReadyRenderPipeline)"] @@ -270,7 +270,7 @@ extern "C" { feature = "GpuRenderBundleEncoder", feature = "GpuRenderBundleEncoderDescriptor", ))] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createRenderBundleEncoder ) ] + # [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)"] @@ -285,7 +285,7 @@ extern "C" { ) -> GpuRenderBundleEncoder; #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuRenderPipeline", feature = "GpuRenderPipelineDescriptor",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createRenderPipeline ) ] + # [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)"] @@ -300,7 +300,7 @@ extern "C" { ) -> GpuRenderPipeline; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuSampler")] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createSampler ) ] + # [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)"] @@ -312,7 +312,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -327,7 +327,7 @@ extern "C" { ) -> GpuSampler; #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuShaderModule", feature = "GpuShaderModuleDescriptor",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createShaderModule ) ] + # [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)"] @@ -342,7 +342,7 @@ extern "C" { ) -> GpuShaderModule; #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuTexture", feature = "GpuTextureDescriptor",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUDevice" , js_name = createTexture ) ] + # [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)"] @@ -353,7 +353,7 @@ extern "C" { #[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 = popErrorScope ) ] + # [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)"] @@ -365,7 +365,7 @@ extern "C" { 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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuDeviceDescriptor.rs b/crates/web-sys/src/features/gen_GpuDeviceDescriptor.rs index c8fe173838f..e77a90a6fe5 100644 --- a/crates/web-sys/src/features/gen_GpuDeviceDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuDeviceDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUDeviceDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUDeviceDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuDeviceDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuDeviceLostInfo.rs b/crates/web-sys/src/features/gen_GpuDeviceLostInfo.rs index 90fedd8d6c7..dc75a603440 100644 --- a/crates/web-sys/src/features/gen_GpuDeviceLostInfo.rs +++ b/crates/web-sys/src/features/gen_GpuDeviceLostInfo.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUDeviceLostInfo , typescript_type = "GPUDeviceLostInfo")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuDeviceLostInfo` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 = message ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuExtent3dDict.rs b/crates/web-sys/src/features/gen_GpuExtent3dDict.rs index a673a6b1995..8d0130a1eb0 100644 --- a/crates/web-sys/src/features/gen_GpuExtent3dDict.rs +++ b/crates/web-sys/src/features/gen_GpuExtent3dDict.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUExtent3DDict ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUExtent3DDict)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuExtent3dDict` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuFence.rs b/crates/web-sys/src/features/gen_GpuFence.rs index 95c60dd345a..1c25e189506 100644 --- a/crates/web-sys/src/features/gen_GpuFence.rs +++ b/crates/web-sys/src/features/gen_GpuFence.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUFence , typescript_type = "GPUFence" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUFence , typescript_type = "GPUFence")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuFence` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub type GpuFence; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , getter , js_class = "GPUFence" , js_name = label ) ] + # [wasm_bindgen (structural , method , getter , js_class = "GPUFence" , 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/GPUFence/label)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuFence) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUFence" , js_name = label ) ] + # [wasm_bindgen (structural , method , setter , js_class = "GPUFence" , 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/GPUFence/label)"] @@ -38,7 +38,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn set_label(this: &GpuFence, value: Option<&str>); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUFence" , js_name = getCompletedValue ) ] + # [wasm_bindgen (method , structural , js_class = "GPUFence" , js_name = getCompletedValue)] #[doc = "The `getCompletedValue()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUFence/getCompletedValue)"] @@ -49,7 +49,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn get_completed_value(this: &GpuFence) -> f64; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUFence" , js_name = onCompletion ) ] + # [wasm_bindgen (method , structural , js_class = "GPUFence" , js_name = onCompletion)] #[doc = "The `onCompletion()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUFence/onCompletion)"] @@ -60,7 +60,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn on_completion_with_u32(this: &GpuFence, completion_value: u32) -> ::js_sys::Promise; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUFence" , js_name = onCompletion ) ] + # [wasm_bindgen (method , structural , js_class = "GPUFence" , js_name = onCompletion)] #[doc = "The `onCompletion()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUFence/onCompletion)"] diff --git a/crates/web-sys/src/features/gen_GpuFenceDescriptor.rs b/crates/web-sys/src/features/gen_GpuFenceDescriptor.rs index 395402747c8..1bba7fd8875 100644 --- a/crates/web-sys/src/features/gen_GpuFenceDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuFenceDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUFenceDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUFenceDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuFenceDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuImageBitmapCopyView.rs b/crates/web-sys/src/features/gen_GpuImageBitmapCopyView.rs index b9da64e12b6..3d73d4ff9be 100644 --- a/crates/web-sys/src/features/gen_GpuImageBitmapCopyView.rs +++ b/crates/web-sys/src/features/gen_GpuImageBitmapCopyView.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUImageBitmapCopyView ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUImageBitmapCopyView)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuImageBitmapCopyView` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuLimits.rs b/crates/web-sys/src/features/gen_GpuLimits.rs index 8f1a5ff0ebf..5b993138fea 100644 --- a/crates/web-sys/src/features/gen_GpuLimits.rs +++ b/crates/web-sys/src/features/gen_GpuLimits.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPULimits ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPULimits)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuLimits` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuObjectDescriptorBase.rs b/crates/web-sys/src/features/gen_GpuObjectDescriptorBase.rs index 377eb970d44..a6f095db1a0 100644 --- a/crates/web-sys/src/features/gen_GpuObjectDescriptorBase.rs +++ b/crates/web-sys/src/features/gen_GpuObjectDescriptorBase.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUObjectDescriptorBase ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUObjectDescriptorBase)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuObjectDescriptorBase` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuOrigin2dDict.rs b/crates/web-sys/src/features/gen_GpuOrigin2dDict.rs index 2b444ce5acf..f4cb3dde595 100644 --- a/crates/web-sys/src/features/gen_GpuOrigin2dDict.rs +++ b/crates/web-sys/src/features/gen_GpuOrigin2dDict.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUOrigin2DDict ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUOrigin2DDict)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuOrigin2dDict` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuOrigin3dDict.rs b/crates/web-sys/src/features/gen_GpuOrigin3dDict.rs index bde9fad989a..6aab0ca4f22 100644 --- a/crates/web-sys/src/features/gen_GpuOrigin3dDict.rs +++ b/crates/web-sys/src/features/gen_GpuOrigin3dDict.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUOrigin3DDict ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUOrigin3DDict)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuOrigin3dDict` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuOutOfMemoryError.rs b/crates/web-sys/src/features/gen_GpuOutOfMemoryError.rs index 4e422facd5a..46702c5d79a 100644 --- a/crates/web-sys/src/features/gen_GpuOutOfMemoryError.rs +++ b/crates/web-sys/src/features/gen_GpuOutOfMemoryError.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUOutOfMemoryError , typescript_type = "GPUOutOfMemoryError" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUOutOfMemoryError , typescript_type = "GPUOutOfMemoryError")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuOutOfMemoryError` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuPipelineDescriptorBase.rs b/crates/web-sys/src/features/gen_GpuPipelineDescriptorBase.rs index c5463baa143..dfeed3aa9b5 100644 --- a/crates/web-sys/src/features/gen_GpuPipelineDescriptorBase.rs +++ b/crates/web-sys/src/features/gen_GpuPipelineDescriptorBase.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUPipelineDescriptorBase ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUPipelineDescriptorBase)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuPipelineDescriptorBase` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuPipelineLayout.rs b/crates/web-sys/src/features/gen_GpuPipelineLayout.rs index d00fc8efb2b..4a9a2b7ac1f 100644 --- a/crates/web-sys/src/features/gen_GpuPipelineLayout.rs +++ b/crates/web-sys/src/features/gen_GpuPipelineLayout.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUPipelineLayout , typescript_type = "GPUPipelineLayout")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuPipelineLayout` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuPipelineLayout) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUPipelineLayout" , js_name = label ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuPipelineLayoutDescriptor.rs b/crates/web-sys/src/features/gen_GpuPipelineLayoutDescriptor.rs index 42e96ae1e41..4e9b55e5f9c 100644 --- a/crates/web-sys/src/features/gen_GpuPipelineLayoutDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuPipelineLayoutDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUPipelineLayoutDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUPipelineLayoutDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuPipelineLayoutDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuProgrammableStageDescriptor.rs b/crates/web-sys/src/features/gen_GpuProgrammableStageDescriptor.rs index c4b70762731..91e1e2e6288 100644 --- a/crates/web-sys/src/features/gen_GpuProgrammableStageDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuProgrammableStageDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUProgrammableStageDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUProgrammableStageDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuProgrammableStageDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuQuerySet.rs b/crates/web-sys/src/features/gen_GpuQuerySet.rs index 8af0d560732..da2a4141fcc 100644 --- a/crates/web-sys/src/features/gen_GpuQuerySet.rs +++ b/crates/web-sys/src/features/gen_GpuQuerySet.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUQuerySet , typescript_type = "GPUQuerySet")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuQuerySet` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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)] - # [ wasm_bindgen ( structural , method , getter , js_class = "GPUQuerySet" , js_name = label ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuQuerySet) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUQuerySet" , js_name = label ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { #[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: Option<&str>); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUQuerySet" , js_name = destroy ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuQuerySetDescriptor.rs b/crates/web-sys/src/features/gen_GpuQuerySetDescriptor.rs index 0c295a5cbc0..eca1a478427 100644 --- a/crates/web-sys/src/features/gen_GpuQuerySetDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuQuerySetDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUQuerySetDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUQuerySetDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuQuerySetDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuQueue.rs b/crates/web-sys/src/features/gen_GpuQueue.rs index b67e7000dc5..f5ab89b7f59 100644 --- a/crates/web-sys/src/features/gen_GpuQueue.rs +++ b/crates/web-sys/src/features/gen_GpuQueue.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUQueue , typescript_type = "GPUQueue")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuQueue` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuQueue) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUQueue" , js_name = label ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { pub fn set_label(this: &GpuQueue, value: Option<&str>); #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuImageBitmapCopyView", feature = "GpuTextureCopyView",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = copyImageBitmapToTexture ) ] + # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = copyImageBitmapToTexture)] #[doc = "The `copyImageBitmapToTexture()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/copyImageBitmapToTexture)"] @@ -60,7 +60,7 @@ extern "C" { feature = "GpuImageBitmapCopyView", feature = "GpuTextureCopyView", ))] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = copyImageBitmapToTexture ) ] + # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = copyImageBitmapToTexture)] #[doc = "The `copyImageBitmapToTexture()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/copyImageBitmapToTexture)"] @@ -77,7 +77,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuFence")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = createFence ) ] + # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = createFence)] #[doc = "The `createFence()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/createFence)"] @@ -89,7 +89,7 @@ extern "C" { pub fn create_fence(this: &GpuQueue) -> GpuFence; #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuFence", feature = "GpuFenceDescriptor",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = createFence ) ] + # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = createFence)] #[doc = "The `createFence()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/createFence)"] @@ -104,7 +104,7 @@ extern "C" { ) -> GpuFence; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuFence")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = signal ) ] + # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = signal)] #[doc = "The `signal()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/signal)"] @@ -116,7 +116,7 @@ extern "C" { pub fn signal_with_u32(this: &GpuQueue, fence: &GpuFence, signal_value: u32); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuFence")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = signal ) ] + # [wasm_bindgen (method , structural , js_class = "GPUQueue" , js_name = signal)] #[doc = "The `signal()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/signal)"] @@ -127,7 +127,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn signal_with_f64(this: &GpuQueue, fence: &GpuFence, signal_value: f64); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = submit ) ] + # [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)"] @@ -139,7 +139,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -156,7 +156,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeBuffer ) ] + # [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)"] @@ -173,7 +173,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeBuffer ) ] + # [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)"] @@ -191,7 +191,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeBuffer ) ] + # [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)"] @@ -209,7 +209,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeBuffer ) ] + # [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)"] @@ -227,7 +227,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeBuffer ) ] + # [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)"] @@ -245,7 +245,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeBuffer ) ] + # [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)"] @@ -264,7 +264,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeBuffer ) ] + # [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)"] @@ -283,7 +283,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeBuffer ) ] + # [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)"] @@ -302,7 +302,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeBuffer ) ] + # [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)"] @@ -321,7 +321,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeBuffer ) ] + # [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)"] @@ -340,7 +340,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeBuffer ) ] + # [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)"] @@ -359,7 +359,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeBuffer ) ] + # [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)"] @@ -378,7 +378,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeBuffer ) ] + # [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)"] @@ -397,7 +397,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "GpuTextureCopyView", feature = "GpuTextureDataLayout",))] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeTexture ) ] + # [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)"] @@ -419,7 +419,7 @@ extern "C" { feature = "GpuTextureCopyView", feature = "GpuTextureDataLayout", ))] - # [ wasm_bindgen ( method , structural , js_class = "GPUQueue" , js_name = writeTexture ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuRasterizationStateDescriptor.rs b/crates/web-sys/src/features/gen_GpuRasterizationStateDescriptor.rs index 481156bc4eb..9095c3f3e89 100644 --- a/crates/web-sys/src/features/gen_GpuRasterizationStateDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuRasterizationStateDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPURasterizationStateDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURasterizationStateDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuRasterizationStateDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuRenderBundle.rs b/crates/web-sys/src/features/gen_GpuRenderBundle.rs index 85f42d2d31a..7ef770ae428 100644 --- a/crates/web-sys/src/features/gen_GpuRenderBundle.rs +++ b/crates/web-sys/src/features/gen_GpuRenderBundle.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderBundle , typescript_type = "GPURenderBundle")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuRenderBundle` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuRenderBundle) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPURenderBundle" , js_name = label ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuRenderBundleDescriptor.rs b/crates/web-sys/src/features/gen_GpuRenderBundleDescriptor.rs index 8d806e2fbc1..b65ba734b18 100644 --- a/crates/web-sys/src/features/gen_GpuRenderBundleDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuRenderBundleDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPURenderBundleDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderBundleDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuRenderBundleDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuRenderBundleEncoder.rs b/crates/web-sys/src/features/gen_GpuRenderBundleEncoder.rs index dea16562f7f..af5cc66b688 100644 --- a/crates/web-sys/src/features/gen_GpuRenderBundleEncoder.rs +++ b/crates/web-sys/src/features/gen_GpuRenderBundleEncoder.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderBundleEncoder , typescript_type = "GPURenderBundleEncoder")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuRenderBundleEncoder` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuRenderBundleEncoder) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPURenderBundleEncoder" , js_name = label ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { pub fn set_label(this: &GpuRenderBundleEncoder, value: Option<&str>); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuRenderBundle")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = finish ) ] + # [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)"] @@ -51,7 +51,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -65,7 +65,7 @@ extern "C" { descriptor: &GpuRenderBundleDescriptor, ) -> GpuRenderBundle; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = insertDebugMarker ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -87,7 +87,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -99,7 +99,7 @@ extern "C" { pub fn push_debug_group(this: &GpuRenderBundleEncoder, group_label: &str); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBindGroup")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup ) ] + # [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)"] @@ -111,7 +111,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -128,7 +128,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBindGroup")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup ) ] + # [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)"] @@ -147,7 +147,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBindGroup")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setBindGroup ) ] + # [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)"] @@ -165,7 +165,7 @@ extern "C" { dynamic_offsets_data_length: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw ) ] + # [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)"] @@ -176,7 +176,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -191,7 +191,7 @@ extern "C" { instance_count: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw ) ] + # [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)"] @@ -207,7 +207,7 @@ extern "C" { first_vertex: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = draw ) ] + # [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)"] @@ -224,7 +224,7 @@ extern "C" { first_instance: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed ) ] + # [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)"] @@ -235,7 +235,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -250,7 +250,7 @@ extern "C" { instance_count: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed ) ] + # [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)"] @@ -266,7 +266,7 @@ extern "C" { first_index: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed ) ] + # [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)"] @@ -283,7 +283,7 @@ extern "C" { base_vertex: i32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexed ) ] + # [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)"] @@ -302,7 +302,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexedIndirect ) ] + # [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)"] @@ -318,7 +318,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndexedIndirect ) ] + # [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)"] @@ -334,7 +334,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndirect ) ] + # [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)"] @@ -350,7 +350,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = drawIndirect ) ] + # [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)"] @@ -366,7 +366,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -378,7 +378,7 @@ extern "C" { pub fn set_index_buffer(this: &GpuRenderBundleEncoder, buffer: &GpuBuffer); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -394,7 +394,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -410,7 +410,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -427,7 +427,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -444,7 +444,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -461,7 +461,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -478,7 +478,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuRenderPipeline")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setPipeline ) ] + # [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)"] @@ -490,7 +490,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -502,7 +502,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -519,7 +519,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer ) ] + # [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)"] @@ -536,7 +536,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer ) ] + # [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)"] @@ -554,7 +554,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer ) ] + # [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)"] @@ -572,7 +572,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer ) ] + # [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)"] @@ -590,7 +590,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderBundleEncoder" , js_name = setVertexBuffer ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuRenderBundleEncoderDescriptor.rs b/crates/web-sys/src/features/gen_GpuRenderBundleEncoderDescriptor.rs index ccf4d8e2fc1..85ff8f54ece 100644 --- a/crates/web-sys/src/features/gen_GpuRenderBundleEncoderDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuRenderBundleEncoderDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPURenderBundleEncoderDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderBundleEncoderDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuRenderBundleEncoderDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuRenderPassColorAttachmentDescriptor.rs b/crates/web-sys/src/features/gen_GpuRenderPassColorAttachmentDescriptor.rs index fcb02d87f03..53cb885c3e3 100644 --- a/crates/web-sys/src/features/gen_GpuRenderPassColorAttachmentDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuRenderPassColorAttachmentDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPURenderPassColorAttachmentDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassColorAttachmentDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuRenderPassColorAttachmentDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuRenderPassDepthStencilAttachmentDescriptor.rs b/crates/web-sys/src/features/gen_GpuRenderPassDepthStencilAttachmentDescriptor.rs index 1238efdd5cd..eb65c44a20f 100644 --- a/crates/web-sys/src/features/gen_GpuRenderPassDepthStencilAttachmentDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuRenderPassDepthStencilAttachmentDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPURenderPassDepthStencilAttachmentDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassDepthStencilAttachmentDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuRenderPassDepthStencilAttachmentDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuRenderPassDescriptor.rs b/crates/web-sys/src/features/gen_GpuRenderPassDescriptor.rs index 6d3db7ae15a..3ffcb6d6e00 100644 --- a/crates/web-sys/src/features/gen_GpuRenderPassDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuRenderPassDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPURenderPassDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuRenderPassDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuRenderPassEncoder.rs b/crates/web-sys/src/features/gen_GpuRenderPassEncoder.rs index 439da9f3582..a1a56330c05 100644 --- a/crates/web-sys/src/features/gen_GpuRenderPassEncoder.rs +++ b/crates/web-sys/src/features/gen_GpuRenderPassEncoder.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPassEncoder , typescript_type = "GPURenderPassEncoder")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuRenderPassEncoder` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuRenderPassEncoder) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPURenderPassEncoder" , js_name = label ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { #[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: Option<&str>); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = beginOcclusionQuery ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { pub fn begin_occlusion_query(this: &GpuRenderPassEncoder, query_index: u32); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuQuerySet")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = beginPipelineStatisticsQuery ) ] + # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = beginPipelineStatisticsQuery)] #[doc = "The `beginPipelineStatisticsQuery()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/beginPipelineStatisticsQuery)"] @@ -65,7 +65,7 @@ extern "C" { query_index: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = endOcclusionQuery ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 = endPass ) ] + # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = endPass)] #[doc = "The `endPass()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/endPass)"] @@ -87,7 +87,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn end_pass(this: &GpuRenderPassEncoder); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = endPipelineStatisticsQuery ) ] + # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = endPipelineStatisticsQuery)] #[doc = "The `endPipelineStatisticsQuery()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/endPipelineStatisticsQuery)"] @@ -98,7 +98,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn end_pipeline_statistics_query(this: &GpuRenderPassEncoder); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = executeBundles ) ] + # [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)"] @@ -109,7 +109,7 @@ extern "C" { #[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 = setBlendColor ) ] + # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBlendColor)] #[doc = "The `setBlendColor()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBlendColor)"] @@ -124,7 +124,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuColorDict")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setBlendColor ) ] + # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = setBlendColor)] #[doc = "The `setBlendColor()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/setBlendColor)"] @@ -135,7 +135,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn set_blend_color_with_gpu_color_dict(this: &GpuRenderPassEncoder, color: &GpuColorDict); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setScissorRect ) ] + # [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)"] @@ -146,7 +146,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -157,7 +157,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -177,7 +177,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuQuerySet")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = writeTimestamp ) ] + # [wasm_bindgen (method , structural , js_class = "GPURenderPassEncoder" , js_name = writeTimestamp)] #[doc = "The `writeTimestamp()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPURenderPassEncoder/writeTimestamp)"] @@ -188,7 +188,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn write_timestamp(this: &GpuRenderPassEncoder, query_set: &GpuQuerySet, query_index: u32); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = insertDebugMarker ) ] + # [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)"] @@ -199,7 +199,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -210,7 +210,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -222,7 +222,7 @@ extern "C" { pub fn push_debug_group(this: &GpuRenderPassEncoder, group_label: &str); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBindGroup")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup ) ] + # [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)"] @@ -234,7 +234,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -251,7 +251,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBindGroup")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup ) ] + # [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)"] @@ -270,7 +270,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBindGroup")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setBindGroup ) ] + # [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)"] @@ -288,7 +288,7 @@ extern "C" { dynamic_offsets_data_length: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = draw ) ] + # [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)"] @@ -299,7 +299,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -314,7 +314,7 @@ extern "C" { instance_count: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = draw ) ] + # [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)"] @@ -330,7 +330,7 @@ extern "C" { first_vertex: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = draw ) ] + # [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)"] @@ -347,7 +347,7 @@ extern "C" { first_instance: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed ) ] + # [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)"] @@ -358,7 +358,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -373,7 +373,7 @@ extern "C" { instance_count: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed ) ] + # [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)"] @@ -389,7 +389,7 @@ extern "C" { first_index: u32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed ) ] + # [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)"] @@ -406,7 +406,7 @@ extern "C" { base_vertex: i32, ); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexed ) ] + # [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)"] @@ -425,7 +425,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexedIndirect ) ] + # [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)"] @@ -441,7 +441,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndexedIndirect ) ] + # [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)"] @@ -457,7 +457,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndirect ) ] + # [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)"] @@ -473,7 +473,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = drawIndirect ) ] + # [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)"] @@ -489,7 +489,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -501,7 +501,7 @@ extern "C" { pub fn set_index_buffer(this: &GpuRenderPassEncoder, buffer: &GpuBuffer); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -513,7 +513,7 @@ extern "C" { pub fn set_index_buffer_with_u32(this: &GpuRenderPassEncoder, buffer: &GpuBuffer, offset: u32); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -525,7 +525,7 @@ extern "C" { pub fn set_index_buffer_with_f64(this: &GpuRenderPassEncoder, buffer: &GpuBuffer, offset: f64); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -542,7 +542,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -559,7 +559,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -576,7 +576,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setIndexBuffer ) ] + # [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)"] @@ -593,7 +593,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuRenderPipeline")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setPipeline ) ] + # [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)"] @@ -605,7 +605,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -617,7 +617,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -634,7 +634,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer ) ] + # [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)"] @@ -651,7 +651,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer ) ] + # [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)"] @@ -669,7 +669,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer ) ] + # [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)"] @@ -687,7 +687,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer ) ] + # [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)"] @@ -705,7 +705,7 @@ extern "C" { ); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPassEncoder" , js_name = setVertexBuffer ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuRenderPipeline.rs b/crates/web-sys/src/features/gen_GpuRenderPipeline.rs index 26036fdc3d6..c9541566809 100644 --- a/crates/web-sys/src/features/gen_GpuRenderPipeline.rs +++ b/crates/web-sys/src/features/gen_GpuRenderPipeline.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPipeline , typescript_type = "GPURenderPipeline")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuRenderPipeline` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuRenderPipeline) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPURenderPipeline" , js_name = label ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { pub fn set_label(this: &GpuRenderPipeline, value: Option<&str>); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuBindGroupLayout")] - # [ wasm_bindgen ( method , structural , js_class = "GPURenderPipeline" , js_name = getBindGroupLayout ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuRenderPipelineDescriptor.rs b/crates/web-sys/src/features/gen_GpuRenderPipelineDescriptor.rs index f39b95b8d40..51bddb58fdf 100644 --- a/crates/web-sys/src/features/gen_GpuRenderPipelineDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuRenderPipelineDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPURenderPipelineDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURenderPipelineDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuRenderPipelineDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuRequestAdapterOptions.rs b/crates/web-sys/src/features/gen_GpuRequestAdapterOptions.rs index 7384436f805..9cc043df3be 100644 --- a/crates/web-sys/src/features/gen_GpuRequestAdapterOptions.rs +++ b/crates/web-sys/src/features/gen_GpuRequestAdapterOptions.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPURequestAdapterOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPURequestAdapterOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuRequestAdapterOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuSampler.rs b/crates/web-sys/src/features/gen_GpuSampler.rs index 23f111cbec6..42e389470ec 100644 --- a/crates/web-sys/src/features/gen_GpuSampler.rs +++ b/crates/web-sys/src/features/gen_GpuSampler.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUSampler , typescript_type = "GPUSampler")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuSampler` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuSampler) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUSampler" , js_name = label ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuSamplerDescriptor.rs b/crates/web-sys/src/features/gen_GpuSamplerDescriptor.rs index af539722940..dd9cc69fee0 100644 --- a/crates/web-sys/src/features/gen_GpuSamplerDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuSamplerDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUSamplerDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUSamplerDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuSamplerDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuShaderModule.rs b/crates/web-sys/src/features/gen_GpuShaderModule.rs index f8dfbfa9389..7e35f25ecc4 100644 --- a/crates/web-sys/src/features/gen_GpuShaderModule.rs +++ b/crates/web-sys/src/features/gen_GpuShaderModule.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUShaderModule , typescript_type = "GPUShaderModule")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuShaderModule` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuShaderModule) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUShaderModule" , js_name = label ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { #[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: Option<&str>); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUShaderModule" , js_name = compilationInfo ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuShaderModuleDescriptor.rs b/crates/web-sys/src/features/gen_GpuShaderModuleDescriptor.rs index b00e1b22429..1214deb3449 100644 --- a/crates/web-sys/src/features/gen_GpuShaderModuleDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuShaderModuleDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUShaderModuleDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUShaderModuleDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuShaderModuleDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuShaderStage.rs b/crates/web-sys/src/features/gen_GpuShaderStage.rs index a9fae477e9d..f9b2538c119 100644 --- a/crates/web-sys/src/features/gen_GpuShaderStage.rs +++ b/crates/web-sys/src/features/gen_GpuShaderStage.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUShaderStage , typescript_type = "GPUShaderStage" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUShaderStage , typescript_type = "GPUShaderStage")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuShaderStage` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuStencilStateFaceDescriptor.rs b/crates/web-sys/src/features/gen_GpuStencilStateFaceDescriptor.rs index 46316c9fa83..aba779d35df 100644 --- a/crates/web-sys/src/features/gen_GpuStencilStateFaceDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuStencilStateFaceDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUStencilStateFaceDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUStencilStateFaceDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuStencilStateFaceDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuSwapChain.rs b/crates/web-sys/src/features/gen_GpuSwapChain.rs index c2a8a4d9266..1aa916890e7 100644 --- a/crates/web-sys/src/features/gen_GpuSwapChain.rs +++ b/crates/web-sys/src/features/gen_GpuSwapChain.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUSwapChain , typescript_type = "GPUSwapChain" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUSwapChain , typescript_type = "GPUSwapChain")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuSwapChain` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub type GpuSwapChain; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , getter , js_class = "GPUSwapChain" , js_name = label ) ] + # [wasm_bindgen (structural , method , getter , js_class = "GPUSwapChain" , 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/GPUSwapChain/label)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuSwapChain) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUSwapChain" , js_name = label ) ] + # [wasm_bindgen (structural , method , setter , js_class = "GPUSwapChain" , 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/GPUSwapChain/label)"] @@ -39,7 +39,7 @@ extern "C" { pub fn set_label(this: &GpuSwapChain, value: Option<&str>); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuTexture")] - # [ wasm_bindgen ( method , structural , js_class = "GPUSwapChain" , js_name = getCurrentTexture ) ] + # [wasm_bindgen (method , structural , js_class = "GPUSwapChain" , js_name = getCurrentTexture)] #[doc = "The `getCurrentTexture()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSwapChain/getCurrentTexture)"] diff --git a/crates/web-sys/src/features/gen_GpuSwapChainDescriptor.rs b/crates/web-sys/src/features/gen_GpuSwapChainDescriptor.rs index f213902f8d8..8a34fd2b836 100644 --- a/crates/web-sys/src/features/gen_GpuSwapChainDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuSwapChainDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUSwapChainDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUSwapChainDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuSwapChainDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuTexture.rs b/crates/web-sys/src/features/gen_GpuTexture.rs index 559c119374b..ff9c31bd5bf 100644 --- a/crates/web-sys/src/features/gen_GpuTexture.rs +++ b/crates/web-sys/src/features/gen_GpuTexture.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUTexture , typescript_type = "GPUTexture")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuTexture` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 = label ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuTexture) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUTexture" , js_name = label ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { pub fn set_label(this: &GpuTexture, value: Option<&str>); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "GpuTextureView")] - # [ wasm_bindgen ( method , structural , js_class = "GPUTexture" , js_name = createView ) ] + # [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)"] @@ -51,7 +51,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -65,7 +65,7 @@ extern "C" { descriptor: &GpuTextureViewDescriptor, ) -> GpuTextureView; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "GPUTexture" , js_name = destroy ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuTextureCopyView.rs b/crates/web-sys/src/features/gen_GpuTextureCopyView.rs index b78c3511cc2..b9b928e6c51 100644 --- a/crates/web-sys/src/features/gen_GpuTextureCopyView.rs +++ b/crates/web-sys/src/features/gen_GpuTextureCopyView.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUTextureCopyView ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUTextureCopyView)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuTextureCopyView` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuTextureDataLayout.rs b/crates/web-sys/src/features/gen_GpuTextureDataLayout.rs index 0ec56acfcbb..aa73e2e03a0 100644 --- a/crates/web-sys/src/features/gen_GpuTextureDataLayout.rs +++ b/crates/web-sys/src/features/gen_GpuTextureDataLayout.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUTextureDataLayout ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUTextureDataLayout)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuTextureDataLayout` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuTextureDescriptor.rs b/crates/web-sys/src/features/gen_GpuTextureDescriptor.rs index b0c522d036c..c46f8887850 100644 --- a/crates/web-sys/src/features/gen_GpuTextureDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuTextureDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUTextureDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUTextureDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuTextureDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuTextureUsage.rs b/crates/web-sys/src/features/gen_GpuTextureUsage.rs index 606d1f166c3..a1ae02ade74 100644 --- a/crates/web-sys/src/features/gen_GpuTextureUsage.rs +++ b/crates/web-sys/src/features/gen_GpuTextureUsage.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUTextureUsage , typescript_type = "GPUTextureUsage" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUTextureUsage , typescript_type = "GPUTextureUsage")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuTextureUsage` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuTextureView.rs b/crates/web-sys/src/features/gen_GpuTextureView.rs index bc7413553b0..fceaf0e7ce0 100644 --- a/crates/web-sys/src/features/gen_GpuTextureView.rs +++ b/crates/web-sys/src/features/gen_GpuTextureView.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUTextureView , typescript_type = "GPUTextureView")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuTextureView` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn label(this: &GpuTextureView) -> Option; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "GPUTextureView" , js_name = label ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuTextureViewDescriptor.rs b/crates/web-sys/src/features/gen_GpuTextureViewDescriptor.rs index 4fb02edd7ee..ade29ff7e65 100644 --- a/crates/web-sys/src/features/gen_GpuTextureViewDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuTextureViewDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUTextureViewDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUTextureViewDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuTextureViewDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuUncapturedErrorEvent.rs b/crates/web-sys/src/features/gen_GpuUncapturedErrorEvent.rs index 75d8d9400d4..0a834cf0f1c 100644 --- a/crates/web-sys/src/features/gen_GpuUncapturedErrorEvent.rs +++ b/crates/web-sys/src/features/gen_GpuUncapturedErrorEvent.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = GPUUncapturedErrorEvent , typescript_type = "GPUUncapturedErrorEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuUncapturedErrorEvent` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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)] - # [ wasm_bindgen ( structural , method , getter , js_class = "GPUUncapturedErrorEvent" , js_name = error ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_GpuUncapturedErrorEventInit.rs b/crates/web-sys/src/features/gen_GpuUncapturedErrorEventInit.rs index 005c5b6f289..b554bcb72f8 100644 --- a/crates/web-sys/src/features/gen_GpuUncapturedErrorEventInit.rs +++ b/crates/web-sys/src/features/gen_GpuUncapturedErrorEventInit.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUUncapturedErrorEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUUncapturedErrorEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuUncapturedErrorEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuValidationError.rs b/crates/web-sys/src/features/gen_GpuValidationError.rs index 861a3e68fa0..5a4d0249f63 100644 --- a/crates/web-sys/src/features/gen_GpuValidationError.rs +++ b/crates/web-sys/src/features/gen_GpuValidationError.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUValidationError , typescript_type = "GPUValidationError" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUValidationError , typescript_type = "GPUValidationError")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuValidationError` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ( structural , method , getter , js_class = "GPUValidationError" , js_name = message ) ] + # [wasm_bindgen (structural , method , getter , js_class = "GPUValidationError" , 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/GPUValidationError/message)"] diff --git a/crates/web-sys/src/features/gen_GpuVertexAttributeDescriptor.rs b/crates/web-sys/src/features/gen_GpuVertexAttributeDescriptor.rs index 7ddd034e340..29601b63b17 100644 --- a/crates/web-sys/src/features/gen_GpuVertexAttributeDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuVertexAttributeDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUVertexAttributeDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUVertexAttributeDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuVertexAttributeDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuVertexBufferLayoutDescriptor.rs b/crates/web-sys/src/features/gen_GpuVertexBufferLayoutDescriptor.rs index a3de92cbc0c..f03e3a53844 100644 --- a/crates/web-sys/src/features/gen_GpuVertexBufferLayoutDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuVertexBufferLayoutDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUVertexBufferLayoutDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUVertexBufferLayoutDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuVertexBufferLayoutDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GpuVertexStateDescriptor.rs b/crates/web-sys/src/features/gen_GpuVertexStateDescriptor.rs index 63fbd769c31..c8d0665ed38 100644 --- a/crates/web-sys/src/features/gen_GpuVertexStateDescriptor.rs +++ b/crates/web-sys/src/features/gen_GpuVertexStateDescriptor.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GPUVertexStateDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUVertexStateDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GpuVertexStateDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_GroupedHistoryEventInit.rs b/crates/web-sys/src/features/gen_GroupedHistoryEventInit.rs index d0cb78e5c63..93825a574b6 100644 --- a/crates/web-sys/src/features/gen_GroupedHistoryEventInit.rs +++ b/crates/web-sys/src/features/gen_GroupedHistoryEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = GroupedHistoryEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GroupedHistoryEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `GroupedHistoryEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_HalfOpenInfoDict.rs b/crates/web-sys/src/features/gen_HalfOpenInfoDict.rs index a0ab94c13cf..3124dfd4ce0 100644 --- a/crates/web-sys/src/features/gen_HalfOpenInfoDict.rs +++ b/crates/web-sys/src/features/gen_HalfOpenInfoDict.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HalfOpenInfoDict ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HalfOpenInfoDict)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HalfOpenInfoDict` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_HashChangeEvent.rs b/crates/web-sys/src/features/gen_HashChangeEvent.rs index db875cd885e..9623ed3338f 100644 --- a/crates/web-sys/src/features/gen_HashChangeEvent.rs +++ b/crates/web-sys/src/features/gen_HashChangeEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = HashChangeEvent , typescript_type = "HashChangeEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = HashChangeEvent , typescript_type = "HashChangeEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HashChangeEvent` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -43,14 +43,14 @@ extern "C" { type_: &str, event_init_dict: &HashChangeEventInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "HashChangeEvent" , js_name = initHashChangeEvent ) ] + # [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 ) ] + # [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)"] @@ -61,7 +61,7 @@ extern "C" { type_arg: &str, can_bubble_arg: bool, ); - # [ wasm_bindgen ( method , structural , js_class = "HashChangeEvent" , js_name = initHashChangeEvent ) ] + # [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)"] @@ -73,7 +73,7 @@ extern "C" { can_bubble_arg: bool, cancelable_arg: bool, ); - # [ wasm_bindgen ( method , structural , js_class = "HashChangeEvent" , js_name = initHashChangeEvent ) ] + # [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)"] @@ -86,7 +86,7 @@ extern "C" { cancelable_arg: bool, old_url_arg: &str, ); - # [ wasm_bindgen ( method , structural , js_class = "HashChangeEvent" , js_name = initHashChangeEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HashChangeEventInit.rs b/crates/web-sys/src/features/gen_HashChangeEventInit.rs index 17bb194cb40..f28b2222e56 100644 --- a/crates/web-sys/src/features/gen_HashChangeEventInit.rs +++ b/crates/web-sys/src/features/gen_HashChangeEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HashChangeEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HashChangeEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HashChangeEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Headers.rs b/crates/web-sys/src/features/gen_Headers.rs index 54d72dcb762..47e0261ff01 100644 --- a/crates/web-sys/src/features/gen_Headers.rs +++ b/crates/web-sys/src/features/gen_Headers.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Headers , typescript_type = "Headers" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Headers , typescript_type = "Headers")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Headers` class."] #[doc = ""] @@ -34,35 +34,35 @@ extern "C" { pub fn new_with_str_sequence_sequence( init: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Headers" , js_name = append ) ] + # [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 ) ] + # [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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Headers" , js_name = has ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Headers" , js_name = set ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HiddenPluginEventInit.rs b/crates/web-sys/src/features/gen_HiddenPluginEventInit.rs index b54e0180a06..35f216f4464 100644 --- a/crates/web-sys/src/features/gen_HiddenPluginEventInit.rs +++ b/crates/web-sys/src/features/gen_HiddenPluginEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HiddenPluginEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HiddenPluginEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HiddenPluginEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_History.rs b/crates/web-sys/src/features/gen_History.rs index cdc25fa933f..50d9b9ad0d1 100644 --- a/crates/web-sys/src/features/gen_History.rs +++ b/crates/web-sys/src/features/gen_History.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = History , typescript_type = "History" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = History , typescript_type = "History")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `History` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `History`*"] pub fn length(this: &History) -> Result; #[cfg(feature = "ScrollRestoration")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "History" , js_name = 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)"] @@ -27,49 +27,49 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `History`, `ScrollRestoration`*"] pub fn scroll_restoration(this: &History) -> Result; #[cfg(feature = "ScrollRestoration")] - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "History" , js_name = 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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -80,7 +80,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, title: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "History" , js_name = pushState ) ] + # [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)"] @@ -92,7 +92,7 @@ extern "C" { title: &str, url: Option<&str>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "History" , js_name = replaceState ) ] + # [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)"] @@ -103,7 +103,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, title: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "History" , js_name = replaceState ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HitRegionOptions.rs b/crates/web-sys/src/features/gen_HitRegionOptions.rs index 55756c7bc28..b1b56fec199 100644 --- a/crates/web-sys/src/features/gen_HitRegionOptions.rs +++ b/crates/web-sys/src/features/gen_HitRegionOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HitRegionOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HitRegionOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HitRegionOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_HkdfParams.rs b/crates/web-sys/src/features/gen_HkdfParams.rs index 8d76a68fc65..059bbe35698 100644 --- a/crates/web-sys/src/features/gen_HkdfParams.rs +++ b/crates/web-sys/src/features/gen_HkdfParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HkdfParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HkdfParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HkdfParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_HmacDerivedKeyParams.rs b/crates/web-sys/src/features/gen_HmacDerivedKeyParams.rs index 5600dfa28d1..b1708bcff53 100644 --- a/crates/web-sys/src/features/gen_HmacDerivedKeyParams.rs +++ b/crates/web-sys/src/features/gen_HmacDerivedKeyParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HmacDerivedKeyParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HmacDerivedKeyParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HmacDerivedKeyParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_HmacImportParams.rs b/crates/web-sys/src/features/gen_HmacImportParams.rs index 5349e846055..eb9489c059b 100644 --- a/crates/web-sys/src/features/gen_HmacImportParams.rs +++ b/crates/web-sys/src/features/gen_HmacImportParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HmacImportParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HmacImportParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HmacImportParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_HmacKeyAlgorithm.rs b/crates/web-sys/src/features/gen_HmacKeyAlgorithm.rs index b028235bfdd..5910552e337 100644 --- a/crates/web-sys/src/features/gen_HmacKeyAlgorithm.rs +++ b/crates/web-sys/src/features/gen_HmacKeyAlgorithm.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HmacKeyAlgorithm ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HmacKeyAlgorithm)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HmacKeyAlgorithm` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_HmacKeyGenParams.rs b/crates/web-sys/src/features/gen_HmacKeyGenParams.rs index 041217ce34e..3903d71a727 100644 --- a/crates/web-sys/src/features/gen_HmacKeyGenParams.rs +++ b/crates/web-sys/src/features/gen_HmacKeyGenParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HmacKeyGenParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HmacKeyGenParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HmacKeyGenParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_HtmlAllCollection.rs b/crates/web-sys/src/features/gen_HtmlAllCollection.rs index 1e9b294bdad..8510f7f4cf0 100644 --- a/crates/web-sys/src/features/gen_HtmlAllCollection.rs +++ b/crates/web-sys/src/features/gen_HtmlAllCollection.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HTMLAllCollection , typescript_type = "HTMLAllCollection" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HTMLAllCollection , typescript_type = "HTMLAllCollection")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HtmlAllCollection` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,21 +19,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "HTMLAllCollection" , js_name = item ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlAnchorElement.rs b/crates/web-sys/src/features/gen_HtmlAnchorElement.rs index 9be9a258846..0b953108c1f 100644 --- a/crates/web-sys/src/features/gen_HtmlAnchorElement.rs +++ b/crates/web-sys/src/features/gen_HtmlAnchorElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,70 +11,70 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -82,266 +82,266 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "HTMLAnchorElement" , js_name = text ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlAreaElement.rs b/crates/web-sys/src/features/gen_HtmlAreaElement.rs index fd5e903a01a..23a9ae2c757 100644 --- a/crates/web-sys/src/features/gen_HtmlAreaElement.rs +++ b/crates/web-sys/src/features/gen_HtmlAreaElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,112 +11,112 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -124,168 +124,168 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlAudioElement.rs b/crates/web-sys/src/features/gen_HtmlAudioElement.rs index 04322ec4c88..03ea58ccf05 100644 --- a/crates/web-sys/src/features/gen_HtmlAudioElement.rs +++ b/crates/web-sys/src/features/gen_HtmlAudioElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_HtmlBaseElement.rs b/crates/web-sys/src/features/gen_HtmlBaseElement.rs index 4faa30df1c0..d521cabb7d3 100644 --- a/crates/web-sys/src/features/gen_HtmlBaseElement.rs +++ b/crates/web-sys/src/features/gen_HtmlBaseElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlBodyElement.rs b/crates/web-sys/src/features/gen_HtmlBodyElement.rs index 0d555932189..f7355c4c335 100644 --- a/crates/web-sys/src/features/gen_HtmlBodyElement.rs +++ b/crates/web-sys/src/features/gen_HtmlBodyElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,280 +11,280 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlBrElement.rs b/crates/web-sys/src/features/gen_HtmlBrElement.rs index 4c68aab6177..aa332a90a5c 100644 --- a/crates/web-sys/src/features/gen_HtmlBrElement.rs +++ b/crates/web-sys/src/features/gen_HtmlBrElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlButtonElement.rs b/crates/web-sys/src/features/gen_HtmlButtonElement.rs index ddfe6cb4771..e8958b145f1 100644 --- a/crates/web-sys/src/features/gen_HtmlButtonElement.rs +++ b/crates/web-sys/src/features/gen_HtmlButtonElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -40,126 +40,126 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLButtonElement" , js_name = formAction ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -167,14 +167,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -182,28 +182,28 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `HtmlButtonElement`*"] pub fn validation_message(this: &HtmlButtonElement) -> Result; #[cfg(feature = "NodeList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLButtonElement" , js_name = labels ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlCanvasElement.rs b/crates/web-sys/src/features/gen_HtmlCanvasElement.rs index e704adcc7af..ff8ab7e2dce 100644 --- a/crates/web-sys/src/features/gen_HtmlCanvasElement.rs +++ b/crates/web-sys/src/features/gen_HtmlCanvasElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -49,7 +49,7 @@ extern "C" { this: &HtmlCanvasElement, context_id: &str, ) -> Result, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLCanvasElement" , js_name = getContext ) ] + # [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)"] @@ -60,14 +60,14 @@ extern "C" { context_id: &str, context_options: &::wasm_bindgen::JsValue, ) -> Result, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLCanvasElement" , js_name = toBlob ) ] + # [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 ) ] + # [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)"] @@ -78,7 +78,7 @@ extern "C" { callback: &::js_sys::Function, type_: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLCanvasElement" , js_name = toBlob ) ] + # [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)"] @@ -90,21 +90,21 @@ extern "C" { type_: &str, encoder_options: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLCanvasElement" , js_name = toDataURL ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLCanvasElement" , js_name = toDataURL ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLCanvasElement" , js_name = toDataURL ) ] + # [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)"] @@ -116,7 +116,7 @@ extern "C" { encoder_options: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "OffscreenCanvas")] - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLCanvasElement" , js_name = transferControlToOffscreen ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlCollection.rs b/crates/web-sys/src/features/gen_HtmlCollection.rs index e15110825e4..cf3ff4fbea6 100644 --- a/crates/web-sys/src/features/gen_HtmlCollection.rs +++ b/crates/web-sys/src/features/gen_HtmlCollection.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HTMLCollection , typescript_type = "HTMLCollection" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HTMLCollection , typescript_type = "HTMLCollection")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HtmlCollection` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*"] pub fn item(this: &HtmlCollection, index: u32) -> Option; #[cfg(feature = "Element")] - # [ wasm_bindgen ( method , structural , js_class = "HTMLCollection" , js_name = namedItem ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlDListElement.rs b/crates/web-sys/src/features/gen_HtmlDListElement.rs index 59302c767b4..74fab306a26 100644 --- a/crates/web-sys/src/features/gen_HtmlDListElement.rs +++ b/crates/web-sys/src/features/gen_HtmlDListElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlDataElement.rs b/crates/web-sys/src/features/gen_HtmlDataElement.rs index 3f572e84a19..f43586af65f 100644 --- a/crates/web-sys/src/features/gen_HtmlDataElement.rs +++ b/crates/web-sys/src/features/gen_HtmlDataElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlDataListElement.rs b/crates/web-sys/src/features/gen_HtmlDataListElement.rs index a1b8bc30fc2..b19b0c19e98 100644 --- a/crates/web-sys/src/features/gen_HtmlDataListElement.rs +++ b/crates/web-sys/src/features/gen_HtmlDataListElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlDetailsElement.rs b/crates/web-sys/src/features/gen_HtmlDetailsElement.rs index ee484750a56..a816f04e7ca 100644 --- a/crates/web-sys/src/features/gen_HtmlDetailsElement.rs +++ b/crates/web-sys/src/features/gen_HtmlDetailsElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlDialogElement.rs b/crates/web-sys/src/features/gen_HtmlDialogElement.rs index 99fc6424e91..9fda1ac7d15 100644 --- a/crates/web-sys/src/features/gen_HtmlDialogElement.rs +++ b/crates/web-sys/src/features/gen_HtmlDialogElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlDirectoryElement.rs b/crates/web-sys/src/features/gen_HtmlDirectoryElement.rs index dfd9056dcdc..5302969c2b0 100644 --- a/crates/web-sys/src/features/gen_HtmlDirectoryElement.rs +++ b/crates/web-sys/src/features/gen_HtmlDirectoryElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlDivElement.rs b/crates/web-sys/src/features/gen_HtmlDivElement.rs index 972de79e961..eadb4fb7db3 100644 --- a/crates/web-sys/src/features/gen_HtmlDivElement.rs +++ b/crates/web-sys/src/features/gen_HtmlDivElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlDocument.rs b/crates/web-sys/src/features/gen_HtmlDocument.rs index c9b015f9247..94c2d0cdbb6 100644 --- a/crates/web-sys/src/features/gen_HtmlDocument.rs +++ b/crates/web-sys/src/features/gen_HtmlDocument.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,112 +11,112 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "HTMLDocument" , js_name = cookie ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -124,42 +124,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = execCommand ) ] + # [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)"] @@ -170,7 +170,7 @@ extern "C" { command_id: &str, show_ui: bool, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = execCommand ) ] + # [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)"] @@ -182,21 +182,21 @@ extern "C" { show_ui: bool, value: &str, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = open ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = open ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = open ) ] + # [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)"] @@ -208,7 +208,7 @@ extern "C" { replace: &str, ) -> Result; #[cfg(feature = "Window")] - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = open ) ] + # [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)"] @@ -221,7 +221,7 @@ extern "C" { features: &str, ) -> Result, JsValue>; #[cfg(feature = "Window")] - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = open ) ] + # [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)"] @@ -234,77 +234,77 @@ extern "C" { features: &str, replace: bool, ) -> Result, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = queryCommandEnabled ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = queryCommandIndeterm ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = queryCommandState ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "HTMLDocument" , js_name = queryCommandSupported ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "HTMLDocument" , js_name = releaseEvents ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -316,7 +316,7 @@ extern "C" { text_2: &str, text_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = write ) ] + # [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)"] @@ -329,7 +329,7 @@ extern "C" { text_3: &str, text_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = write ) ] + # [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)"] @@ -343,7 +343,7 @@ extern "C" { text_4: &str, text_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = write ) ] + # [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)"] @@ -358,7 +358,7 @@ extern "C" { text_5: &str, text_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = write ) ] + # [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)"] @@ -374,35 +374,35 @@ extern "C" { text_6: &str, text_7: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "HTMLDocument" , js_name = writeln ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -414,7 +414,7 @@ extern "C" { text_2: &str, text_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = writeln ) ] + # [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)"] @@ -427,7 +427,7 @@ extern "C" { text_3: &str, text_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = writeln ) ] + # [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)"] @@ -441,7 +441,7 @@ extern "C" { text_4: &str, text_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = writeln ) ] + # [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)"] @@ -456,7 +456,7 @@ extern "C" { text_5: &str, text_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLDocument" , js_name = writeln ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlElement.rs b/crates/web-sys/src/features/gen_HtmlElement.rs index 37a3bf80748..74cdc639eef 100644 --- a/crates/web-sys/src/features/gen_HtmlElement.rs +++ b/crates/web-sys/src/features/gen_HtmlElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 = lang ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -54,119 +54,119 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -174,1323 +174,1323 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = offsetTop ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlEmbedElement.rs b/crates/web-sys/src/features/gen_HtmlEmbedElement.rs index 5efb62ed98b..704b7d1257c 100644 --- a/crates/web-sys/src/features/gen_HtmlEmbedElement.rs +++ b/crates/web-sys/src/features/gen_HtmlEmbedElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,84 +11,84 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -96,7 +96,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlFieldSetElement.rs b/crates/web-sys/src/features/gen_HtmlFieldSetElement.rs index 5781d8379f4..8c32c017118 100644 --- a/crates/web-sys/src/features/gen_HtmlFieldSetElement.rs +++ b/crates/web-sys/src/features/gen_HtmlFieldSetElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,28 +26,28 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLFieldSetElement" , js_name = name ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -55,14 +55,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -70,35 +70,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "HTMLFieldSetElement" , js_name = checkValidity ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlFontElement.rs b/crates/web-sys/src/features/gen_HtmlFontElement.rs index fd08ca099fe..d12ce40cceb 100644 --- a/crates/web-sys/src/features/gen_HtmlFontElement.rs +++ b/crates/web-sys/src/features/gen_HtmlFontElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlFormControlsCollection.rs b/crates/web-sys/src/features/gen_HtmlFormControlsCollection.rs index 9925c216dec..1972cc54b0f 100644 --- a/crates/web-sys/src/features/gen_HtmlFormControlsCollection.rs +++ b/crates/web-sys/src/features/gen_HtmlFormControlsCollection.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = HtmlCollection , extends = :: js_sys :: Object , js_name = HTMLFormControlsCollection , typescript_type = "HTMLFormControlsCollection" ) ] + # [wasm_bindgen (extends = HtmlCollection , extends = :: js_sys :: Object , js_name = HTMLFormControlsCollection , typescript_type = "HTMLFormControlsCollection")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HtmlFormControlsCollection` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlFormElement.rs b/crates/web-sys/src/features/gen_HtmlFormElement.rs index 9dee248801e..0b8e49735ab 100644 --- a/crates/web-sys/src/features/gen_HtmlFormElement.rs +++ b/crates/web-sys/src/features/gen_HtmlFormElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,126 +11,126 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -138,42 +138,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlFrameElement.rs b/crates/web-sys/src/features/gen_HtmlFrameElement.rs index 16b2a859878..6f7b5afc430 100644 --- a/crates/web-sys/src/features/gen_HtmlFrameElement.rs +++ b/crates/web-sys/src/features/gen_HtmlFrameElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,84 +11,84 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -96,7 +96,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -104,35 +104,35 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlFrameElement`*"] pub fn content_document(this: &HtmlFrameElement) -> Option; #[cfg(feature = "Window")] - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLFrameElement" , js_name = contentWindow ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLFrameElement" , js_name = marginHeight ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlFrameSetElement.rs b/crates/web-sys/src/features/gen_HtmlFrameSetElement.rs index dfec10d0495..eeda63cfabb 100644 --- a/crates/web-sys/src/features/gen_HtmlFrameSetElement.rs +++ b/crates/web-sys/src/features/gen_HtmlFrameSetElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,224 +11,224 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlHeadElement.rs b/crates/web-sys/src/features/gen_HtmlHeadElement.rs index f3036462217..23fbca796fb 100644 --- a/crates/web-sys/src/features/gen_HtmlHeadElement.rs +++ b/crates/web-sys/src/features/gen_HtmlHeadElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_HtmlHeadingElement.rs b/crates/web-sys/src/features/gen_HtmlHeadingElement.rs index 325dff1d29a..0819e7dd80e 100644 --- a/crates/web-sys/src/features/gen_HtmlHeadingElement.rs +++ b/crates/web-sys/src/features/gen_HtmlHeadingElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlHrElement.rs b/crates/web-sys/src/features/gen_HtmlHrElement.rs index 848a8997baf..90b7b9b3523 100644 --- a/crates/web-sys/src/features/gen_HtmlHrElement.rs +++ b/crates/web-sys/src/features/gen_HtmlHrElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,70 +11,70 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlHtmlElement.rs b/crates/web-sys/src/features/gen_HtmlHtmlElement.rs index f81d7a3c279..f3f8c63e35d 100644 --- a/crates/web-sys/src/features/gen_HtmlHtmlElement.rs +++ b/crates/web-sys/src/features/gen_HtmlHtmlElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlIFrameElement.rs b/crates/web-sys/src/features/gen_HtmlIFrameElement.rs index 616b087e431..5a284529311 100644 --- a/crates/web-sys/src/features/gen_HtmlIFrameElement.rs +++ b/crates/web-sys/src/features/gen_HtmlIFrameElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -54,77 +54,77 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -132,7 +132,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -140,91 +140,91 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlIFrameElement`*"] pub fn content_document(this: &HtmlIFrameElement) -> Option; #[cfg(feature = "Window")] - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLIFrameElement" , js_name = contentWindow ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLIFrameElement" , js_name = align ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -232,7 +232,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlImageElement.rs b/crates/web-sys/src/features/gen_HtmlImageElement.rs index 45a8ee02bb4..692dc64b63b 100644 --- a/crates/web-sys/src/features/gen_HtmlImageElement.rs +++ b/crates/web-sys/src/features/gen_HtmlImageElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,266 +11,266 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLImageElement" , js_name = crossOrigin ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -298,7 +298,7 @@ extern "C" { #[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; - # [ wasm_bindgen ( method , structural , js_class = "HTMLImageElement" , js_name = decode ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlInputElement.rs b/crates/web-sys/src/features/gen_HtmlInputElement.rs index dd38e2e1648..4c51bf220a6 100644 --- a/crates/web-sys/src/features/gen_HtmlInputElement.rs +++ b/crates/web-sys/src/features/gen_HtmlInputElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,98 +11,98 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -110,7 +110,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -118,7 +118,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlInputElement`*"] pub fn form(this: &HtmlInputElement) -> Option; #[cfg(feature = "FileList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLInputElement" , js_name = files ) ] + # [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)"] @@ -126,385 +126,385 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `FileList`, `HtmlInputElement`*"] pub fn files(this: &HtmlInputElement) -> Option; #[cfg(feature = "FileList")] - # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLInputElement" , js_name = files ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLInputElement" , js_name = max ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -512,14 +512,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -527,49 +527,49 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn validation_message(this: &HtmlInputElement) -> Result; #[cfg(feature = "NodeList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLInputElement" , js_name = labels ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionStart ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionStart ) ] + # [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) -> Result<(), JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionEnd ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionEnd ) ] + # [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) -> Result<(), JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionDirection ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionDirection ) ] + # [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)"] @@ -579,91 +579,91 @@ extern "C" { this: &HtmlInputElement, value: Option<&str>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLInputElement" , js_name = align ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -675,7 +675,7 @@ extern "C" { start: u32, end: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLInputElement" , js_name = setSelectionRange ) ] + # [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)"] @@ -686,7 +686,7 @@ extern "C" { start: u32, end: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLInputElement" , js_name = setSelectionRange ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlLabelElement.rs b/crates/web-sys/src/features/gen_HtmlLabelElement.rs index f70317da9d9..184ce648f6d 100644 --- a/crates/web-sys/src/features/gen_HtmlLabelElement.rs +++ b/crates/web-sys/src/features/gen_HtmlLabelElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,28 +12,28 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLLabelElement" , js_name = htmlFor ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlLegendElement.rs b/crates/web-sys/src/features/gen_HtmlLegendElement.rs index e06a514bebf..36ce3bda001 100644 --- a/crates/web-sys/src/features/gen_HtmlLegendElement.rs +++ b/crates/web-sys/src/features/gen_HtmlLegendElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,21 +12,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLLegendElement" , js_name = align ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlLiElement.rs b/crates/web-sys/src/features/gen_HtmlLiElement.rs index 0554c65cab7..3a5db06c89d 100644 --- a/crates/web-sys/src/features/gen_HtmlLiElement.rs +++ b/crates/web-sys/src/features/gen_HtmlLiElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlLinkElement.rs b/crates/web-sys/src/features/gen_HtmlLinkElement.rs index bf905bb0a0f..c947f16c059 100644 --- a/crates/web-sys/src/features/gen_HtmlLinkElement.rs +++ b/crates/web-sys/src/features/gen_HtmlLinkElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLLinkElement" , js_name = crossOrigin ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -68,63 +68,63 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -132,77 +132,77 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -210,7 +210,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlMapElement.rs b/crates/web-sys/src/features/gen_HtmlMapElement.rs index 29e44476a51..f7dcc17ce47 100644 --- a/crates/web-sys/src/features/gen_HtmlMapElement.rs +++ b/crates/web-sys/src/features/gen_HtmlMapElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlMediaElement.rs b/crates/web-sys/src/features/gen_HtmlMediaElement.rs index 5e40add3d43..8fba170edf2 100644 --- a/crates/web-sys/src/features/gen_HtmlMediaElement.rs +++ b/crates/web-sys/src/features/gen_HtmlMediaElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,28 +12,28 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLMediaElement" , js_name = src ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -41,7 +41,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -49,42 +49,42 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaStream`*"] pub fn src_object(this: &HtmlMediaElement) -> Option; #[cfg(feature = "MediaStream")] - # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLMediaElement" , js_name = srcObject ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLMediaElement" , js_name = crossOrigin ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -92,77 +92,77 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -170,7 +170,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -178,98 +178,98 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -277,7 +277,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -285,7 +285,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -293,7 +293,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -301,35 +301,35 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `HtmlMediaElement`, `TextTrackList`*"] pub fn text_tracks(this: &HtmlMediaElement) -> Option; #[cfg(feature = "MediaKeys")] - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLMediaElement" , js_name = 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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLMediaElement" , js_name = onencrypted ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -337,7 +337,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -345,7 +345,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -357,7 +357,7 @@ extern "C" { label: &str, ) -> TextTrack; #[cfg(all(feature = "TextTrack", feature = "TextTrackKind",))] - # [ wasm_bindgen ( method , structural , js_class = "HTMLMediaElement" , js_name = addTextTrack ) ] + # [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)"] @@ -369,49 +369,49 @@ extern "C" { label: &str, language: &str, ) -> TextTrack; - # [ wasm_bindgen ( method , structural , js_class = "HTMLMediaElement" , js_name = canPlayType ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -419,7 +419,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -429,7 +429,7 @@ extern "C" { this: &HtmlMediaElement, media_keys: Option<&MediaKeys>, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "HTMLMediaElement" , js_name = setVisible ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlMenuElement.rs b/crates/web-sys/src/features/gen_HtmlMenuElement.rs index acbb142af30..a271be1fa99 100644 --- a/crates/web-sys/src/features/gen_HtmlMenuElement.rs +++ b/crates/web-sys/src/features/gen_HtmlMenuElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlMenuItemElement.rs b/crates/web-sys/src/features/gen_HtmlMenuItemElement.rs index bf1db888bfd..87a7753745d 100644 --- a/crates/web-sys/src/features/gen_HtmlMenuItemElement.rs +++ b/crates/web-sys/src/features/gen_HtmlMenuItemElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,98 +11,98 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlMetaElement.rs b/crates/web-sys/src/features/gen_HtmlMetaElement.rs index c819da03b78..5a1d570ea1d 100644 --- a/crates/web-sys/src/features/gen_HtmlMetaElement.rs +++ b/crates/web-sys/src/features/gen_HtmlMetaElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlMeterElement.rs b/crates/web-sys/src/features/gen_HtmlMeterElement.rs index 96579e164a6..99724563621 100644 --- a/crates/web-sys/src/features/gen_HtmlMeterElement.rs +++ b/crates/web-sys/src/features/gen_HtmlMeterElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,84 +11,84 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -96,7 +96,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlModElement.rs b/crates/web-sys/src/features/gen_HtmlModElement.rs index c74070cc40d..7ce1087a24b 100644 --- a/crates/web-sys/src/features/gen_HtmlModElement.rs +++ b/crates/web-sys/src/features/gen_HtmlModElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlOListElement.rs b/crates/web-sys/src/features/gen_HtmlOListElement.rs index 9c2b0de6de0..d57eb9a3578 100644 --- a/crates/web-sys/src/features/gen_HtmlOListElement.rs +++ b/crates/web-sys/src/features/gen_HtmlOListElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlObjectElement.rs b/crates/web-sys/src/features/gen_HtmlObjectElement.rs index 65325843548..8ef2219a708 100644 --- a/crates/web-sys/src/features/gen_HtmlObjectElement.rs +++ b/crates/web-sys/src/features/gen_HtmlObjectElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,70 +11,70 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -82,35 +82,35 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLObjectElement" , js_name = width ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -118,7 +118,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -126,14 +126,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlObjectElement`*"] pub fn content_document(this: &HtmlObjectElement) -> Option; #[cfg(feature = "Window")] - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLObjectElement" , js_name = contentWindow ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLObjectElement" , js_name = willValidate ) ] + # [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)"] @@ -141,161 +141,161 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLObjectElement" , js_name = align ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -303,21 +303,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "HTMLObjectElement" , js_name = reportValidity ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlOptGroupElement.rs b/crates/web-sys/src/features/gen_HtmlOptGroupElement.rs index 868f0482504..a6510ff5be7 100644 --- a/crates/web-sys/src/features/gen_HtmlOptGroupElement.rs +++ b/crates/web-sys/src/features/gen_HtmlOptGroupElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlOptionElement.rs b/crates/web-sys/src/features/gen_HtmlOptionElement.rs index a4b6a5ef7f2..5d34d0dc25a 100644 --- a/crates/web-sys/src/features/gen_HtmlOptionElement.rs +++ b/crates/web-sys/src/features/gen_HtmlOptionElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,84 +26,84 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLOptionElement" , js_name = label ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlOptionsCollection.rs b/crates/web-sys/src/features/gen_HtmlOptionsCollection.rs index 79c95456e0d..2dca06380a6 100644 --- a/crates/web-sys/src/features/gen_HtmlOptionsCollection.rs +++ b/crates/web-sys/src/features/gen_HtmlOptionsCollection.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = HtmlCollection , extends = :: js_sys :: Object , js_name = HTMLOptionsCollection , typescript_type = "HTMLOptionsCollection" ) ] + # [wasm_bindgen (extends = HtmlCollection , extends = :: js_sys :: Object , js_name = HTMLOptionsCollection , typescript_type = "HTMLOptionsCollection")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HtmlOptionsCollection` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "HTMLOptionsCollection" , js_name = selectedIndex ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -51,7 +51,7 @@ extern "C" { element: &HtmlOptionElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlOptGroupElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLOptionsCollection" , js_name = add ) ] + # [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)"] @@ -62,7 +62,7 @@ extern "C" { element: &HtmlOptGroupElement, ) -> Result<(), JsValue>; #[cfg(all(feature = "HtmlElement", feature = "HtmlOptionElement",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLOptionsCollection" , js_name = add ) ] + # [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)"] @@ -74,7 +74,7 @@ extern "C" { before: Option<&HtmlElement>, ) -> Result<(), JsValue>; #[cfg(all(feature = "HtmlElement", feature = "HtmlOptGroupElement",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLOptionsCollection" , js_name = add ) ] + # [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)"] @@ -86,7 +86,7 @@ extern "C" { before: Option<&HtmlElement>, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlOptionElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLOptionsCollection" , js_name = add ) ] + # [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)"] @@ -98,7 +98,7 @@ extern "C" { before: Option, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlOptGroupElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLOptionsCollection" , js_name = add ) ] + # [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)"] @@ -109,7 +109,7 @@ extern "C" { element: &HtmlOptGroupElement, before: Option, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLOptionsCollection" , js_name = remove ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlOutputElement.rs b/crates/web-sys/src/features/gen_HtmlOutputElement.rs index 39b91721acc..8cb89808001 100644 --- a/crates/web-sys/src/features/gen_HtmlOutputElement.rs +++ b/crates/web-sys/src/features/gen_HtmlOutputElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,63 +20,63 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLOutputElement" , js_name = name ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -84,14 +84,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -99,28 +99,28 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"] pub fn validation_message(this: &HtmlOutputElement) -> Result; #[cfg(feature = "NodeList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLOutputElement" , js_name = labels ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlParagraphElement.rs b/crates/web-sys/src/features/gen_HtmlParagraphElement.rs index f81e777f6f5..51e139c1c59 100644 --- a/crates/web-sys/src/features/gen_HtmlParagraphElement.rs +++ b/crates/web-sys/src/features/gen_HtmlParagraphElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlParamElement.rs b/crates/web-sys/src/features/gen_HtmlParamElement.rs index f5db48cb0a8..a6ea0d41118 100644 --- a/crates/web-sys/src/features/gen_HtmlParamElement.rs +++ b/crates/web-sys/src/features/gen_HtmlParamElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlPictureElement.rs b/crates/web-sys/src/features/gen_HtmlPictureElement.rs index 62e44c8df3d..26112ae99ad 100644 --- a/crates/web-sys/src/features/gen_HtmlPictureElement.rs +++ b/crates/web-sys/src/features/gen_HtmlPictureElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_HtmlPreElement.rs b/crates/web-sys/src/features/gen_HtmlPreElement.rs index 0e6fbce4b02..5ce97ef3f1c 100644 --- a/crates/web-sys/src/features/gen_HtmlPreElement.rs +++ b/crates/web-sys/src/features/gen_HtmlPreElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlProgressElement.rs b/crates/web-sys/src/features/gen_HtmlProgressElement.rs index 82b6b505b77..ba5c6a7caf0 100644 --- a/crates/web-sys/src/features/gen_HtmlProgressElement.rs +++ b/crates/web-sys/src/features/gen_HtmlProgressElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -47,7 +47,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlQuoteElement.rs b/crates/web-sys/src/features/gen_HtmlQuoteElement.rs index 3aa2ad87111..9d18e13826e 100644 --- a/crates/web-sys/src/features/gen_HtmlQuoteElement.rs +++ b/crates/web-sys/src/features/gen_HtmlQuoteElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlScriptElement.rs b/crates/web-sys/src/features/gen_HtmlScriptElement.rs index 293cfc8cdac..21198eb7949 100644 --- a/crates/web-sys/src/features/gen_HtmlScriptElement.rs +++ b/crates/web-sys/src/features/gen_HtmlScriptElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,154 +11,154 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLScriptElement" , js_name = crossOrigin ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "HTMLScriptElement" , js_name = text ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlSelectElement.rs b/crates/web-sys/src/features/gen_HtmlSelectElement.rs index 6e9023ea0fd..87f3ddd7abd 100644 --- a/crates/web-sys/src/features/gen_HtmlSelectElement.rs +++ b/crates/web-sys/src/features/gen_HtmlSelectElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -54,70 +54,70 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLSelectElement" , js_name = multiple ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -125,21 +125,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -147,42 +147,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -190,14 +190,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -205,7 +205,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"] pub fn validation_message(this: &HtmlSelectElement) -> Result; #[cfg(feature = "NodeList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLSelectElement" , js_name = labels ) ] + # [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)"] @@ -213,7 +213,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -224,7 +224,7 @@ extern "C" { element: &HtmlOptionElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlOptGroupElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLSelectElement" , js_name = add ) ] + # [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)"] @@ -235,7 +235,7 @@ extern "C" { element: &HtmlOptGroupElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlOptionElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLSelectElement" , js_name = add ) ] + # [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)"] @@ -247,7 +247,7 @@ extern "C" { before: Option<&HtmlElement>, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlOptGroupElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLSelectElement" , js_name = add ) ] + # [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)"] @@ -259,7 +259,7 @@ extern "C" { before: Option<&HtmlElement>, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlOptionElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLSelectElement" , js_name = add ) ] + # [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)"] @@ -271,7 +271,7 @@ extern "C" { before: Option, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlOptGroupElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLSelectElement" , js_name = add ) ] + # [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)"] @@ -282,14 +282,14 @@ extern "C" { element: &HtmlOptGroupElement, before: Option, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "HTMLSelectElement" , js_name = checkValidity ) ] + # [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 ) ] + # [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)"] @@ -297,35 +297,35 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `HtmlSelectElement`*"] pub fn item(this: &HtmlSelectElement, index: u32) -> Option; #[cfg(feature = "HtmlOptionElement")] - # [ wasm_bindgen ( method , structural , js_class = "HTMLSelectElement" , js_name = namedItem ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "HTMLSelectElement" , js_name = remove ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlSlotElement.rs b/crates/web-sys/src/features/gen_HtmlSlotElement.rs index 6af17b10e7e..c822a2ee4cf 100644 --- a/crates/web-sys/src/features/gen_HtmlSlotElement.rs +++ b/crates/web-sys/src/features/gen_HtmlSlotElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -33,7 +33,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlSourceElement.rs b/crates/web-sys/src/features/gen_HtmlSourceElement.rs index 5e75f9ed873..fd01150d9a2 100644 --- a/crates/web-sys/src/features/gen_HtmlSourceElement.rs +++ b/crates/web-sys/src/features/gen_HtmlSourceElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,70 +11,70 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlSpanElement.rs b/crates/web-sys/src/features/gen_HtmlSpanElement.rs index ce02cdfc377..fee20cc82fe 100644 --- a/crates/web-sys/src/features/gen_HtmlSpanElement.rs +++ b/crates/web-sys/src/features/gen_HtmlSpanElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_HtmlStyleElement.rs b/crates/web-sys/src/features/gen_HtmlStyleElement.rs index 60efd6c1bdd..a8082b11cdb 100644 --- a/crates/web-sys/src/features/gen_HtmlStyleElement.rs +++ b/crates/web-sys/src/features/gen_HtmlStyleElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -54,7 +54,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlTableCaptionElement.rs b/crates/web-sys/src/features/gen_HtmlTableCaptionElement.rs index 9b9bf2c43fa..a3051b715b3 100644 --- a/crates/web-sys/src/features/gen_HtmlTableCaptionElement.rs +++ b/crates/web-sys/src/features/gen_HtmlTableCaptionElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlTableCellElement.rs b/crates/web-sys/src/features/gen_HtmlTableCellElement.rs index 46a40979419..343b94349d1 100644 --- a/crates/web-sys/src/features/gen_HtmlTableCellElement.rs +++ b/crates/web-sys/src/features/gen_HtmlTableCellElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,175 +11,175 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlTableColElement.rs b/crates/web-sys/src/features/gen_HtmlTableColElement.rs index e1cd1a0dcc6..d2e4e771ae1 100644 --- a/crates/web-sys/src/features/gen_HtmlTableColElement.rs +++ b/crates/web-sys/src/features/gen_HtmlTableColElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,84 +11,84 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlTableElement.rs b/crates/web-sys/src/features/gen_HtmlTableElement.rs index d6745a38cf7..036e2ab88c2 100644 --- a/crates/web-sys/src/features/gen_HtmlTableElement.rs +++ b/crates/web-sys/src/features/gen_HtmlTableElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `HtmlTableCaptionElement`, `HtmlTableElement`*"] pub fn caption(this: &HtmlTableElement) -> Option; #[cfg(feature = "HtmlTableCaptionElement")] - # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLTableElement" , js_name = caption ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*"] pub fn t_head(this: &HtmlTableElement) -> Option; #[cfg(feature = "HtmlTableSectionElement")] - # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLTableElement" , js_name = tHead ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*"] pub fn t_foot(this: &HtmlTableElement) -> Option; #[cfg(feature = "HtmlTableSectionElement")] - # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLTableElement" , js_name = tFoot ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,203 +68,203 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLTableElement" , js_name = insertRow ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlTableRowElement.rs b/crates/web-sys/src/features/gen_HtmlTableRowElement.rs index 9caf421a470..222d7b0df84 100644 --- a/crates/web-sys/src/features/gen_HtmlTableRowElement.rs +++ b/crates/web-sys/src/features/gen_HtmlTableRowElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,98 +26,98 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLTableRowElement" , js_name = insertCell ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlTableSectionElement.rs b/crates/web-sys/src/features/gen_HtmlTableSectionElement.rs index 8de7950605e..503f2245ed9 100644 --- a/crates/web-sys/src/features/gen_HtmlTableSectionElement.rs +++ b/crates/web-sys/src/features/gen_HtmlTableSectionElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,84 +12,84 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLTableSectionElement" , js_name = insertRow ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlTemplateElement.rs b/crates/web-sys/src/features/gen_HtmlTemplateElement.rs index 2558571cc2b..dba10b0c044 100644 --- a/crates/web-sys/src/features/gen_HtmlTemplateElement.rs +++ b/crates/web-sys/src/features/gen_HtmlTemplateElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlTextAreaElement.rs b/crates/web-sys/src/features/gen_HtmlTextAreaElement.rs index f798151d9a1..b21d4758a52 100644 --- a/crates/web-sys/src/features/gen_HtmlTextAreaElement.rs +++ b/crates/web-sys/src/features/gen_HtmlTextAreaElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -68,168 +68,168 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = maxLength ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = defaultValue ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -237,14 +237,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -252,21 +252,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"] pub fn validation_message(this: &HtmlTextAreaElement) -> Result; #[cfg(feature = "NodeList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = labels ) ] + # [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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = selectionStart ) ] + # [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)"] @@ -276,14 +276,14 @@ extern "C" { this: &HtmlTextAreaElement, value: Option, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = selectionEnd ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = selectionEnd ) ] + # [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)"] @@ -291,14 +291,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"] pub fn set_selection_end(this: &HtmlTextAreaElement, value: Option) -> Result<(), JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = selectionDirection ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = selectionDirection ) ] + # [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)"] @@ -308,42 +308,42 @@ extern "C" { this: &HtmlTextAreaElement, value: Option<&str>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "HTMLTextAreaElement" , js_name = checkValidity ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -355,7 +355,7 @@ extern "C" { start: u32, end: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setSelectionRange ) ] + # [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)"] @@ -366,7 +366,7 @@ extern "C" { start: u32, end: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setSelectionRange ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlTimeElement.rs b/crates/web-sys/src/features/gen_HtmlTimeElement.rs index d5d6919e290..58b916fb692 100644 --- a/crates/web-sys/src/features/gen_HtmlTimeElement.rs +++ b/crates/web-sys/src/features/gen_HtmlTimeElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlTitleElement.rs b/crates/web-sys/src/features/gen_HtmlTitleElement.rs index 029f4c5a192..7c3f6e78bb1 100644 --- a/crates/web-sys/src/features/gen_HtmlTitleElement.rs +++ b/crates/web-sys/src/features/gen_HtmlTitleElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "HTMLTitleElement" , js_name = text ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlTrackElement.rs b/crates/web-sys/src/features/gen_HtmlTrackElement.rs index dfc8ebf2645..e1dbf4b5ab0 100644 --- a/crates/web-sys/src/features/gen_HtmlTrackElement.rs +++ b/crates/web-sys/src/features/gen_HtmlTrackElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,77 +11,77 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -89,7 +89,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlUListElement.rs b/crates/web-sys/src/features/gen_HtmlUListElement.rs index 8885bc24a03..484925a6c46 100644 --- a/crates/web-sys/src/features/gen_HtmlUListElement.rs +++ b/crates/web-sys/src/features/gen_HtmlUListElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HtmlUnknownElement.rs b/crates/web-sys/src/features/gen_HtmlUnknownElement.rs index 35bb6b0e344..63a86e4e532 100644 --- a/crates/web-sys/src/features/gen_HtmlUnknownElement.rs +++ b/crates/web-sys/src/features/gen_HtmlUnknownElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_HtmlVideoElement.rs b/crates/web-sys/src/features/gen_HtmlVideoElement.rs index 7cc8b6628fd..3301d64f582 100644 --- a/crates/web-sys/src/features/gen_HtmlVideoElement.rs +++ b/crates/web-sys/src/features/gen_HtmlVideoElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_HttpConnDict.rs b/crates/web-sys/src/features/gen_HttpConnDict.rs index 5c2c9e82ca1..ded6679a199 100644 --- a/crates/web-sys/src/features/gen_HttpConnDict.rs +++ b/crates/web-sys/src/features/gen_HttpConnDict.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HttpConnDict ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HttpConnDict)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HttpConnDict` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_HttpConnInfo.rs b/crates/web-sys/src/features/gen_HttpConnInfo.rs index 0d33fe02357..42a8fced387 100644 --- a/crates/web-sys/src/features/gen_HttpConnInfo.rs +++ b/crates/web-sys/src/features/gen_HttpConnInfo.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HttpConnInfo ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HttpConnInfo)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HttpConnInfo` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_HttpConnectionElement.rs b/crates/web-sys/src/features/gen_HttpConnectionElement.rs index d47eac4fb3c..1a9bba0413e 100644 --- a/crates/web-sys/src/features/gen_HttpConnectionElement.rs +++ b/crates/web-sys/src/features/gen_HttpConnectionElement.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = HttpConnectionElement ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = HttpConnectionElement)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HttpConnectionElement` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_IdbCursor.rs b/crates/web-sys/src/features/gen_IdbCursor.rs index efbb15ea332..5bc3f7a8206 100644 --- a/crates/web-sys/src/features/gen_IdbCursor.rs +++ b/crates/web-sys/src/features/gen_IdbCursor.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IDBCursor , typescript_type = "IDBCursor" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBCursor , typescript_type = "IDBCursor")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbCursor` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,42 +19,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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>; - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBCursor" , js_name = advance ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -64,7 +64,7 @@ extern "C" { this: &IdbCursor, key: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBCursor" , js_name = continuePrimaryKey ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { primary_key: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBCursor" , js_name = delete ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbCursor`, `IdbRequest`*"] pub fn delete(this: &IdbCursor) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBCursor" , js_name = update ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbCursorWithValue.rs b/crates/web-sys/src/features/gen_IdbCursorWithValue.rs index 0ea0dc2f48c..2f66c5a93aa 100644 --- a/crates/web-sys/src/features/gen_IdbCursorWithValue.rs +++ b/crates/web-sys/src/features/gen_IdbCursorWithValue.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = IdbCursor , extends = :: js_sys :: Object , js_name = IDBCursorWithValue , typescript_type = "IDBCursorWithValue" ) ] + # [wasm_bindgen (extends = IdbCursor , extends = :: js_sys :: Object , js_name = IDBCursorWithValue , typescript_type = "IDBCursorWithValue")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbCursorWithValue` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbDatabase.rs b/crates/web-sys/src/features/gen_IdbDatabase.rs index 2354687ee27..ebcb2f62757 100644 --- a/crates/web-sys/src/features/gen_IdbDatabase.rs +++ b/crates/web-sys/src/features/gen_IdbDatabase.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBDatabase , typescript_type = "IDBDatabase" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBDatabase , typescript_type = "IDBDatabase")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbDatabase` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,63 +26,63 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -90,14 +90,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -105,7 +105,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -113,7 +113,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`, `IdbRequest`*"] pub fn create_mutable_file(this: &IdbDatabase, name: &str) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBDatabase" , js_name = createMutableFile ) ] + # [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)"] @@ -125,7 +125,7 @@ extern "C" { type_: &str, ) -> Result; #[cfg(feature = "IdbObjectStore")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBDatabase" , js_name = createObjectStore ) ] + # [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)"] @@ -133,7 +133,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbDatabase`, `IdbObjectStore`*"] pub fn create_object_store(this: &IdbDatabase, name: &str) -> Result; #[cfg(all(feature = "IdbObjectStore", feature = "IdbObjectStoreParameters",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBDatabase" , js_name = createObjectStore ) ] + # [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)"] @@ -144,7 +144,7 @@ extern "C" { name: &str, optional_parameters: &IdbObjectStoreParameters, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBDatabase" , js_name = deleteObjectStore ) ] + # [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)"] @@ -152,7 +152,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -163,7 +163,7 @@ extern "C" { store_names: &str, ) -> Result; #[cfg(feature = "IdbTransaction")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBDatabase" , js_name = transaction ) ] + # [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)"] @@ -174,7 +174,7 @@ extern "C" { store_names: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(all(feature = "IdbTransaction", feature = "IdbTransactionMode",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBDatabase" , js_name = transaction ) ] + # [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)"] @@ -186,7 +186,7 @@ extern "C" { mode: IdbTransactionMode, ) -> Result; #[cfg(all(feature = "IdbTransaction", feature = "IdbTransactionMode",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBDatabase" , js_name = transaction ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbFactory.rs b/crates/web-sys/src/features/gen_IdbFactory.rs index 8adc1a00166..30fac16d7a0 100644 --- a/crates/web-sys/src/features/gen_IdbFactory.rs +++ b/crates/web-sys/src/features/gen_IdbFactory.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IDBFactory , typescript_type = "IDBFactory" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBFactory , typescript_type = "IDBFactory")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbFactory` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -23,7 +23,7 @@ extern "C" { second: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "IdbOpenDbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFactory" , js_name = deleteDatabase ) ] + # [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)"] @@ -31,7 +31,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*"] pub fn delete_database(this: &IdbFactory, name: &str) -> Result; #[cfg(all(feature = "IdbOpenDbOptions", feature = "IdbOpenDbRequest",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFactory" , js_name = deleteDatabase ) ] + # [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)"] @@ -43,7 +43,7 @@ extern "C" { options: &IdbOpenDbOptions, ) -> Result; #[cfg(feature = "IdbOpenDbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFactory" , js_name = open ) ] + # [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)"] @@ -55,7 +55,7 @@ extern "C" { version: u32, ) -> Result; #[cfg(feature = "IdbOpenDbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFactory" , js_name = open ) ] + # [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)"] @@ -67,7 +67,7 @@ extern "C" { version: f64, ) -> Result; #[cfg(feature = "IdbOpenDbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFactory" , js_name = open ) ] + # [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)"] @@ -75,7 +75,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*"] pub fn open(this: &IdbFactory, name: &str) -> Result; #[cfg(all(feature = "IdbOpenDbOptions", feature = "IdbOpenDbRequest",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFactory" , js_name = open ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbFileHandle.rs b/crates/web-sys/src/features/gen_IdbFileHandle.rs index 322581139a4..0e395303bf5 100644 --- a/crates/web-sys/src/features/gen_IdbFileHandle.rs +++ b/crates/web-sys/src/features/gen_IdbFileHandle.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBFileHandle , typescript_type = "IDBFileHandle" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBFileHandle , typescript_type = "IDBFileHandle")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbFileHandle` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,77 +20,77 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbMutableFile`*"] pub fn mutable_file(this: &IdbFileHandle) -> Option; #[cfg(feature = "IdbMutableFile")] - # [ wasm_bindgen ( structural , method , getter , js_class = "IDBFileHandle" , js_name = fileHandle ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "IDBFileHandle" , js_name = active ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , setter , js_class = "IDBFileHandle" , js_name = location ) ] + # [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); - # [ wasm_bindgen ( structural , method , getter , js_class = "IDBFileHandle" , js_name = oncomplete ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -98,7 +98,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -109,7 +109,7 @@ extern "C" { value: &str, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = append ) ] + # [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)"] @@ -120,7 +120,7 @@ extern "C" { value: &::js_sys::ArrayBuffer, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = append ) ] + # [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)"] @@ -131,7 +131,7 @@ extern "C" { value: &::js_sys::Object, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = append ) ] + # [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)"] @@ -142,7 +142,7 @@ extern "C" { value: &mut [u8], ) -> Result, JsValue>; #[cfg(all(feature = "Blob", feature = "IdbFileRequest",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = append ) ] + # [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)"] @@ -153,7 +153,7 @@ extern "C" { value: &Blob, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = flush ) ] + # [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)"] @@ -161,7 +161,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"] pub fn flush(this: &IdbFileHandle) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = getMetadata ) ] + # [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)"] @@ -169,7 +169,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"] pub fn get_metadata(this: &IdbFileHandle) -> Result, JsValue>; #[cfg(all(feature = "IdbFileMetadataParameters", feature = "IdbFileRequest",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = getMetadata ) ] + # [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)"] @@ -180,7 +180,7 @@ extern "C" { parameters: &IdbFileMetadataParameters, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = readAsArrayBuffer ) ] + # [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)"] @@ -191,7 +191,7 @@ extern "C" { size: u32, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = readAsArrayBuffer ) ] + # [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)"] @@ -202,7 +202,7 @@ extern "C" { size: f64, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = readAsText ) ] + # [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)"] @@ -213,7 +213,7 @@ extern "C" { size: u32, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = readAsText ) ] + # [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)"] @@ -224,7 +224,7 @@ extern "C" { size: f64, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = readAsText ) ] + # [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)"] @@ -236,7 +236,7 @@ extern "C" { encoding: Option<&str>, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = readAsText ) ] + # [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)"] @@ -248,7 +248,7 @@ extern "C" { encoding: Option<&str>, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = truncate ) ] + # [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)"] @@ -256,7 +256,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"] pub fn truncate(this: &IdbFileHandle) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = truncate ) ] + # [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)"] @@ -267,7 +267,7 @@ extern "C" { size: u32, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = truncate ) ] + # [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)"] @@ -278,7 +278,7 @@ extern "C" { size: f64, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = write ) ] + # [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)"] @@ -289,7 +289,7 @@ extern "C" { value: &str, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = write ) ] + # [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)"] @@ -300,7 +300,7 @@ extern "C" { value: &::js_sys::ArrayBuffer, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = write ) ] + # [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)"] @@ -311,7 +311,7 @@ extern "C" { value: &::js_sys::Object, ) -> Result, JsValue>; #[cfg(feature = "IdbFileRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = write ) ] + # [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)"] @@ -322,7 +322,7 @@ extern "C" { value: &mut [u8], ) -> Result, JsValue>; #[cfg(all(feature = "Blob", feature = "IdbFileRequest",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBFileHandle" , js_name = write ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbFileMetadataParameters.rs b/crates/web-sys/src/features/gen_IdbFileMetadataParameters.rs index 2ae1275c7b9..7832c5b7061 100644 --- a/crates/web-sys/src/features/gen_IdbFileMetadataParameters.rs +++ b/crates/web-sys/src/features/gen_IdbFileMetadataParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IDBFileMetadataParameters ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBFileMetadataParameters)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbFileMetadataParameters` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_IdbFileRequest.rs b/crates/web-sys/src/features/gen_IdbFileRequest.rs index ac021f73186..e228c1a79d9 100644 --- a/crates/web-sys/src/features/gen_IdbFileRequest.rs +++ b/crates/web-sys/src/features/gen_IdbFileRequest.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,21 +20,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*"] pub fn file_handle(this: &IdbFileRequest) -> Option; #[cfg(feature = "IdbFileHandle")] - # [ wasm_bindgen ( structural , method , getter , js_class = "IDBFileRequest" , js_name = lockedFile ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "IDBFileRequest" , js_name = onprogress ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbIndex.rs b/crates/web-sys/src/features/gen_IdbIndex.rs index 6579ef7e4a0..98a76e657e8 100644 --- a/crates/web-sys/src/features/gen_IdbIndex.rs +++ b/crates/web-sys/src/features/gen_IdbIndex.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IDBIndex , typescript_type = "IDBIndex" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBIndex , typescript_type = "IDBIndex")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbIndex` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,42 +26,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "IDBIndex" , js_name = isAutoLocale ) ] + # [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)"] @@ -69,7 +69,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -77,7 +77,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"] pub fn count(this: &IdbIndex) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = count ) ] + # [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)"] @@ -88,7 +88,7 @@ extern "C" { key: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = get ) ] + # [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)"] @@ -96,7 +96,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"] pub fn get(this: &IdbIndex, key: &::wasm_bindgen::JsValue) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = getAll ) ] + # [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)"] @@ -104,7 +104,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"] pub fn get_all(this: &IdbIndex) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = getAll ) ] + # [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)"] @@ -115,7 +115,7 @@ extern "C" { key: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = getAll ) ] + # [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)"] @@ -127,7 +127,7 @@ extern "C" { limit: u32, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = getAllKeys ) ] + # [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)"] @@ -135,7 +135,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"] pub fn get_all_keys(this: &IdbIndex) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = getAllKeys ) ] + # [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)"] @@ -146,7 +146,7 @@ extern "C" { key: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = getAllKeys ) ] + # [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)"] @@ -158,7 +158,7 @@ extern "C" { limit: u32, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = getKey ) ] + # [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)"] @@ -166,7 +166,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"] pub fn get_key(this: &IdbIndex, key: &::wasm_bindgen::JsValue) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = openCursor ) ] + # [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)"] @@ -174,7 +174,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"] pub fn open_cursor(this: &IdbIndex) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = openCursor ) ] + # [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)"] @@ -185,7 +185,7 @@ extern "C" { range: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(all(feature = "IdbCursorDirection", feature = "IdbRequest",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = openCursor ) ] + # [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)"] @@ -197,7 +197,7 @@ extern "C" { direction: IdbCursorDirection, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = openKeyCursor ) ] + # [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)"] @@ -205,7 +205,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*"] pub fn open_key_cursor(this: &IdbIndex) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = openKeyCursor ) ] + # [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)"] @@ -216,7 +216,7 @@ extern "C" { range: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(all(feature = "IdbCursorDirection", feature = "IdbRequest",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBIndex" , js_name = openKeyCursor ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbIndexParameters.rs b/crates/web-sys/src/features/gen_IdbIndexParameters.rs index b1490c43bf6..ddadd93b514 100644 --- a/crates/web-sys/src/features/gen_IdbIndexParameters.rs +++ b/crates/web-sys/src/features/gen_IdbIndexParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IDBIndexParameters ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBIndexParameters)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbIndexParameters` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_IdbKeyRange.rs b/crates/web-sys/src/features/gen_IdbKeyRange.rs index ac23fcaefd2..6a9841624e1 100644 --- a/crates/web-sys/src/features/gen_IdbKeyRange.rs +++ b/crates/web-sys/src/features/gen_IdbKeyRange.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IDBKeyRange , typescript_type = "IDBKeyRange" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBKeyRange , typescript_type = "IDBKeyRange")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbKeyRange` class."] #[doc = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -49,7 +49,7 @@ extern "C" { lower: &::wasm_bindgen::JsValue, upper: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = bound ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { upper: &::wasm_bindgen::JsValue, lower_open: bool, ) -> Result; - # [ wasm_bindgen ( catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = bound ) ] + # [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)"] @@ -72,21 +72,21 @@ extern "C" { lower_open: bool, upper_open: bool, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBKeyRange" , js_name = includes ) ] + # [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; - # [ wasm_bindgen ( catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = lowerBound ) ] + # [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; - # [ wasm_bindgen ( catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = lowerBound ) ] + # [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)"] @@ -96,21 +96,21 @@ extern "C" { lower: &::wasm_bindgen::JsValue, open: bool, ) -> Result; - # [ wasm_bindgen ( catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = only ) ] + # [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; - # [ wasm_bindgen ( catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = upperBound ) ] + # [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; - # [ wasm_bindgen ( catch , static_method_of = IdbKeyRange , js_class = "IDBKeyRange" , js_name = upperBound ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbLocaleAwareKeyRange.rs b/crates/web-sys/src/features/gen_IdbLocaleAwareKeyRange.rs index c29fcf33e86..09420bd3bf0 100644 --- a/crates/web-sys/src/features/gen_IdbLocaleAwareKeyRange.rs +++ b/crates/web-sys/src/features/gen_IdbLocaleAwareKeyRange.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = IdbKeyRange , extends = :: js_sys :: Object , js_name = IDBLocaleAwareKeyRange , typescript_type = "IDBLocaleAwareKeyRange" ) ] + # [wasm_bindgen (extends = IdbKeyRange , extends = :: js_sys :: Object , js_name = IDBLocaleAwareKeyRange , typescript_type = "IDBLocaleAwareKeyRange")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbLocaleAwareKeyRange` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -21,7 +21,7 @@ extern "C" { lower: &::wasm_bindgen::JsValue, upper: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , static_method_of = IdbLocaleAwareKeyRange , js_class = "IDBLocaleAwareKeyRange" , js_name = bound ) ] + # [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)"] @@ -32,7 +32,7 @@ extern "C" { upper: &::wasm_bindgen::JsValue, lower_open: bool, ) -> Result; - # [ wasm_bindgen ( catch , static_method_of = IdbLocaleAwareKeyRange , js_class = "IDBLocaleAwareKeyRange" , js_name = bound ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbMutableFile.rs b/crates/web-sys/src/features/gen_IdbMutableFile.rs index 6d4b9f79be8..47284d12141 100644 --- a/crates/web-sys/src/features/gen_IdbMutableFile.rs +++ b/crates/web-sys/src/features/gen_IdbMutableFile.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBMutableFile , typescript_type = "IDBMutableFile" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBMutableFile , typescript_type = "IDBMutableFile")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbMutableFile` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,35 +26,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -62,7 +62,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -70,7 +70,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `DomRequest`, `IdbMutableFile`*"] pub fn get_file(this: &IdbMutableFile) -> Result; #[cfg(feature = "IdbFileHandle")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBMutableFile" , js_name = open ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbObjectStore.rs b/crates/web-sys/src/features/gen_IdbObjectStore.rs index cbd51aa8319..b662f01fb4a 100644 --- a/crates/web-sys/src/features/gen_IdbObjectStore.rs +++ b/crates/web-sys/src/features/gen_IdbObjectStore.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IDBObjectStore , typescript_type = "IDBObjectStore" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBObjectStore , typescript_type = "IDBObjectStore")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbObjectStore` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -33,7 +33,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -41,14 +41,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -56,7 +56,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -67,7 +67,7 @@ extern "C" { value: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = add ) ] + # [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)"] @@ -79,7 +79,7 @@ extern "C" { key: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = clear ) ] + # [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)"] @@ -87,7 +87,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"] pub fn clear(this: &IdbObjectStore) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = count ) ] + # [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)"] @@ -95,7 +95,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"] pub fn count(this: &IdbObjectStore) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = count ) ] + # [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)"] @@ -106,7 +106,7 @@ extern "C" { key: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "IdbIndex")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = createIndex ) ] + # [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)"] @@ -118,7 +118,7 @@ extern "C" { key_path: &str, ) -> Result; #[cfg(feature = "IdbIndex")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = createIndex ) ] + # [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)"] @@ -130,7 +130,7 @@ extern "C" { key_path: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(all(feature = "IdbIndex", feature = "IdbIndexParameters",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = createIndex ) ] + # [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)"] @@ -143,7 +143,7 @@ extern "C" { optional_parameters: &IdbIndexParameters, ) -> Result; #[cfg(all(feature = "IdbIndex", feature = "IdbIndexParameters",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = createIndex ) ] + # [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)"] @@ -156,7 +156,7 @@ extern "C" { optional_parameters: &IdbIndexParameters, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = delete ) ] + # [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)"] @@ -166,7 +166,7 @@ extern "C" { this: &IdbObjectStore, key: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = deleteIndex ) ] + # [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)"] @@ -174,7 +174,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -183,7 +183,7 @@ extern "C" { pub fn get(this: &IdbObjectStore, key: &::wasm_bindgen::JsValue) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = getAll ) ] + # [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)"] @@ -191,7 +191,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"] pub fn get_all(this: &IdbObjectStore) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = getAll ) ] + # [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)"] @@ -202,7 +202,7 @@ extern "C" { key: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = getAll ) ] + # [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)"] @@ -214,7 +214,7 @@ extern "C" { limit: u32, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = getAllKeys ) ] + # [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)"] @@ -222,7 +222,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"] pub fn get_all_keys(this: &IdbObjectStore) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = getAllKeys ) ] + # [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)"] @@ -233,7 +233,7 @@ extern "C" { key: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = getAllKeys ) ] + # [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)"] @@ -245,7 +245,7 @@ extern "C" { limit: u32, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = getKey ) ] + # [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)"] @@ -256,7 +256,7 @@ extern "C" { key: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "IdbIndex")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = index ) ] + # [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)"] @@ -264,7 +264,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbIndex`, `IdbObjectStore`*"] pub fn index(this: &IdbObjectStore, name: &str) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = openCursor ) ] + # [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)"] @@ -272,7 +272,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"] pub fn open_cursor(this: &IdbObjectStore) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = openCursor ) ] + # [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)"] @@ -283,7 +283,7 @@ extern "C" { range: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(all(feature = "IdbCursorDirection", feature = "IdbRequest",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = openCursor ) ] + # [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)"] @@ -295,7 +295,7 @@ extern "C" { direction: IdbCursorDirection, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = openKeyCursor ) ] + # [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)"] @@ -303,7 +303,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*"] pub fn open_key_cursor(this: &IdbObjectStore) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = openKeyCursor ) ] + # [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)"] @@ -314,7 +314,7 @@ extern "C" { range: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(all(feature = "IdbCursorDirection", feature = "IdbRequest",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = openKeyCursor ) ] + # [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)"] @@ -326,7 +326,7 @@ extern "C" { direction: IdbCursorDirection, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = put ) ] + # [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)"] @@ -337,7 +337,7 @@ extern "C" { value: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "IdbRequest")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBObjectStore" , js_name = put ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbObjectStoreParameters.rs b/crates/web-sys/src/features/gen_IdbObjectStoreParameters.rs index 0e193ae80a3..0ba5c5be59f 100644 --- a/crates/web-sys/src/features/gen_IdbObjectStoreParameters.rs +++ b/crates/web-sys/src/features/gen_IdbObjectStoreParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IDBObjectStoreParameters ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBObjectStoreParameters)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbObjectStoreParameters` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_IdbOpenDbOptions.rs b/crates/web-sys/src/features/gen_IdbOpenDbOptions.rs index 5a8e993e438..ac287986d06 100644 --- a/crates/web-sys/src/features/gen_IdbOpenDbOptions.rs +++ b/crates/web-sys/src/features/gen_IdbOpenDbOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IDBOpenDBOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBOpenDBOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbOpenDbOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_IdbOpenDbRequest.rs b/crates/web-sys/src/features/gen_IdbOpenDbRequest.rs index 5f155ac1c1e..2810085daff 100644 --- a/crates/web-sys/src/features/gen_IdbOpenDbRequest.rs +++ b/crates/web-sys/src/features/gen_IdbOpenDbRequest.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbRequest.rs b/crates/web-sys/src/features/gen_IdbRequest.rs index b3125b230a7..e6f54e2ea84 100644 --- a/crates/web-sys/src/features/gen_IdbRequest.rs +++ b/crates/web-sys/src/features/gen_IdbRequest.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBRequest , typescript_type = "IDBRequest" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBRequest , typescript_type = "IDBRequest")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbRequest` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,14 +19,14 @@ extern "C" { #[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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , method , getter , js_class = "IDBRequest" , js_name = source ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -42,35 +42,35 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbRequest`, `IdbTransaction`*"] pub fn transaction(this: &IdbRequest) -> Option; #[cfg(feature = "IdbRequestReadyState")] - # [ wasm_bindgen ( structural , method , getter , js_class = "IDBRequest" , js_name = readyState ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbTransaction.rs b/crates/web-sys/src/features/gen_IdbTransaction.rs index e0352086a7a..b4ef441be03 100644 --- a/crates/web-sys/src/features/gen_IdbTransaction.rs +++ b/crates/web-sys/src/features/gen_IdbTransaction.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBTransaction , typescript_type = "IDBTransaction" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = IDBTransaction , typescript_type = "IDBTransaction")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbTransaction` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbTransaction`, `IdbTransactionMode`*"] pub fn mode(this: &IdbTransaction) -> Result; #[cfg(feature = "IdbDatabase")] - # [ wasm_bindgen ( structural , method , getter , js_class = "IDBTransaction" , js_name = db ) ] + # [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)"] @@ -28,49 +28,49 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "IDBTransaction" , js_name = onabort ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -78,14 +78,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -93,7 +93,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbTransaction`*"] pub fn abort(this: &IdbTransaction) -> Result<(), JsValue>; #[cfg(feature = "IdbObjectStore")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IDBTransaction" , js_name = objectStore ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbVersionChangeEvent.rs b/crates/web-sys/src/features/gen_IdbVersionChangeEvent.rs index ceece29d712..32348fce7f4 100644 --- a/crates/web-sys/src/features/gen_IdbVersionChangeEvent.rs +++ b/crates/web-sys/src/features/gen_IdbVersionChangeEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = IDBVersionChangeEvent , typescript_type = "IDBVersionChangeEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = IDBVersionChangeEvent , typescript_type = "IDBVersionChangeEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbVersionChangeEvent` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdbVersionChangeEventInit.rs b/crates/web-sys/src/features/gen_IdbVersionChangeEventInit.rs index 13222f71afe..790731d2a24 100644 --- a/crates/web-sys/src/features/gen_IdbVersionChangeEventInit.rs +++ b/crates/web-sys/src/features/gen_IdbVersionChangeEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IDBVersionChangeEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IDBVersionChangeEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdbVersionChangeEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_IdleDeadline.rs b/crates/web-sys/src/features/gen_IdleDeadline.rs index 9e36fef16c7..d79f9ae5e98 100644 --- a/crates/web-sys/src/features/gen_IdleDeadline.rs +++ b/crates/web-sys/src/features/gen_IdleDeadline.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IdleDeadline , typescript_type = "IdleDeadline" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IdleDeadline , typescript_type = "IdleDeadline")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdleDeadline` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IdleRequestOptions.rs b/crates/web-sys/src/features/gen_IdleRequestOptions.rs index a505d0b987b..fbcd3d9ab77 100644 --- a/crates/web-sys/src/features/gen_IdleRequestOptions.rs +++ b/crates/web-sys/src/features/gen_IdleRequestOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IdleRequestOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IdleRequestOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IdleRequestOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_IirFilterNode.rs b/crates/web-sys/src/features/gen_IirFilterNode.rs index bad35a2727c..833bd3073c3 100644 --- a/crates/web-sys/src/features/gen_IirFilterNode.rs +++ b/crates/web-sys/src/features/gen_IirFilterNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -22,7 +22,7 @@ extern "C" { context: &BaseAudioContext, options: &IirFilterOptions, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "IIRFilterNode" , js_name = getFrequencyResponse ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IirFilterOptions.rs b/crates/web-sys/src/features/gen_IirFilterOptions.rs index 400abfbde4d..2961ffc0c81 100644 --- a/crates/web-sys/src/features/gen_IirFilterOptions.rs +++ b/crates/web-sys/src/features/gen_IirFilterOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IIRFilterOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IIRFilterOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IirFilterOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ImageBitmap.rs b/crates/web-sys/src/features/gen_ImageBitmap.rs index e028ca22f30..c400d2f813d 100644 --- a/crates/web-sys/src/features/gen_ImageBitmap.rs +++ b/crates/web-sys/src/features/gen_ImageBitmap.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ImageBitmap , typescript_type = "ImageBitmap" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageBitmap , typescript_type = "ImageBitmap")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ImageBitmap` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -33,7 +33,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`*"] pub fn close(this: &ImageBitmap); #[cfg(feature = "ImageBitmapFormat")] - # [ wasm_bindgen ( catch , method , structural , js_class = "ImageBitmap" , js_name = findOptimalFormat ) ] + # [wasm_bindgen (catch , method , structural , js_class = "ImageBitmap" , js_name = findOptimalFormat)] #[doc = "The `findOptimalFormat()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/findOptimalFormat)"] @@ -41,7 +41,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapFormat`*"] pub fn find_optimal_format(this: &ImageBitmap) -> Result; #[cfg(feature = "ImageBitmapFormat")] - # [ wasm_bindgen ( catch , method , structural , js_class = "ImageBitmap" , js_name = findOptimalFormat ) ] + # [wasm_bindgen (catch , method , structural , js_class = "ImageBitmap" , js_name = findOptimalFormat)] #[doc = "The `findOptimalFormat()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/findOptimalFormat)"] @@ -52,7 +52,7 @@ extern "C" { a_possible_formats: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "ImageBitmapFormat")] - # [ wasm_bindgen ( catch , method , structural , js_class = "ImageBitmap" , js_name = mapDataInto ) ] + # [wasm_bindgen (catch , method , structural , js_class = "ImageBitmap" , js_name = mapDataInto)] #[doc = "The `mapDataInto()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/mapDataInto)"] @@ -65,7 +65,7 @@ extern "C" { a_offset: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "ImageBitmapFormat")] - # [ wasm_bindgen ( catch , method , structural , js_class = "ImageBitmap" , js_name = mapDataInto ) ] + # [wasm_bindgen (catch , method , structural , js_class = "ImageBitmap" , js_name = mapDataInto)] #[doc = "The `mapDataInto()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/mapDataInto)"] @@ -78,7 +78,7 @@ extern "C" { a_offset: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "ImageBitmapFormat")] - # [ wasm_bindgen ( catch , method , structural , js_class = "ImageBitmap" , js_name = mappedDataLength ) ] + # [wasm_bindgen (catch , method , structural , js_class = "ImageBitmap" , js_name = mappedDataLength)] #[doc = "The `mappedDataLength()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/mappedDataLength)"] diff --git a/crates/web-sys/src/features/gen_ImageBitmapRenderingContext.rs b/crates/web-sys/src/features/gen_ImageBitmapRenderingContext.rs index 8e0b1768b22..33cc46f029f 100644 --- a/crates/web-sys/src/features/gen_ImageBitmapRenderingContext.rs +++ b/crates/web-sys/src/features/gen_ImageBitmapRenderingContext.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ImageBitmapRenderingContext , typescript_type = "ImageBitmapRenderingContext" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageBitmapRenderingContext , typescript_type = "ImageBitmapRenderingContext")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ImageBitmapRenderingContext` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ImageCapture.rs b/crates/web-sys/src/features/gen_ImageCapture.rs index 34a16573946..99b2da214e6 100644 --- a/crates/web-sys/src/features/gen_ImageCapture.rs +++ b/crates/web-sys/src/features/gen_ImageCapture.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = ImageCapture , typescript_type = "ImageCapture" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = ImageCapture , typescript_type = "ImageCapture")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ImageCapture` class."] #[doc = ""] @@ -12,35 +12,35 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `ImageCapture`*"] pub type ImageCapture; #[cfg(feature = "VideoStreamTrack")] - # [ wasm_bindgen ( structural , method , getter , js_class = "ImageCapture" , js_name = videoStreamTrack ) ] + # [wasm_bindgen (structural , method , getter , js_class = "ImageCapture" , js_name = videoStreamTrack)] #[doc = "Getter for the `videoStreamTrack` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/videoStreamTrack)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ImageCapture`, `VideoStreamTrack`*"] pub fn video_stream_track(this: &ImageCapture) -> VideoStreamTrack; - # [ wasm_bindgen ( structural , method , getter , js_class = "ImageCapture" , js_name = onphoto ) ] + # [wasm_bindgen (structural , method , getter , js_class = "ImageCapture" , js_name = onphoto)] #[doc = "Getter for the `onphoto` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/onphoto)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ImageCapture`*"] pub fn onphoto(this: &ImageCapture) -> Option<::js_sys::Function>; - # [ wasm_bindgen ( structural , method , setter , js_class = "ImageCapture" , js_name = onphoto ) ] + # [wasm_bindgen (structural , method , setter , js_class = "ImageCapture" , js_name = onphoto)] #[doc = "Setter for the `onphoto` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/onphoto)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ImageCapture`*"] pub fn set_onphoto(this: &ImageCapture, value: Option<&::js_sys::Function>); - # [ wasm_bindgen ( structural , method , getter , js_class = "ImageCapture" , js_name = onerror ) ] + # [wasm_bindgen (structural , method , getter , js_class = "ImageCapture" , 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/ImageCapture/onerror)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ImageCapture`*"] pub fn onerror(this: &ImageCapture) -> Option<::js_sys::Function>; - # [ wasm_bindgen ( structural , method , setter , js_class = "ImageCapture" , js_name = onerror ) ] + # [wasm_bindgen (structural , method , setter , js_class = "ImageCapture" , 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/ImageCapture/onerror)"] @@ -55,7 +55,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ImageCapture`, `VideoStreamTrack`*"] pub fn new(track: &VideoStreamTrack) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "ImageCapture" , js_name = takePhoto ) ] + # [wasm_bindgen (catch , 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)"] diff --git a/crates/web-sys/src/features/gen_ImageCaptureError.rs b/crates/web-sys/src/features/gen_ImageCaptureError.rs index 0dae36f4e25..e04c915d1c7 100644 --- a/crates/web-sys/src/features/gen_ImageCaptureError.rs +++ b/crates/web-sys/src/features/gen_ImageCaptureError.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ImageCaptureErrorEvent.rs b/crates/web-sys/src/features/gen_ImageCaptureErrorEvent.rs index eccce521468..d51297ae9cf 100644 --- a/crates/web-sys/src/features/gen_ImageCaptureErrorEvent.rs +++ b/crates/web-sys/src/features/gen_ImageCaptureErrorEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = ImageCaptureErrorEvent , typescript_type = "ImageCaptureErrorEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = ImageCaptureErrorEvent , typescript_type = "ImageCaptureErrorEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ImageCaptureErrorEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ImageCaptureErrorEventInit.rs b/crates/web-sys/src/features/gen_ImageCaptureErrorEventInit.rs index 8ac6e26eb11..e5890d96337 100644 --- a/crates/web-sys/src/features/gen_ImageCaptureErrorEventInit.rs +++ b/crates/web-sys/src/features/gen_ImageCaptureErrorEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ImageCaptureErrorEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageCaptureErrorEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ImageCaptureErrorEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ImageData.rs b/crates/web-sys/src/features/gen_ImageData.rs index 38b679eaf77..4699cc7c0f5 100644 --- a/crates/web-sys/src/features/gen_ImageData.rs +++ b/crates/web-sys/src/features/gen_ImageData.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ImageData , typescript_type = "ImageData" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageData , typescript_type = "ImageData")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ImageData` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_InputEvent.rs b/crates/web-sys/src/features/gen_InputEvent.rs index 56eecb92b8b..a3710310a9e 100644 --- a/crates/web-sys/src/features/gen_InputEvent.rs +++ b/crates/web-sys/src/features/gen_InputEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_InputEventInit.rs b/crates/web-sys/src/features/gen_InputEventInit.rs index 7836ac24143..2bb1698960f 100644 --- a/crates/web-sys/src/features/gen_InputEventInit.rs +++ b/crates/web-sys/src/features/gen_InputEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = InputEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = InputEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `InputEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_InstallTriggerData.rs b/crates/web-sys/src/features/gen_InstallTriggerData.rs index ac9595a4898..bc5e14687e2 100644 --- a/crates/web-sys/src/features/gen_InstallTriggerData.rs +++ b/crates/web-sys/src/features/gen_InstallTriggerData.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = InstallTriggerData ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = InstallTriggerData)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `InstallTriggerData` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_IntersectionObserver.rs b/crates/web-sys/src/features/gen_IntersectionObserver.rs index a36f25a90ce..bf4a27b726c 100644 --- a/crates/web-sys/src/features/gen_IntersectionObserver.rs +++ b/crates/web-sys/src/features/gen_IntersectionObserver.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IntersectionObserver , typescript_type = "IntersectionObserver" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IntersectionObserver , typescript_type = "IntersectionObserver")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IntersectionObserver` class."] #[doc = ""] @@ -12,21 +12,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "IntersectionObserver" , js_name = rootMargin ) ] + # [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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { intersection_callback: &::js_sys::Function, options: &IntersectionObserverInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "IntersectionObserver" , js_name = disconnect ) ] + # [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)"] @@ -60,14 +60,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -75,7 +75,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IntersectionObserverEntry.rs b/crates/web-sys/src/features/gen_IntersectionObserverEntry.rs index a908f0ec12e..6caedd2f874 100644 --- a/crates/web-sys/src/features/gen_IntersectionObserverEntry.rs +++ b/crates/web-sys/src/features/gen_IntersectionObserverEntry.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IntersectionObserverEntry , typescript_type = "IntersectionObserverEntry" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IntersectionObserverEntry , typescript_type = "IntersectionObserverEntry")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IntersectionObserverEntry` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`, `IntersectionObserverEntry`*"] pub fn root_bounds(this: &IntersectionObserverEntry) -> Option; #[cfg(feature = "DomRectReadOnly")] - # [ wasm_bindgen ( structural , method , getter , js_class = "IntersectionObserverEntry" , js_name = boundingClientRect ) ] + # [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)"] @@ -35,21 +35,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -57,7 +57,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IntersectionObserverEntryInit.rs b/crates/web-sys/src/features/gen_IntersectionObserverEntryInit.rs index 1fd137ca43f..cbdd61fa1b4 100644 --- a/crates/web-sys/src/features/gen_IntersectionObserverEntryInit.rs +++ b/crates/web-sys/src/features/gen_IntersectionObserverEntryInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IntersectionObserverEntryInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IntersectionObserverEntryInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IntersectionObserverEntryInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_IntersectionObserverInit.rs b/crates/web-sys/src/features/gen_IntersectionObserverInit.rs index a2a8d895edf..126c87e7c7c 100644 --- a/crates/web-sys/src/features/gen_IntersectionObserverInit.rs +++ b/crates/web-sys/src/features/gen_IntersectionObserverInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IntersectionObserverInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IntersectionObserverInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IntersectionObserverInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_IntlUtils.rs b/crates/web-sys/src/features/gen_IntlUtils.rs index 3d9e29a0f34..751ce53e9a6 100644 --- a/crates/web-sys/src/features/gen_IntlUtils.rs +++ b/crates/web-sys/src/features/gen_IntlUtils.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -23,7 +23,7 @@ extern "C" { locales: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(all(feature = "DisplayNameOptions", feature = "DisplayNameResult",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "IntlUtils" , js_name = getDisplayNames ) ] + # [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)"] @@ -35,7 +35,7 @@ extern "C" { options: &DisplayNameOptions, ) -> Result; #[cfg(feature = "LocaleInfo")] - # [ wasm_bindgen ( catch , method , structural , js_class = "IntlUtils" , js_name = getLocaleInfo ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_IterableKeyAndValueResult.rs b/crates/web-sys/src/features/gen_IterableKeyAndValueResult.rs index 10f9666a010..3f2d8ab4e92 100644 --- a/crates/web-sys/src/features/gen_IterableKeyAndValueResult.rs +++ b/crates/web-sys/src/features/gen_IterableKeyAndValueResult.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IterableKeyAndValueResult ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IterableKeyAndValueResult)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IterableKeyAndValueResult` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_IterableKeyOrValueResult.rs b/crates/web-sys/src/features/gen_IterableKeyOrValueResult.rs index d94fb349fb2..241703392bb 100644 --- a/crates/web-sys/src/features/gen_IterableKeyOrValueResult.rs +++ b/crates/web-sys/src/features/gen_IterableKeyOrValueResult.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = IterableKeyOrValueResult ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = IterableKeyOrValueResult)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `IterableKeyOrValueResult` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_JsonWebKey.rs b/crates/web-sys/src/features/gen_JsonWebKey.rs index 9903b8ddeca..b377c19c8f4 100644 --- a/crates/web-sys/src/features/gen_JsonWebKey.rs +++ b/crates/web-sys/src/features/gen_JsonWebKey.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = JsonWebKey ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = JsonWebKey)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `JsonWebKey` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_KeyAlgorithm.rs b/crates/web-sys/src/features/gen_KeyAlgorithm.rs index bd9021b4189..556fdb0112d 100644 --- a/crates/web-sys/src/features/gen_KeyAlgorithm.rs +++ b/crates/web-sys/src/features/gen_KeyAlgorithm.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = KeyAlgorithm ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = KeyAlgorithm)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `KeyAlgorithm` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_KeyEvent.rs b/crates/web-sys/src/features/gen_KeyEvent.rs index 99d9d579c1f..997fa81014d 100644 --- a/crates/web-sys/src/features/gen_KeyEvent.rs +++ b/crates/web-sys/src/features/gen_KeyEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = KeyEvent , typescript_type = "KeyEvent" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = KeyEvent , typescript_type = "KeyEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `KeyEvent` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { cancelable: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "KeyEvent" , js_name = initKeyEvent ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { view: Option<&Window>, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "KeyEvent" , js_name = initKeyEvent ) ] + # [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)"] @@ -67,7 +67,7 @@ extern "C" { ctrl_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "KeyEvent" , js_name = initKeyEvent ) ] + # [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)"] @@ -83,7 +83,7 @@ extern "C" { alt_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "KeyEvent" , js_name = initKeyEvent ) ] + # [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)"] @@ -100,7 +100,7 @@ extern "C" { shift_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "KeyEvent" , js_name = initKeyEvent ) ] + # [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)"] @@ -118,7 +118,7 @@ extern "C" { meta_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "KeyEvent" , js_name = initKeyEvent ) ] + # [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)"] @@ -137,7 +137,7 @@ extern "C" { key_code: u32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "KeyEvent" , js_name = initKeyEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_KeyIdsInitData.rs b/crates/web-sys/src/features/gen_KeyIdsInitData.rs index 44f4696113c..02c02c1241e 100644 --- a/crates/web-sys/src/features/gen_KeyIdsInitData.rs +++ b/crates/web-sys/src/features/gen_KeyIdsInitData.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = KeyIdsInitData ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = KeyIdsInitData)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `KeyIdsInitData` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_KeyboardEvent.rs b/crates/web-sys/src/features/gen_KeyboardEvent.rs index 9d55a6ef1e1..4bb5b0f2a1e 100644 --- a/crates/web-sys/src/features/gen_KeyboardEvent.rs +++ b/crates/web-sys/src/features/gen_KeyboardEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,77 +11,77 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -106,21 +106,21 @@ extern "C" { type_arg: &str, keyboard_event_init_dict: &KeyboardEventInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "KeyboardEvent" , js_name = getModifierState ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -131,7 +131,7 @@ extern "C" { type_arg: &str, bubbles_arg: bool, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent ) ] + # [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)"] @@ -144,7 +144,7 @@ extern "C" { cancelable_arg: bool, ) -> Result<(), JsValue>; #[cfg(feature = "Window")] - # [ wasm_bindgen ( catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent ) ] + # [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)"] @@ -158,7 +158,7 @@ extern "C" { view_arg: Option<&Window>, ) -> Result<(), JsValue>; #[cfg(feature = "Window")] - # [ wasm_bindgen ( catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent ) ] + # [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)"] @@ -173,7 +173,7 @@ extern "C" { key_arg: &str, ) -> Result<(), JsValue>; #[cfg(feature = "Window")] - # [ wasm_bindgen ( catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent ) ] + # [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)"] @@ -189,7 +189,7 @@ extern "C" { location_arg: u32, ) -> Result<(), JsValue>; #[cfg(feature = "Window")] - # [ wasm_bindgen ( catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent ) ] + # [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)"] @@ -206,7 +206,7 @@ extern "C" { ctrl_key: bool, ) -> Result<(), JsValue>; #[cfg(feature = "Window")] - # [ wasm_bindgen ( catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent ) ] + # [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)"] @@ -224,7 +224,7 @@ extern "C" { alt_key: bool, ) -> Result<(), JsValue>; #[cfg(feature = "Window")] - # [ wasm_bindgen ( catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent ) ] + # [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)"] @@ -243,7 +243,7 @@ extern "C" { shift_key: bool, ) -> Result<(), JsValue>; #[cfg(feature = "Window")] - # [ wasm_bindgen ( catch , method , structural , js_class = "KeyboardEvent" , js_name = initKeyboardEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_KeyboardEventInit.rs b/crates/web-sys/src/features/gen_KeyboardEventInit.rs index 220124ddafa..01f2c0b19ee 100644 --- a/crates/web-sys/src/features/gen_KeyboardEventInit.rs +++ b/crates/web-sys/src/features/gen_KeyboardEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = KeyboardEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = KeyboardEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `KeyboardEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_KeyframeEffect.rs b/crates/web-sys/src/features/gen_KeyframeEffect.rs index ade78a93c32..08bdbd73254 100644 --- a/crates/web-sys/src/features/gen_KeyframeEffect.rs +++ b/crates/web-sys/src/features/gen_KeyframeEffect.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = AnimationEffect , extends = :: js_sys :: Object , js_name = KeyframeEffect , typescript_type = "KeyframeEffect" ) ] + # [wasm_bindgen (extends = AnimationEffect , extends = :: js_sys :: Object , js_name = KeyframeEffect , typescript_type = "KeyframeEffect")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `KeyframeEffect` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -134,14 +134,14 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `KeyframeEffect`*"] pub fn new_with_source(source: &KeyframeEffect) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "KeyframeEffect" , js_name = getKeyframes ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_KeyframeEffectOptions.rs b/crates/web-sys/src/features/gen_KeyframeEffectOptions.rs index 2aa8e9a9f87..66454dd2ff8 100644 --- a/crates/web-sys/src/features/gen_KeyframeEffectOptions.rs +++ b/crates/web-sys/src/features/gen_KeyframeEffectOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = KeyframeEffectOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = KeyframeEffectOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `KeyframeEffectOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_L10nElement.rs b/crates/web-sys/src/features/gen_L10nElement.rs index 258c8904e65..7bdb10b95e2 100644 --- a/crates/web-sys/src/features/gen_L10nElement.rs +++ b/crates/web-sys/src/features/gen_L10nElement.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = L10nElement ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = L10nElement)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `L10nElement` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_L10nValue.rs b/crates/web-sys/src/features/gen_L10nValue.rs index b8d292549c1..5bf27359445 100644 --- a/crates/web-sys/src/features/gen_L10nValue.rs +++ b/crates/web-sys/src/features/gen_L10nValue.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = L10nValue ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = L10nValue)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `L10nValue` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_LifecycleCallbacks.rs b/crates/web-sys/src/features/gen_LifecycleCallbacks.rs index de6f1987188..9a9fc2dec67 100644 --- a/crates/web-sys/src/features/gen_LifecycleCallbacks.rs +++ b/crates/web-sys/src/features/gen_LifecycleCallbacks.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = LifecycleCallbacks ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = LifecycleCallbacks)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `LifecycleCallbacks` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ListBoxObject.rs b/crates/web-sys/src/features/gen_ListBoxObject.rs index b7d4471ee5d..09bc45de50a 100644 --- a/crates/web-sys/src/features/gen_ListBoxObject.rs +++ b/crates/web-sys/src/features/gen_ListBoxObject.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -34,42 +34,42 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "ListBoxObject" , js_name = getNumberOfVisibleRows ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_LocalMediaStream.rs b/crates/web-sys/src/features/gen_LocalMediaStream.rs index 69bad08a418..f6eb1543773 100644 --- a/crates/web-sys/src/features/gen_LocalMediaStream.rs +++ b/crates/web-sys/src/features/gen_LocalMediaStream.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_LocaleInfo.rs b/crates/web-sys/src/features/gen_LocaleInfo.rs index 97c90e6ff54..ac5a88c30fb 100644 --- a/crates/web-sys/src/features/gen_LocaleInfo.rs +++ b/crates/web-sys/src/features/gen_LocaleInfo.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = LocaleInfo ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = LocaleInfo)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `LocaleInfo` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Location.rs b/crates/web-sys/src/features/gen_Location.rs index 4093de7ceda..f75f2bd4832 100644 --- a/crates/web-sys/src/features/gen_Location.rs +++ b/crates/web-sys/src/features/gen_Location.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Location , typescript_type = "Location" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Location , typescript_type = "Location")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Location` class."] #[doc = ""] @@ -11,147 +11,147 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "Location" , js_name = href ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Location" , js_name = protocol ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "Location" , js_name = protocol ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "Location" , js_name = host ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "Location" , js_name = hostname ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "Location" , js_name = port ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "Location" , js_name = pathname ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "Location" , js_name = search ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "Location" , js_name = hash ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaCapabilities.rs b/crates/web-sys/src/features/gen_MediaCapabilities.rs index f739288077f..1169339b6a8 100644 --- a/crates/web-sys/src/features/gen_MediaCapabilities.rs +++ b/crates/web-sys/src/features/gen_MediaCapabilities.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaCapabilities , typescript_type = "MediaCapabilities" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaCapabilities , typescript_type = "MediaCapabilities")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaCapabilities` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -23,7 +23,7 @@ extern "C" { configuration: &MediaDecodingConfiguration, ) -> ::js_sys::Promise; #[cfg(feature = "MediaEncodingConfiguration")] - # [ wasm_bindgen ( method , structural , js_class = "MediaCapabilities" , js_name = encodingInfo ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaCapabilitiesInfo.rs b/crates/web-sys/src/features/gen_MediaCapabilitiesInfo.rs index 0c8b651cef5..2f36d5d1c25 100644 --- a/crates/web-sys/src/features/gen_MediaCapabilitiesInfo.rs +++ b/crates/web-sys/src/features/gen_MediaCapabilitiesInfo.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaCapabilitiesInfo , typescript_type = "MediaCapabilitiesInfo" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaCapabilitiesInfo , typescript_type = "MediaCapabilitiesInfo")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaCapabilitiesInfo` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaConfiguration.rs b/crates/web-sys/src/features/gen_MediaConfiguration.rs index 1a227e4e3bf..9839d9bd3b6 100644 --- a/crates/web-sys/src/features/gen_MediaConfiguration.rs +++ b/crates/web-sys/src/features/gen_MediaConfiguration.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaConfiguration ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaConfiguration)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaConfiguration` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaDecodingConfiguration.rs b/crates/web-sys/src/features/gen_MediaDecodingConfiguration.rs index 4018bcdd175..ef23b597fc8 100644 --- a/crates/web-sys/src/features/gen_MediaDecodingConfiguration.rs +++ b/crates/web-sys/src/features/gen_MediaDecodingConfiguration.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaDecodingConfiguration ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaDecodingConfiguration)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaDecodingConfiguration` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaDeviceInfo.rs b/crates/web-sys/src/features/gen_MediaDeviceInfo.rs index 0d51d5f8876..c3f9af20ef0 100644 --- a/crates/web-sys/src/features/gen_MediaDeviceInfo.rs +++ b/crates/web-sys/src/features/gen_MediaDeviceInfo.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaDeviceInfo , typescript_type = "MediaDeviceInfo" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaDeviceInfo , typescript_type = "MediaDeviceInfo")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaDeviceInfo` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,28 +19,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaDevices.rs b/crates/web-sys/src/features/gen_MediaDevices.rs index 4f2b1e1ddcb..ad0338c7c72 100644 --- a/crates/web-sys/src/features/gen_MediaDevices.rs +++ b/crates/web-sys/src/features/gen_MediaDevices.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaDevices , typescript_type = "MediaDevices" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaDevices , typescript_type = "MediaDevices")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaDevices` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -33,14 +33,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `MediaDevices`*"] pub fn enumerate_devices(this: &MediaDevices) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "MediaTrackSupportedConstraints")] - # [ wasm_bindgen ( method , structural , js_class = "MediaDevices" , js_name = getSupportedConstraints ) ] + # [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 ) ] + # [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)"] @@ -48,7 +48,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaElementAudioSourceNode.rs b/crates/web-sys/src/features/gen_MediaElementAudioSourceNode.rs index fc8b807316b..4b5507167da 100644 --- a/crates/web-sys/src/features/gen_MediaElementAudioSourceNode.rs +++ b/crates/web-sys/src/features/gen_MediaElementAudioSourceNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_MediaElementAudioSourceOptions.rs b/crates/web-sys/src/features/gen_MediaElementAudioSourceOptions.rs index fccbad55950..6db428e5894 100644 --- a/crates/web-sys/src/features/gen_MediaElementAudioSourceOptions.rs +++ b/crates/web-sys/src/features/gen_MediaElementAudioSourceOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaElementAudioSourceOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaElementAudioSourceOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaElementAudioSourceOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaEncodingConfiguration.rs b/crates/web-sys/src/features/gen_MediaEncodingConfiguration.rs index ba9d92ef241..a52fe6a7667 100644 --- a/crates/web-sys/src/features/gen_MediaEncodingConfiguration.rs +++ b/crates/web-sys/src/features/gen_MediaEncodingConfiguration.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaEncodingConfiguration ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaEncodingConfiguration)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaEncodingConfiguration` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaEncryptedEvent.rs b/crates/web-sys/src/features/gen_MediaEncryptedEvent.rs index c2801de5393..07eab6308ea 100644 --- a/crates/web-sys/src/features/gen_MediaEncryptedEvent.rs +++ b/crates/web-sys/src/features/gen_MediaEncryptedEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = MediaEncryptedEvent , typescript_type = "MediaEncryptedEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaEncryptedEvent , typescript_type = "MediaEncryptedEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaEncryptedEvent` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaError.rs b/crates/web-sys/src/features/gen_MediaError.rs index 753a4897c86..538ed20da3b 100644 --- a/crates/web-sys/src/features/gen_MediaError.rs +++ b/crates/web-sys/src/features/gen_MediaError.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaError , typescript_type = "MediaError" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaError , typescript_type = "MediaError")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaError` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaKeyError.rs b/crates/web-sys/src/features/gen_MediaKeyError.rs index b27cbabc55a..3d9306c9f86 100644 --- a/crates/web-sys/src/features/gen_MediaKeyError.rs +++ b/crates/web-sys/src/features/gen_MediaKeyError.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = MediaKeyError , typescript_type = "MediaKeyError" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaKeyError , typescript_type = "MediaKeyError")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaKeyError` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaKeyMessageEvent.rs b/crates/web-sys/src/features/gen_MediaKeyMessageEvent.rs index 7dfce2683ad..bfc16e9cd8f 100644 --- a/crates/web-sys/src/features/gen_MediaKeyMessageEvent.rs +++ b/crates/web-sys/src/features/gen_MediaKeyMessageEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = MediaKeyMessageEvent , typescript_type = "MediaKeyMessageEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaKeyMessageEvent , typescript_type = "MediaKeyMessageEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaKeyMessageEvent` class."] #[doc = ""] @@ -12,14 +12,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaKeyMessageEventInit.rs b/crates/web-sys/src/features/gen_MediaKeyMessageEventInit.rs index 62c3a63d13e..a741832a288 100644 --- a/crates/web-sys/src/features/gen_MediaKeyMessageEventInit.rs +++ b/crates/web-sys/src/features/gen_MediaKeyMessageEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaKeyMessageEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeyMessageEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaKeyMessageEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaKeyNeededEventInit.rs b/crates/web-sys/src/features/gen_MediaKeyNeededEventInit.rs index 8c7bfd7abdf..3f7845b4364 100644 --- a/crates/web-sys/src/features/gen_MediaKeyNeededEventInit.rs +++ b/crates/web-sys/src/features/gen_MediaKeyNeededEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaKeyNeededEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeyNeededEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaKeyNeededEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaKeySession.rs b/crates/web-sys/src/features/gen_MediaKeySession.rs index d199b49f306..df29983ca6a 100644 --- a/crates/web-sys/src/features/gen_MediaKeySession.rs +++ b/crates/web-sys/src/features/gen_MediaKeySession.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaKeySession , typescript_type = "MediaKeySession" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaKeySession , typescript_type = "MediaKeySession")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaKeySession` class."] #[doc = ""] @@ -12,28 +12,28 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "MediaKeySession" , js_name = sessionId ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -41,49 +41,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -94,7 +94,7 @@ extern "C" { init_data_type: &str, init_data: &::js_sys::Object, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "MediaKeySession" , js_name = generateRequest ) ] + # [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)"] @@ -105,21 +105,21 @@ extern "C" { init_data_type: &str, init_data: &mut [u8], ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "MediaKeySession" , js_name = load ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -129,7 +129,7 @@ extern "C" { this: &MediaKeySession, response: &::js_sys::Object, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "MediaKeySession" , js_name = update ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaKeyStatusMap.rs b/crates/web-sys/src/features/gen_MediaKeyStatusMap.rs index 9fd6b4053e3..ee2b22c9d3b 100644 --- a/crates/web-sys/src/features/gen_MediaKeyStatusMap.rs +++ b/crates/web-sys/src/features/gen_MediaKeyStatusMap.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaKeyStatusMap , typescript_type = "MediaKeyStatusMap" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeyStatusMap , typescript_type = "MediaKeyStatusMap")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaKeyStatusMap` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { this: &MediaKeyStatusMap, key_id: &::js_sys::Object, ) -> Result<::wasm_bindgen::JsValue, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "MediaKeyStatusMap" , js_name = get ) ] + # [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)"] @@ -38,14 +38,14 @@ extern "C" { this: &MediaKeyStatusMap, key_id: &mut [u8], ) -> Result<::wasm_bindgen::JsValue, JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "MediaKeyStatusMap" , js_name = has ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaKeySystemAccess.rs b/crates/web-sys/src/features/gen_MediaKeySystemAccess.rs index 39ef32ad9cd..544a59a8701 100644 --- a/crates/web-sys/src/features/gen_MediaKeySystemAccess.rs +++ b/crates/web-sys/src/features/gen_MediaKeySystemAccess.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaKeySystemAccess , typescript_type = "MediaKeySystemAccess" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeySystemAccess , typescript_type = "MediaKeySystemAccess")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaKeySystemAccess` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaKeySystemConfiguration.rs b/crates/web-sys/src/features/gen_MediaKeySystemConfiguration.rs index d256e764251..f685c638a1f 100644 --- a/crates/web-sys/src/features/gen_MediaKeySystemConfiguration.rs +++ b/crates/web-sys/src/features/gen_MediaKeySystemConfiguration.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaKeySystemConfiguration ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeySystemConfiguration)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaKeySystemConfiguration` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaKeySystemMediaCapability.rs b/crates/web-sys/src/features/gen_MediaKeySystemMediaCapability.rs index dd7624b23cb..45bf47f0cd1 100644 --- a/crates/web-sys/src/features/gen_MediaKeySystemMediaCapability.rs +++ b/crates/web-sys/src/features/gen_MediaKeySystemMediaCapability.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaKeySystemMediaCapability ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeySystemMediaCapability)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaKeySystemMediaCapability` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaKeys.rs b/crates/web-sys/src/features/gen_MediaKeys.rs index 5f4a4dda47c..ecf90c11eb2 100644 --- a/crates/web-sys/src/features/gen_MediaKeys.rs +++ b/crates/web-sys/src/features/gen_MediaKeys.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaKeys , typescript_type = "MediaKeys" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeys , typescript_type = "MediaKeys")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaKeys` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `MediaKeySession`, `MediaKeys`*"] pub fn create_session(this: &MediaKeys) -> Result; #[cfg(all(feature = "MediaKeySession", feature = "MediaKeySessionType",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "MediaKeys" , js_name = createSession ) ] + # [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)"] @@ -37,7 +37,7 @@ extern "C" { this: &MediaKeys, session_type: MediaKeySessionType, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "MediaKeys" , js_name = getStatusForPolicy ) ] + # [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)"] @@ -45,7 +45,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -55,7 +55,7 @@ extern "C" { this: &MediaKeys, policy: &MediaKeysPolicy, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "MediaKeys" , js_name = setServerCertificate ) ] + # [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)"] @@ -65,7 +65,7 @@ extern "C" { this: &MediaKeys, server_certificate: &::js_sys::Object, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "MediaKeys" , js_name = setServerCertificate ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaKeysPolicy.rs b/crates/web-sys/src/features/gen_MediaKeysPolicy.rs index da03f062709..74a5e178004 100644 --- a/crates/web-sys/src/features/gen_MediaKeysPolicy.rs +++ b/crates/web-sys/src/features/gen_MediaKeysPolicy.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaKeysPolicy ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaKeysPolicy)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaKeysPolicy` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaList.rs b/crates/web-sys/src/features/gen_MediaList.rs index 4a3b7e458aa..89b8f383fed 100644 --- a/crates/web-sys/src/features/gen_MediaList.rs +++ b/crates/web-sys/src/features/gen_MediaList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaList , typescript_type = "MediaList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaList , typescript_type = "MediaList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaList` class."] #[doc = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaQueryList.rs b/crates/web-sys/src/features/gen_MediaQueryList.rs index 37ccbcc3c72..24faf3a316d 100644 --- a/crates/web-sys/src/features/gen_MediaQueryList.rs +++ b/crates/web-sys/src/features/gen_MediaQueryList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaQueryList , typescript_type = "MediaQueryList" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaQueryList , typescript_type = "MediaQueryList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaQueryList` class."] #[doc = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { listener: Option<&::js_sys::Function>, ) -> Result<(), JsValue>; #[cfg(feature = "EventListener")] - # [ wasm_bindgen ( catch , method , structural , js_class = "MediaQueryList" , js_name = addListener ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { this: &MediaQueryList, listener: Option<&EventListener>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "MediaQueryList" , js_name = removeListener ) ] + # [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)"] @@ -71,7 +71,7 @@ extern "C" { listener: Option<&::js_sys::Function>, ) -> Result<(), JsValue>; #[cfg(feature = "EventListener")] - # [ wasm_bindgen ( catch , method , structural , js_class = "MediaQueryList" , js_name = removeListener ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaQueryListEvent.rs b/crates/web-sys/src/features/gen_MediaQueryListEvent.rs index 2422dd5466e..ceca733f1fc 100644 --- a/crates/web-sys/src/features/gen_MediaQueryListEvent.rs +++ b/crates/web-sys/src/features/gen_MediaQueryListEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = MediaQueryListEvent , typescript_type = "MediaQueryListEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaQueryListEvent , typescript_type = "MediaQueryListEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaQueryListEvent` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaQueryListEventInit.rs b/crates/web-sys/src/features/gen_MediaQueryListEventInit.rs index 942ea9db36f..f038b80f232 100644 --- a/crates/web-sys/src/features/gen_MediaQueryListEventInit.rs +++ b/crates/web-sys/src/features/gen_MediaQueryListEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaQueryListEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaQueryListEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaQueryListEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaRecorder.rs b/crates/web-sys/src/features/gen_MediaRecorder.rs index 7f107e35999..1153152da4b 100644 --- a/crates/web-sys/src/features/gen_MediaRecorder.rs +++ b/crates/web-sys/src/features/gen_MediaRecorder.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaRecorder , typescript_type = "MediaRecorder" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaRecorder , typescript_type = "MediaRecorder")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaRecorder` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,84 +20,84 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -154,49 +154,49 @@ extern "C" { output: u32, options: &MediaRecorderOptions, ) -> Result; - # [ wasm_bindgen ( static_method_of = MediaRecorder , js_class = "MediaRecorder" , js_name = isTypeSupported ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaRecorderErrorEvent.rs b/crates/web-sys/src/features/gen_MediaRecorderErrorEvent.rs index 11af9baa7b7..5a00bb630d2 100644 --- a/crates/web-sys/src/features/gen_MediaRecorderErrorEvent.rs +++ b/crates/web-sys/src/features/gen_MediaRecorderErrorEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = MediaRecorderErrorEvent , typescript_type = "MediaRecorderErrorEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaRecorderErrorEvent , typescript_type = "MediaRecorderErrorEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaRecorderErrorEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaRecorderErrorEventInit.rs b/crates/web-sys/src/features/gen_MediaRecorderErrorEventInit.rs index 329219b64ae..834785822cd 100644 --- a/crates/web-sys/src/features/gen_MediaRecorderErrorEventInit.rs +++ b/crates/web-sys/src/features/gen_MediaRecorderErrorEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaRecorderErrorEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaRecorderErrorEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaRecorderErrorEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaRecorderOptions.rs b/crates/web-sys/src/features/gen_MediaRecorderOptions.rs index 51bdc641915..4a1a41a0067 100644 --- a/crates/web-sys/src/features/gen_MediaRecorderOptions.rs +++ b/crates/web-sys/src/features/gen_MediaRecorderOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaRecorderOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaRecorderOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaRecorderOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaSource.rs b/crates/web-sys/src/features/gen_MediaSource.rs index 4ac0e89d3c2..16d72503ac2 100644 --- a/crates/web-sys/src/features/gen_MediaSource.rs +++ b/crates/web-sys/src/features/gen_MediaSource.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaSource , typescript_type = "MediaSource" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaSource , typescript_type = "MediaSource")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaSource` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,63 +28,63 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 = onsourceclosed ) ] + # [wasm_bindgen (structural , method , getter , js_class = "MediaSource" , js_name = onsourceclosed)] #[doc = "Getter for the `onsourceclosed` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceclosed)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"] pub fn onsourceclosed(this: &MediaSource) -> Option<::js_sys::Function>; - # [ wasm_bindgen ( structural , method , setter , js_class = "MediaSource" , js_name = onsourceclosed ) ] + # [wasm_bindgen (structural , method , setter , js_class = "MediaSource" , js_name = onsourceclosed)] #[doc = "Setter for the `onsourceclosed` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceclosed)"] @@ -99,21 +99,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `MediaSource`*"] pub fn new() -> Result; #[cfg(feature = "SourceBuffer")] - # [ wasm_bindgen ( catch , method , structural , js_class = "MediaSource" , js_name = addSourceBuffer ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "MediaSource" , js_name = clearLiveSeekableRange ) ] + # [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 ) ] + # [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)"] @@ -121,7 +121,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -131,7 +131,7 @@ extern "C" { this: &MediaSource, error: MediaSourceEndOfStreamError, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( static_method_of = MediaSource , js_class = "MediaSource" , js_name = isTypeSupported ) ] + # [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)"] @@ -139,7 +139,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -149,7 +149,7 @@ extern "C" { this: &MediaSource, source_buffer: &SourceBuffer, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "MediaSource" , js_name = setLiveSeekableRange ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaStream.rs b/crates/web-sys/src/features/gen_MediaStream.rs index 6e8b8b367ea..75d5f21a926 100644 --- a/crates/web-sys/src/features/gen_MediaStream.rs +++ b/crates/web-sys/src/features/gen_MediaStream.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaStream , typescript_type = "MediaStream" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaStream , typescript_type = "MediaStream")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaStream` class."] #[doc = ""] @@ -11,49 +11,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -82,21 +82,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `MediaStream`*"] pub fn new_with_tracks(tracks: &::wasm_bindgen::JsValue) -> Result; #[cfg(feature = "MediaStreamTrack")] - # [ wasm_bindgen ( method , structural , js_class = "MediaStream" , js_name = addTrack ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -104,21 +104,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "MediaStream" , js_name = getTracks ) ] + # [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 ) ] + # [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)"] @@ -126,7 +126,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaStreamAudioDestinationNode.rs b/crates/web-sys/src/features/gen_MediaStreamAudioDestinationNode.rs index 4ee745c1c9f..84464845985 100644 --- a/crates/web-sys/src/features/gen_MediaStreamAudioDestinationNode.rs +++ b/crates/web-sys/src/features/gen_MediaStreamAudioDestinationNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaStreamAudioSourceNode.rs b/crates/web-sys/src/features/gen_MediaStreamAudioSourceNode.rs index 234466733b5..0c206a44cfc 100644 --- a/crates/web-sys/src/features/gen_MediaStreamAudioSourceNode.rs +++ b/crates/web-sys/src/features/gen_MediaStreamAudioSourceNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_MediaStreamAudioSourceOptions.rs b/crates/web-sys/src/features/gen_MediaStreamAudioSourceOptions.rs index de5e7a9e247..8f72c319a85 100644 --- a/crates/web-sys/src/features/gen_MediaStreamAudioSourceOptions.rs +++ b/crates/web-sys/src/features/gen_MediaStreamAudioSourceOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaStreamAudioSourceOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaStreamAudioSourceOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaStreamAudioSourceOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaStreamConstraints.rs b/crates/web-sys/src/features/gen_MediaStreamConstraints.rs index d581fe5c1a1..138afcb8157 100644 --- a/crates/web-sys/src/features/gen_MediaStreamConstraints.rs +++ b/crates/web-sys/src/features/gen_MediaStreamConstraints.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaStreamConstraints ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaStreamConstraints)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaStreamConstraints` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaStreamError.rs b/crates/web-sys/src/features/gen_MediaStreamError.rs index 01083ef4151..b18996d425b 100644 --- a/crates/web-sys/src/features/gen_MediaStreamError.rs +++ b/crates/web-sys/src/features/gen_MediaStreamError.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "MediaStreamError" , js_name = constraint ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaStreamEvent.rs b/crates/web-sys/src/features/gen_MediaStreamEvent.rs index 6d620d9542c..d562649b4a1 100644 --- a/crates/web-sys/src/features/gen_MediaStreamEvent.rs +++ b/crates/web-sys/src/features/gen_MediaStreamEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = MediaStreamEvent , typescript_type = "MediaStreamEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaStreamEvent , typescript_type = "MediaStreamEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaStreamEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaStreamEventInit.rs b/crates/web-sys/src/features/gen_MediaStreamEventInit.rs index b1c6ff031d8..7d1bbfdcd31 100644 --- a/crates/web-sys/src/features/gen_MediaStreamEventInit.rs +++ b/crates/web-sys/src/features/gen_MediaStreamEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaStreamEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaStreamEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaStreamEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaStreamTrack.rs b/crates/web-sys/src/features/gen_MediaStreamTrack.rs index 44dea2a2f56..113d02887fb 100644 --- a/crates/web-sys/src/features/gen_MediaStreamTrack.rs +++ b/crates/web-sys/src/features/gen_MediaStreamTrack.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaStreamTrack , typescript_type = "MediaStreamTrack" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MediaStreamTrack , typescript_type = "MediaStreamTrack")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaStreamTrack` class."] #[doc = ""] @@ -11,70 +11,70 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -82,28 +82,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -111,7 +111,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -121,7 +121,7 @@ extern "C" { this: &MediaStreamTrack, constraints: &MediaTrackConstraints, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "MediaStreamTrack" , js_name = clone ) ] + # [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)"] @@ -129,7 +129,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -137,14 +137,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaStreamTrackEvent.rs b/crates/web-sys/src/features/gen_MediaStreamTrackEvent.rs index 1d219f658e3..30884b9ec4a 100644 --- a/crates/web-sys/src/features/gen_MediaStreamTrackEvent.rs +++ b/crates/web-sys/src/features/gen_MediaStreamTrackEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = MediaStreamTrackEvent , typescript_type = "MediaStreamTrackEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MediaStreamTrackEvent , typescript_type = "MediaStreamTrackEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaStreamTrackEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MediaStreamTrackEventInit.rs b/crates/web-sys/src/features/gen_MediaStreamTrackEventInit.rs index 02dfb14bb15..4657ef56bf7 100644 --- a/crates/web-sys/src/features/gen_MediaStreamTrackEventInit.rs +++ b/crates/web-sys/src/features/gen_MediaStreamTrackEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaStreamTrackEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaStreamTrackEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaStreamTrackEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaTrackConstraintSet.rs b/crates/web-sys/src/features/gen_MediaTrackConstraintSet.rs index 4c6a2f6307f..1db84304757 100644 --- a/crates/web-sys/src/features/gen_MediaTrackConstraintSet.rs +++ b/crates/web-sys/src/features/gen_MediaTrackConstraintSet.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaTrackConstraintSet ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaTrackConstraintSet)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaTrackConstraintSet` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaTrackConstraints.rs b/crates/web-sys/src/features/gen_MediaTrackConstraints.rs index 7a1e8b06635..38a176f1c1e 100644 --- a/crates/web-sys/src/features/gen_MediaTrackConstraints.rs +++ b/crates/web-sys/src/features/gen_MediaTrackConstraints.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaTrackConstraints ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaTrackConstraints)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaTrackConstraints` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaTrackSettings.rs b/crates/web-sys/src/features/gen_MediaTrackSettings.rs index 8a919309589..d2aa0301171 100644 --- a/crates/web-sys/src/features/gen_MediaTrackSettings.rs +++ b/crates/web-sys/src/features/gen_MediaTrackSettings.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaTrackSettings ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaTrackSettings)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaTrackSettings` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MediaTrackSupportedConstraints.rs b/crates/web-sys/src/features/gen_MediaTrackSupportedConstraints.rs index 3bca9c61d6d..d8f20c6a9de 100644 --- a/crates/web-sys/src/features/gen_MediaTrackSupportedConstraints.rs +++ b/crates/web-sys/src/features/gen_MediaTrackSupportedConstraints.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MediaTrackSupportedConstraints ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MediaTrackSupportedConstraints)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MediaTrackSupportedConstraints` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MessageChannel.rs b/crates/web-sys/src/features/gen_MessageChannel.rs index 9755c10d78d..4422c14af5d 100644 --- a/crates/web-sys/src/features/gen_MessageChannel.rs +++ b/crates/web-sys/src/features/gen_MessageChannel.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MessageChannel , typescript_type = "MessageChannel" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MessageChannel , typescript_type = "MessageChannel")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MessageChannel` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MessageEvent.rs b/crates/web-sys/src/features/gen_MessageEvent.rs index 842ccfb6a29..89df3994280 100644 --- a/crates/web-sys/src/features/gen_MessageEvent.rs +++ b/crates/web-sys/src/features/gen_MessageEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = MessageEvent , typescript_type = "MessageEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MessageEvent , typescript_type = "MessageEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MessageEvent` class."] #[doc = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -64,21 +64,21 @@ extern "C" { type_: &str, event_init_dict: &MessageEventInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "MessageEvent" , js_name = initMessageEvent ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -90,7 +90,7 @@ extern "C" { bubbles: bool, cancelable: bool, ); - # [ wasm_bindgen ( method , structural , js_class = "MessageEvent" , js_name = initMessageEvent ) ] + # [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)"] @@ -103,7 +103,7 @@ extern "C" { cancelable: bool, data: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "MessageEvent" , js_name = initMessageEvent ) ] + # [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)"] @@ -117,7 +117,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, origin: &str, ); - # [ wasm_bindgen ( method , structural , js_class = "MessageEvent" , js_name = initMessageEvent ) ] + # [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)"] @@ -133,7 +133,7 @@ extern "C" { last_event_id: &str, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MessageEvent" , js_name = initMessageEvent ) ] + # [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)"] @@ -150,7 +150,7 @@ extern "C" { source: Option<&Window>, ); #[cfg(feature = "MessagePort")] - # [ wasm_bindgen ( method , structural , js_class = "MessageEvent" , js_name = initMessageEvent ) ] + # [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)"] @@ -167,7 +167,7 @@ extern "C" { source: Option<&MessagePort>, ); #[cfg(feature = "ServiceWorker")] - # [ wasm_bindgen ( method , structural , js_class = "MessageEvent" , js_name = initMessageEvent ) ] + # [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)"] @@ -184,7 +184,7 @@ extern "C" { source: Option<&ServiceWorker>, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MessageEvent" , js_name = initMessageEvent ) ] + # [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)"] @@ -202,7 +202,7 @@ extern "C" { ports: &::wasm_bindgen::JsValue, ); #[cfg(feature = "MessagePort")] - # [ wasm_bindgen ( method , structural , js_class = "MessageEvent" , js_name = initMessageEvent ) ] + # [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)"] @@ -220,7 +220,7 @@ extern "C" { ports: &::wasm_bindgen::JsValue, ); #[cfg(feature = "ServiceWorker")] - # [ wasm_bindgen ( method , structural , js_class = "MessageEvent" , js_name = initMessageEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MessageEventInit.rs b/crates/web-sys/src/features/gen_MessageEventInit.rs index fbe22993880..6b67cee31b2 100644 --- a/crates/web-sys/src/features/gen_MessageEventInit.rs +++ b/crates/web-sys/src/features/gen_MessageEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MessageEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MessageEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MessageEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MessagePort.rs b/crates/web-sys/src/features/gen_MessagePort.rs index 3cbbc6e4164..2eaf463d003 100644 --- a/crates/web-sys/src/features/gen_MessagePort.rs +++ b/crates/web-sys/src/features/gen_MessagePort.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = MessagePort , typescript_type = "MessagePort" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MessagePort , typescript_type = "MessagePort")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MessagePort` class."] #[doc = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -56,7 +56,7 @@ extern "C" { this: &MessagePort, message: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "MessagePort" , js_name = postMessage ) ] + # [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)"] @@ -67,7 +67,7 @@ extern "C" { message: &::wasm_bindgen::JsValue, transferable: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "MessagePort" , js_name = start ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MidiAccess.rs b/crates/web-sys/src/features/gen_MidiAccess.rs index 7b22f4ddee1..4c0db7544e8 100644 --- a/crates/web-sys/src/features/gen_MidiAccess.rs +++ b/crates/web-sys/src/features/gen_MidiAccess.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = MIDIAccess , typescript_type = "MIDIAccess" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MIDIAccess , typescript_type = "MIDIAccess")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MidiAccess` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,28 +20,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MidiConnectionEvent.rs b/crates/web-sys/src/features/gen_MidiConnectionEvent.rs index 59594ae9e96..03adeb7d649 100644 --- a/crates/web-sys/src/features/gen_MidiConnectionEvent.rs +++ b/crates/web-sys/src/features/gen_MidiConnectionEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = MIDIConnectionEvent , typescript_type = "MIDIConnectionEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MIDIConnectionEvent , typescript_type = "MIDIConnectionEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MidiConnectionEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MidiConnectionEventInit.rs b/crates/web-sys/src/features/gen_MidiConnectionEventInit.rs index 8fecb273b5a..6a06a30c7d5 100644 --- a/crates/web-sys/src/features/gen_MidiConnectionEventInit.rs +++ b/crates/web-sys/src/features/gen_MidiConnectionEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MIDIConnectionEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MIDIConnectionEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MidiConnectionEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MidiInput.rs b/crates/web-sys/src/features/gen_MidiInput.rs index 813f391bcf5..d481aa2e9a5 100644 --- a/crates/web-sys/src/features/gen_MidiInput.rs +++ b/crates/web-sys/src/features/gen_MidiInput.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MidiInputMap.rs b/crates/web-sys/src/features/gen_MidiInputMap.rs index 93a42be3a32..7a682bdad00 100644 --- a/crates/web-sys/src/features/gen_MidiInputMap.rs +++ b/crates/web-sys/src/features/gen_MidiInputMap.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MIDIInputMap , typescript_type = "MIDIInputMap" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MIDIInputMap , typescript_type = "MIDIInputMap")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MidiInputMap` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MidiMessageEvent.rs b/crates/web-sys/src/features/gen_MidiMessageEvent.rs index a2d002c4f06..f4462faf743 100644 --- a/crates/web-sys/src/features/gen_MidiMessageEvent.rs +++ b/crates/web-sys/src/features/gen_MidiMessageEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = MIDIMessageEvent , typescript_type = "MIDIMessageEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MIDIMessageEvent , typescript_type = "MIDIMessageEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MidiMessageEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MidiMessageEventInit.rs b/crates/web-sys/src/features/gen_MidiMessageEventInit.rs index 49d0fc31720..562a540f5a4 100644 --- a/crates/web-sys/src/features/gen_MidiMessageEventInit.rs +++ b/crates/web-sys/src/features/gen_MidiMessageEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MIDIMessageEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MIDIMessageEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MidiMessageEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MidiOptions.rs b/crates/web-sys/src/features/gen_MidiOptions.rs index 3ebc87a8887..a6d9d7ee308 100644 --- a/crates/web-sys/src/features/gen_MidiOptions.rs +++ b/crates/web-sys/src/features/gen_MidiOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MIDIOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MIDIOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MidiOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MidiOutput.rs b/crates/web-sys/src/features/gen_MidiOutput.rs index 2bf253af9a9..8dc8a7aaeeb 100644 --- a/crates/web-sys/src/features/gen_MidiOutput.rs +++ b/crates/web-sys/src/features/gen_MidiOutput.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MidiOutputMap.rs b/crates/web-sys/src/features/gen_MidiOutputMap.rs index 6a4527cca9c..d20f434544b 100644 --- a/crates/web-sys/src/features/gen_MidiOutputMap.rs +++ b/crates/web-sys/src/features/gen_MidiOutputMap.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MIDIOutputMap , typescript_type = "MIDIOutputMap" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MIDIOutputMap , typescript_type = "MIDIOutputMap")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MidiOutputMap` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MidiPort.rs b/crates/web-sys/src/features/gen_MidiPort.rs index 5edefcde36b..c69a4ee0afe 100644 --- a/crates/web-sys/src/features/gen_MidiPort.rs +++ b/crates/web-sys/src/features/gen_MidiPort.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = MIDIPort , typescript_type = "MIDIPort" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = MIDIPort , typescript_type = "MIDIPort")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MidiPort` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "MIDIPort" , js_name = name ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "MIDIPort" , js_name = version ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `MidiPort`*"] pub fn version(this: &MidiPort) -> Option; #[cfg(feature = "MidiPortType")] - # [ wasm_bindgen ( structural , method , getter , js_class = "MIDIPort" , js_name = type ) ] + # [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)"] @@ -48,7 +48,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -56,35 +56,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MimeType.rs b/crates/web-sys/src/features/gen_MimeType.rs index f4480c4863c..1588cb14a8a 100644 --- a/crates/web-sys/src/features/gen_MimeType.rs +++ b/crates/web-sys/src/features/gen_MimeType.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MimeType , typescript_type = "MimeType" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MimeType , typescript_type = "MimeType")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MimeType` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,21 +19,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "MimeType" , js_name = suffixes ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MimeTypeArray.rs b/crates/web-sys/src/features/gen_MimeTypeArray.rs index 59c87dbd4a1..79fe54a74a1 100644 --- a/crates/web-sys/src/features/gen_MimeTypeArray.rs +++ b/crates/web-sys/src/features/gen_MimeTypeArray.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MimeTypeArray , typescript_type = "MimeTypeArray" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MimeTypeArray , typescript_type = "MimeTypeArray")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MimeTypeArray` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `MimeType`, `MimeTypeArray`*"] pub fn item(this: &MimeTypeArray, index: u32) -> Option; #[cfg(feature = "MimeType")] - # [ wasm_bindgen ( method , structural , js_class = "MimeTypeArray" , js_name = namedItem ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MouseEvent.rs b/crates/web-sys/src/features/gen_MouseEvent.rs index 4681356c133..3a44e137e7a 100644 --- a/crates/web-sys/src/features/gen_MouseEvent.rs +++ b/crates/web-sys/src/features/gen_MouseEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,98 +11,98 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -110,28 +110,28 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "MouseEvent" , js_name = region ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "MouseEvent" , js_name = movementX ) ] + # [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 ) ] + # [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)"] @@ -156,21 +156,21 @@ extern "C" { type_arg: &str, mouse_event_init_dict: &MouseEventInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = getModifierState ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -181,7 +181,7 @@ extern "C" { type_arg: &str, can_bubble_arg: bool, ); - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = initMouseEvent ) ] + # [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)"] @@ -194,7 +194,7 @@ extern "C" { cancelable_arg: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = initMouseEvent ) ] + # [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)"] @@ -208,7 +208,7 @@ extern "C" { view_arg: Option<&Window>, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = initMouseEvent ) ] + # [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)"] @@ -223,7 +223,7 @@ extern "C" { detail_arg: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = initMouseEvent ) ] + # [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)"] @@ -239,7 +239,7 @@ extern "C" { screen_x_arg: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = initMouseEvent ) ] + # [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)"] @@ -256,7 +256,7 @@ extern "C" { screen_y_arg: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = initMouseEvent ) ] + # [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)"] @@ -274,7 +274,7 @@ extern "C" { client_x_arg: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = initMouseEvent ) ] + # [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)"] @@ -293,7 +293,7 @@ extern "C" { client_y_arg: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = initMouseEvent ) ] + # [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)"] @@ -313,7 +313,7 @@ extern "C" { ctrl_key_arg: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = initMouseEvent ) ] + # [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)"] @@ -334,7 +334,7 @@ extern "C" { alt_key_arg: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = initMouseEvent ) ] + # [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)"] @@ -356,7 +356,7 @@ extern "C" { shift_key_arg: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = initMouseEvent ) ] + # [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)"] @@ -379,7 +379,7 @@ extern "C" { meta_key_arg: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = initMouseEvent ) ] + # [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)"] @@ -403,7 +403,7 @@ extern "C" { button_arg: i16, ); #[cfg(all(feature = "EventTarget", feature = "Window",))] - # [ wasm_bindgen ( method , structural , js_class = "MouseEvent" , js_name = initMouseEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MouseEventInit.rs b/crates/web-sys/src/features/gen_MouseEventInit.rs index 9ad468ce87f..1a4d683d80e 100644 --- a/crates/web-sys/src/features/gen_MouseEventInit.rs +++ b/crates/web-sys/src/features/gen_MouseEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MouseEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MouseEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MouseEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MouseScrollEvent.rs b/crates/web-sys/src/features/gen_MouseScrollEvent.rs index 5f4e47670b6..01d2970113b 100644 --- a/crates/web-sys/src/features/gen_MouseScrollEvent.rs +++ b/crates/web-sys/src/features/gen_MouseScrollEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { type_: &str, can_bubble: bool, ); - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] @@ -49,7 +49,7 @@ extern "C" { cancelable: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] @@ -63,7 +63,7 @@ extern "C" { view: Option<&Window>, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] @@ -78,7 +78,7 @@ extern "C" { detail: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] @@ -94,7 +94,7 @@ extern "C" { screen_x: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] @@ -111,7 +111,7 @@ extern "C" { screen_y: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] @@ -129,7 +129,7 @@ extern "C" { client_x: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] @@ -148,7 +148,7 @@ extern "C" { client_y: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] @@ -168,7 +168,7 @@ extern "C" { ctrl_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] @@ -189,7 +189,7 @@ extern "C" { alt_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] @@ -211,7 +211,7 @@ extern "C" { shift_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] @@ -234,7 +234,7 @@ extern "C" { meta_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] @@ -258,7 +258,7 @@ extern "C" { button: i16, ); #[cfg(all(feature = "EventTarget", feature = "Window",))] - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] @@ -283,7 +283,7 @@ extern "C" { related_target: Option<&EventTarget>, ); #[cfg(all(feature = "EventTarget", feature = "Window",))] - # [ wasm_bindgen ( method , structural , js_class = "MouseScrollEvent" , js_name = initMouseScrollEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MozDebug.rs b/crates/web-sys/src/features/gen_MozDebug.rs index eb02dd6b0e2..6d83c97f3a2 100644 --- a/crates/web-sys/src/features/gen_MozDebug.rs +++ b/crates/web-sys/src/features/gen_MozDebug.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MutationEvent.rs b/crates/web-sys/src/features/gen_MutationEvent.rs index 66444f30f51..72f7bc9ad18 100644 --- a/crates/web-sys/src/features/gen_MutationEvent.rs +++ b/crates/web-sys/src/features/gen_MutationEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = MutationEvent , typescript_type = "MutationEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = MutationEvent , typescript_type = "MutationEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MutationEvent` class."] #[doc = ""] @@ -12,49 +12,49 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "MutationEvent" , js_name = prevValue ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -65,7 +65,7 @@ extern "C" { type_: &str, can_bubble: bool, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent ) ] + # [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)"] @@ -78,7 +78,7 @@ extern "C" { cancelable: bool, ) -> Result<(), JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent ) ] + # [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)"] @@ -92,7 +92,7 @@ extern "C" { related_node: Option<&Node>, ) -> Result<(), JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent ) ] + # [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)"] @@ -107,7 +107,7 @@ extern "C" { prev_value: &str, ) -> Result<(), JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent ) ] + # [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)"] @@ -123,7 +123,7 @@ extern "C" { new_value: &str, ) -> Result<(), JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent ) ] + # [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)"] @@ -140,7 +140,7 @@ extern "C" { attr_name: &str, ) -> Result<(), JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "MutationEvent" , js_name = initMutationEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MutationObserver.rs b/crates/web-sys/src/features/gen_MutationObserver.rs index 4764e644a4c..c9ce64ea260 100644 --- a/crates/web-sys/src/features/gen_MutationObserver.rs +++ b/crates/web-sys/src/features/gen_MutationObserver.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MutationObserver , typescript_type = "MutationObserver" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MutationObserver , typescript_type = "MutationObserver")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MutationObserver` class."] #[doc = ""] @@ -18,7 +18,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `MutationObserver`*"] pub fn new(mutation_callback: &::js_sys::Function) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "MutationObserver" , js_name = disconnect ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -45,7 +45,7 @@ extern "C" { target: &Node, options: &MutationObserverInit, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "MutationObserver" , js_name = takeRecords ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_MutationObserverInit.rs b/crates/web-sys/src/features/gen_MutationObserverInit.rs index 9f92e46f425..dfd361e6068 100644 --- a/crates/web-sys/src/features/gen_MutationObserverInit.rs +++ b/crates/web-sys/src/features/gen_MutationObserverInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MutationObserverInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MutationObserverInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MutationObserverInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MutationObservingInfo.rs b/crates/web-sys/src/features/gen_MutationObservingInfo.rs index 5cc5dbecaf7..3a53e5c9ea4 100644 --- a/crates/web-sys/src/features/gen_MutationObservingInfo.rs +++ b/crates/web-sys/src/features/gen_MutationObservingInfo.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MutationObservingInfo ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MutationObservingInfo)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MutationObservingInfo` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_MutationRecord.rs b/crates/web-sys/src/features/gen_MutationRecord.rs index 8b732a4a503..2a9e4c36511 100644 --- a/crates/web-sys/src/features/gen_MutationRecord.rs +++ b/crates/web-sys/src/features/gen_MutationRecord.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = MutationRecord , typescript_type = "MutationRecord" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MutationRecord , typescript_type = "MutationRecord")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `MutationRecord` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `MutationRecord`, `Node`*"] pub fn target(this: &MutationRecord) -> Option; #[cfg(feature = "NodeList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "MutationRecord" , js_name = addedNodes ) ] + # [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)"] @@ -35,7 +35,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -43,7 +43,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -51,28 +51,28 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `MutationRecord`, `Node`*"] pub fn previous_sibling(this: &MutationRecord) -> Option; #[cfg(feature = "Node")] - # [ wasm_bindgen ( structural , method , getter , js_class = "MutationRecord" , js_name = nextSibling ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "MutationRecord" , js_name = attributeName ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "MutationRecord" , js_name = attributeNamespace ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "MutationRecord" , js_name = oldValue ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_NamedNodeMap.rs b/crates/web-sys/src/features/gen_NamedNodeMap.rs index 15e1a2af9cb..ee2d2e0435c 100644 --- a/crates/web-sys/src/features/gen_NamedNodeMap.rs +++ b/crates/web-sys/src/features/gen_NamedNodeMap.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = NamedNodeMap , typescript_type = "NamedNodeMap" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NamedNodeMap , typescript_type = "NamedNodeMap")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `NamedNodeMap` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*"] pub fn get_named_item(this: &NamedNodeMap, name: &str) -> Option; #[cfg(feature = "Attr")] - # [ wasm_bindgen ( method , structural , js_class = "NamedNodeMap" , js_name = getNamedItemNS ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { local_name: &str, ) -> Option; #[cfg(feature = "Attr")] - # [ wasm_bindgen ( method , structural , js_class = "NamedNodeMap" , js_name = item ) ] + # [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)"] @@ -47,7 +47,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*"] pub fn item(this: &NamedNodeMap, index: u32) -> Option; #[cfg(feature = "Attr")] - # [ wasm_bindgen ( catch , method , structural , js_class = "NamedNodeMap" , js_name = removeNamedItem ) ] + # [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)"] @@ -55,7 +55,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*"] pub fn remove_named_item(this: &NamedNodeMap, name: &str) -> Result; #[cfg(feature = "Attr")] - # [ wasm_bindgen ( catch , method , structural , js_class = "NamedNodeMap" , js_name = removeNamedItemNS ) ] + # [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)"] @@ -67,7 +67,7 @@ extern "C" { local_name: &str, ) -> Result; #[cfg(feature = "Attr")] - # [ wasm_bindgen ( catch , method , structural , js_class = "NamedNodeMap" , js_name = setNamedItem ) ] + # [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)"] @@ -75,7 +75,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*"] pub fn set_named_item(this: &NamedNodeMap, arg: &Attr) -> Result, JsValue>; #[cfg(feature = "Attr")] - # [ wasm_bindgen ( catch , method , structural , js_class = "NamedNodeMap" , js_name = setNamedItemNS ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_NativeOsFileReadOptions.rs b/crates/web-sys/src/features/gen_NativeOsFileReadOptions.rs index 218be11eee9..d495337f308 100644 --- a/crates/web-sys/src/features/gen_NativeOsFileReadOptions.rs +++ b/crates/web-sys/src/features/gen_NativeOsFileReadOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = NativeOSFileReadOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NativeOSFileReadOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `NativeOsFileReadOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_NativeOsFileWriteAtomicOptions.rs b/crates/web-sys/src/features/gen_NativeOsFileWriteAtomicOptions.rs index 9ba0a6a2c0d..80a1d592eb0 100644 --- a/crates/web-sys/src/features/gen_NativeOsFileWriteAtomicOptions.rs +++ b/crates/web-sys/src/features/gen_NativeOsFileWriteAtomicOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = NativeOSFileWriteAtomicOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NativeOSFileWriteAtomicOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `NativeOsFileWriteAtomicOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Navigator.rs b/crates/web-sys/src/features/gen_Navigator.rs index 110fedbf236..56ee39890dc 100644 --- a/crates/web-sys/src/features/gen_Navigator.rs +++ b/crates/web-sys/src/features/gen_Navigator.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Navigator , typescript_type = "Navigator" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Navigator , typescript_type = "Navigator")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Navigator` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Navigator`, `Permissions`*"] pub fn permissions(this: &Navigator) -> Result; #[cfg(feature = "MimeTypeArray")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Navigator" , js_name = mimeTypes ) ] + # [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)"] @@ -28,21 +28,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `MimeTypeArray`, `Navigator`*"] pub fn mime_types(this: &Navigator) -> Result; #[cfg(feature = "PluginArray")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Navigator" , js_name = plugins ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = doNotTrack ) ] + # [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 ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -58,14 +58,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = activeVRDisplays ) ] + # [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)"] @@ -73,7 +73,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -81,7 +81,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `MediaDevices`, `Navigator`*"] pub fn media_devices(this: &Navigator) -> Result; #[cfg(feature = "ServiceWorkerContainer")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = serviceWorker ) ] + # [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)"] @@ -89,7 +89,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -97,7 +97,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Navigator`, `Presentation`*"] pub fn presentation(this: &Navigator) -> Result, JsValue>; #[cfg(feature = "CredentialsContainer")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = credentials ) ] + # [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)"] @@ -106,7 +106,7 @@ extern "C" { pub fn credentials(this: &Navigator) -> CredentialsContainer; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "Clipboard")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = 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)"] @@ -118,7 +118,7 @@ extern "C" { pub fn clipboard(this: &Navigator) -> Clipboard; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "Gpu")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = 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)"] @@ -130,7 +130,7 @@ extern "C" { pub fn gpu(this: &Navigator) -> Gpu; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "Xr")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = xr ) ] + # [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)"] @@ -140,7 +140,7 @@ extern "C" { #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to 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) -> Xr; - # [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = hardwareConcurrency ) ] + # [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)"] @@ -148,70 +148,70 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Navigator`*"] pub fn hardware_concurrency(this: &Navigator) -> f64; #[cfg(feature = "Geolocation")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Navigator" , js_name = 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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Navigator" , js_name = appCodeName ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = appName ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Navigator" , js_name = platform ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Navigator" , js_name = userAgent ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = product ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = languages ) ] + # [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 ) ] + # [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)"] @@ -219,21 +219,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Navigator" , js_name = getGamepads ) ] + # [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 ) ] + # [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)"] @@ -241,14 +241,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -256,7 +256,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -266,7 +266,7 @@ extern "C" { this: &Navigator, options: &MidiOptions, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "Navigator" , js_name = requestMediaKeySystemAccess ) ] + # [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)"] @@ -278,14 +278,14 @@ extern "C" { supported_configurations: &::wasm_bindgen::JsValue, ) -> ::js_sys::Promise; #[cfg(feature = "VrServiceTest")] - # [ wasm_bindgen ( method , structural , js_class = "Navigator" , js_name = requestVRServiceTest ) ] + # [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 ) ] + # [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)"] @@ -293,7 +293,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Navigator`*"] pub fn send_beacon(this: &Navigator, url: &str) -> Result; #[cfg(feature = "Blob")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Navigator" , js_name = sendBeacon ) ] + # [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)"] @@ -304,7 +304,7 @@ extern "C" { url: &str, data: Option<&Blob>, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Navigator" , js_name = sendBeacon ) ] + # [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)"] @@ -315,7 +315,7 @@ extern "C" { url: &str, data: Option<&::js_sys::Object>, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Navigator" , js_name = sendBeacon ) ] + # [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)"] @@ -327,7 +327,7 @@ extern "C" { data: Option<&mut [u8]>, ) -> Result; #[cfg(feature = "FormData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Navigator" , js_name = sendBeacon ) ] + # [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)"] @@ -339,7 +339,7 @@ extern "C" { data: Option<&FormData>, ) -> Result; #[cfg(feature = "UrlSearchParams")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Navigator" , js_name = sendBeacon ) ] + # [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)"] @@ -350,7 +350,7 @@ extern "C" { url: &str, data: Option<&UrlSearchParams>, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Navigator" , js_name = sendBeacon ) ] + # [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)"] @@ -362,7 +362,7 @@ extern "C" { data: Option<&str>, ) -> Result; #[cfg(feature = "ReadableStream")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Navigator" , js_name = sendBeacon ) ] + # [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)"] @@ -373,21 +373,21 @@ extern "C" { url: &str, data: Option<&ReadableStream>, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "Navigator" , js_name = vibrate ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -399,7 +399,7 @@ extern "C" { url: &str, title: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Navigator" , js_name = registerProtocolHandler ) ] + # [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)"] @@ -411,7 +411,7 @@ extern "C" { url: &str, title: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "Navigator" , js_name = taintEnabled ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_NavigatorAutomationInformation.rs b/crates/web-sys/src/features/gen_NavigatorAutomationInformation.rs index 69fddc2a00c..c1fbff681af 100644 --- a/crates/web-sys/src/features/gen_NavigatorAutomationInformation.rs +++ b/crates/web-sys/src/features/gen_NavigatorAutomationInformation.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_NetworkCommandOptions.rs b/crates/web-sys/src/features/gen_NetworkCommandOptions.rs index d288469aaa4..60dae3fa05d 100644 --- a/crates/web-sys/src/features/gen_NetworkCommandOptions.rs +++ b/crates/web-sys/src/features/gen_NetworkCommandOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = NetworkCommandOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NetworkCommandOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `NetworkCommandOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_NetworkInformation.rs b/crates/web-sys/src/features/gen_NetworkInformation.rs index f0841c2bf86..3669e4c774b 100644 --- a/crates/web-sys/src/features/gen_NetworkInformation.rs +++ b/crates/web-sys/src/features/gen_NetworkInformation.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = NetworkInformation , typescript_type = "NetworkInformation" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = NetworkInformation , typescript_type = "NetworkInformation")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `NetworkInformation` class."] #[doc = ""] @@ -12,21 +12,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_NetworkResultOptions.rs b/crates/web-sys/src/features/gen_NetworkResultOptions.rs index f2124501740..e24206ec4a5 100644 --- a/crates/web-sys/src/features/gen_NetworkResultOptions.rs +++ b/crates/web-sys/src/features/gen_NetworkResultOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = NetworkResultOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NetworkResultOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `NetworkResultOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Node.rs b/crates/web-sys/src/features/gen_Node.rs index 039a6904304..f9acb1f9f8a 100644 --- a/crates/web-sys/src/features/gen_Node.rs +++ b/crates/web-sys/src/features/gen_Node.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = Node , typescript_type = "Node" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Node , typescript_type = "Node")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Node` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , method , getter , js_class = "Node" , js_name = isConnected ) ] + # [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)"] @@ -40,14 +40,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Node" , js_name = parentNode ) ] + # [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)"] @@ -55,7 +55,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Node`*"] pub fn parent_node(this: &Node) -> Option; #[cfg(feature = "Element")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Node" , js_name = parentElement ) ] + # [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)"] @@ -63,105 +63,105 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Element`, `Node`*"] pub fn parent_element(this: &Node) -> Option; #[cfg(feature = "NodeList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Node" , js_name = childNodes ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Node" , js_name = lastChild ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Node" , js_name = previousSibling ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Node" , js_name = nextSibling ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Node" , js_name = nodeValue ) ] + # [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; - # [ wasm_bindgen ( structural , method , setter , js_class = "Node" , js_name = nodeValue ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , setter , js_class = "Node" , js_name = textContent ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Node" , js_name = cloneNode ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Node" , js_name = cloneNode ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "Node" , js_name = compareDocumentPosition ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -169,77 +169,77 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "Node" , js_name = isDefaultNamespace ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "Node" , js_name = lookupPrefix ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "Node" , js_name = normalize ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Node" , js_name = replaceChild ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_NodeFilter.rs b/crates/web-sys/src/features/gen_NodeFilter.rs index f83621aa6e5..12217d651ea 100644 --- a/crates/web-sys/src/features/gen_NodeFilter.rs +++ b/crates/web-sys/src/features/gen_NodeFilter.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = NodeFilter ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NodeFilter)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `NodeFilter` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_NodeIterator.rs b/crates/web-sys/src/features/gen_NodeIterator.rs index 37e06c8b8ea..1e32cc05f1b 100644 --- a/crates/web-sys/src/features/gen_NodeIterator.rs +++ b/crates/web-sys/src/features/gen_NodeIterator.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = NodeIterator , typescript_type = "NodeIterator" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NodeIterator , typescript_type = "NodeIterator")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `NodeIterator` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,21 +20,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "NodeIterator" , js_name = pointerBeforeReferenceNode ) ] + # [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 ) ] + # [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)"] @@ -42,14 +42,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "NodeIterator" , js_name = detach ) ] + # [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)"] @@ -57,7 +57,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -65,7 +65,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Node`, `NodeIterator`*"] pub fn next_node(this: &NodeIterator) -> Result, JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "NodeIterator" , js_name = previousNode ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_NodeList.rs b/crates/web-sys/src/features/gen_NodeList.rs index c203107dba5..b3bf91ef515 100644 --- a/crates/web-sys/src/features/gen_NodeList.rs +++ b/crates/web-sys/src/features/gen_NodeList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = NodeList , typescript_type = "NodeList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NodeList , typescript_type = "NodeList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `NodeList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Notification.rs b/crates/web-sys/src/features/gen_Notification.rs index 709cd20f60e..2d3c7717d66 100644 --- a/crates/web-sys/src/features/gen_Notification.rs +++ b/crates/web-sys/src/features/gen_Notification.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = Notification , typescript_type = "Notification" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Notification , typescript_type = "Notification")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Notification` class."] #[doc = ""] @@ -12,70 +12,70 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -83,49 +83,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Notification" , js_name = body ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Notification" , js_name = tag ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Notification" , js_name = icon ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Notification" , js_name = requireInteraction ) ] + # [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 ) ] + # [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)"] @@ -150,14 +150,14 @@ extern "C" { title: &str, options: &NotificationOptions, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "Notification" , js_name = close ) ] + # [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 ) ] + # [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)"] @@ -165,21 +165,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_NotificationBehavior.rs b/crates/web-sys/src/features/gen_NotificationBehavior.rs index 5a157b83086..006d0b88f75 100644 --- a/crates/web-sys/src/features/gen_NotificationBehavior.rs +++ b/crates/web-sys/src/features/gen_NotificationBehavior.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = NotificationBehavior ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NotificationBehavior)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `NotificationBehavior` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_NotificationEvent.rs b/crates/web-sys/src/features/gen_NotificationEvent.rs index 4591b62b716..d3c962d87e4 100644 --- a/crates/web-sys/src/features/gen_NotificationEvent.rs +++ b/crates/web-sys/src/features/gen_NotificationEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_NotificationEventInit.rs b/crates/web-sys/src/features/gen_NotificationEventInit.rs index 1ec1e395a4b..270f9fd52bf 100644 --- a/crates/web-sys/src/features/gen_NotificationEventInit.rs +++ b/crates/web-sys/src/features/gen_NotificationEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = NotificationEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NotificationEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `NotificationEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_NotificationOptions.rs b/crates/web-sys/src/features/gen_NotificationOptions.rs index f2cc2de946a..423ec485341 100644 --- a/crates/web-sys/src/features/gen_NotificationOptions.rs +++ b/crates/web-sys/src/features/gen_NotificationOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = NotificationOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NotificationOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `NotificationOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ObserverCallback.rs b/crates/web-sys/src/features/gen_ObserverCallback.rs index 5b34cd2727f..181ea1251a8 100644 --- a/crates/web-sys/src/features/gen_ObserverCallback.rs +++ b/crates/web-sys/src/features/gen_ObserverCallback.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ObserverCallback ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ObserverCallback)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ObserverCallback` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_OesElementIndexUint.rs b/crates/web-sys/src/features/gen_OesElementIndexUint.rs index d983cdd6801..aebb731715a 100644 --- a/crates/web-sys/src/features/gen_OesElementIndexUint.rs +++ b/crates/web-sys/src/features/gen_OesElementIndexUint.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_OesStandardDerivatives.rs b/crates/web-sys/src/features/gen_OesStandardDerivatives.rs index ada63668f34..8b1324e149e 100644 --- a/crates/web-sys/src/features/gen_OesStandardDerivatives.rs +++ b/crates/web-sys/src/features/gen_OesStandardDerivatives.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_OesTextureFloat.rs b/crates/web-sys/src/features/gen_OesTextureFloat.rs index 9ab5441967b..d30aa42d4b2 100644 --- a/crates/web-sys/src/features/gen_OesTextureFloat.rs +++ b/crates/web-sys/src/features/gen_OesTextureFloat.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_OesTextureFloatLinear.rs b/crates/web-sys/src/features/gen_OesTextureFloatLinear.rs index c1f3a51921e..61763001ecc 100644 --- a/crates/web-sys/src/features/gen_OesTextureFloatLinear.rs +++ b/crates/web-sys/src/features/gen_OesTextureFloatLinear.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_OesTextureHalfFloat.rs b/crates/web-sys/src/features/gen_OesTextureHalfFloat.rs index 592916d35fd..ae24073a45c 100644 --- a/crates/web-sys/src/features/gen_OesTextureHalfFloat.rs +++ b/crates/web-sys/src/features/gen_OesTextureHalfFloat.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_OesTextureHalfFloatLinear.rs b/crates/web-sys/src/features/gen_OesTextureHalfFloatLinear.rs index 94b45e7b764..b96e67ef260 100644 --- a/crates/web-sys/src/features/gen_OesTextureHalfFloatLinear.rs +++ b/crates/web-sys/src/features/gen_OesTextureHalfFloatLinear.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_OesVertexArrayObject.rs b/crates/web-sys/src/features/gen_OesVertexArrayObject.rs index ebcea6a351b..0aec22fef97 100644 --- a/crates/web-sys/src/features/gen_OesVertexArrayObject.rs +++ b/crates/web-sys/src/features/gen_OesVertexArrayObject.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -23,7 +23,7 @@ extern "C" { array_object: Option<&WebGlVertexArrayObject>, ); #[cfg(feature = "WebGlVertexArrayObject")] - # [ wasm_bindgen ( method , structural , js_class = "OES_vertex_array_object" , js_name = createVertexArrayOES ) ] + # [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)"] @@ -31,7 +31,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `OesVertexArrayObject`, `WebGlVertexArrayObject`*"] pub fn create_vertex_array_oes(this: &OesVertexArrayObject) -> Option; #[cfg(feature = "WebGlVertexArrayObject")] - # [ wasm_bindgen ( method , structural , js_class = "OES_vertex_array_object" , js_name = deleteVertexArrayOES ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { array_object: Option<&WebGlVertexArrayObject>, ); #[cfg(feature = "WebGlVertexArrayObject")] - # [ wasm_bindgen ( method , structural , js_class = "OES_vertex_array_object" , js_name = isVertexArrayOES ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_OfflineAudioCompletionEvent.rs b/crates/web-sys/src/features/gen_OfflineAudioCompletionEvent.rs index 4cec2ef865d..b4a36f31280 100644 --- a/crates/web-sys/src/features/gen_OfflineAudioCompletionEvent.rs +++ b/crates/web-sys/src/features/gen_OfflineAudioCompletionEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = OfflineAudioCompletionEvent , typescript_type = "OfflineAudioCompletionEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = OfflineAudioCompletionEvent , typescript_type = "OfflineAudioCompletionEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `OfflineAudioCompletionEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_OfflineAudioCompletionEventInit.rs b/crates/web-sys/src/features/gen_OfflineAudioCompletionEventInit.rs index 5cd9c624d4f..e3d202129bb 100644 --- a/crates/web-sys/src/features/gen_OfflineAudioCompletionEventInit.rs +++ b/crates/web-sys/src/features/gen_OfflineAudioCompletionEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = OfflineAudioCompletionEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = OfflineAudioCompletionEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `OfflineAudioCompletionEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_OfflineAudioContext.rs b/crates/web-sys/src/features/gen_OfflineAudioContext.rs index 730a19819fc..ecaba2102c3 100644 --- a/crates/web-sys/src/features/gen_OfflineAudioContext.rs +++ b/crates/web-sys/src/features/gen_OfflineAudioContext.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -33,21 +33,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -55,7 +55,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -63,7 +63,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -71,21 +71,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "OfflineAudioContext" , js_name = onstatechange ) ] + # [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 ) ] + # [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)"] @@ -113,7 +113,7 @@ extern "C" { length: u32, sample_rate: f32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = startRendering ) ] + # [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)"] @@ -121,7 +121,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -129,7 +129,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `AnalyserNode`, `OfflineAudioContext`*"] pub fn create_analyser(this: &OfflineAudioContext) -> Result; #[cfg(feature = "BiquadFilterNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createBiquadFilter ) ] + # [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)"] @@ -137,7 +137,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `BiquadFilterNode`, `OfflineAudioContext`*"] pub fn create_biquad_filter(this: &OfflineAudioContext) -> Result; #[cfg(feature = "AudioBuffer")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createBuffer ) ] + # [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)"] @@ -150,7 +150,7 @@ extern "C" { sample_rate: f32, ) -> Result; #[cfg(feature = "AudioBufferSourceNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createBufferSource ) ] + # [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)"] @@ -160,7 +160,7 @@ extern "C" { this: &OfflineAudioContext, ) -> Result; #[cfg(feature = "ChannelMergerNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createChannelMerger ) ] + # [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)"] @@ -168,7 +168,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `ChannelMergerNode`, `OfflineAudioContext`*"] pub fn create_channel_merger(this: &OfflineAudioContext) -> Result; #[cfg(feature = "ChannelMergerNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createChannelMerger ) ] + # [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)"] @@ -179,7 +179,7 @@ extern "C" { number_of_inputs: u32, ) -> Result; #[cfg(feature = "ChannelSplitterNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createChannelSplitter ) ] + # [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)"] @@ -189,7 +189,7 @@ extern "C" { this: &OfflineAudioContext, ) -> Result; #[cfg(feature = "ChannelSplitterNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createChannelSplitter ) ] + # [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)"] @@ -200,7 +200,7 @@ extern "C" { number_of_outputs: u32, ) -> Result; #[cfg(feature = "ConstantSourceNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createConstantSource ) ] + # [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)"] @@ -210,7 +210,7 @@ extern "C" { this: &OfflineAudioContext, ) -> Result; #[cfg(feature = "ConvolverNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createConvolver ) ] + # [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)"] @@ -218,7 +218,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `ConvolverNode`, `OfflineAudioContext`*"] pub fn create_convolver(this: &OfflineAudioContext) -> Result; #[cfg(feature = "DelayNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createDelay ) ] + # [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)"] @@ -226,7 +226,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `DelayNode`, `OfflineAudioContext`*"] pub fn create_delay(this: &OfflineAudioContext) -> Result; #[cfg(feature = "DelayNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createDelay ) ] + # [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)"] @@ -237,7 +237,7 @@ extern "C" { max_delay_time: f64, ) -> Result; #[cfg(feature = "DynamicsCompressorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createDynamicsCompressor ) ] + # [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)"] @@ -247,7 +247,7 @@ extern "C" { this: &OfflineAudioContext, ) -> Result; #[cfg(feature = "GainNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createGain ) ] + # [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)"] @@ -255,7 +255,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `GainNode`, `OfflineAudioContext`*"] pub fn create_gain(this: &OfflineAudioContext) -> Result; #[cfg(feature = "IirFilterNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createIIRFilter ) ] + # [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)"] @@ -267,7 +267,7 @@ extern "C" { feedback: &::wasm_bindgen::JsValue, ) -> Result; #[cfg(feature = "OscillatorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createOscillator ) ] + # [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)"] @@ -275,7 +275,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `OscillatorNode`*"] pub fn create_oscillator(this: &OfflineAudioContext) -> Result; #[cfg(feature = "PannerNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createPanner ) ] + # [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)"] @@ -283,7 +283,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `PannerNode`*"] pub fn create_panner(this: &OfflineAudioContext) -> Result; #[cfg(feature = "PeriodicWave")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createPeriodicWave ) ] + # [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)"] @@ -295,7 +295,7 @@ extern "C" { imag: &mut [f32], ) -> Result; #[cfg(all(feature = "PeriodicWave", feature = "PeriodicWaveConstraints",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createPeriodicWave ) ] + # [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)"] @@ -308,7 +308,7 @@ extern "C" { constraints: &PeriodicWaveConstraints, ) -> Result; #[cfg(feature = "ScriptProcessorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createScriptProcessor ) ] + # [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)"] @@ -318,7 +318,7 @@ extern "C" { this: &OfflineAudioContext, ) -> Result; #[cfg(feature = "ScriptProcessorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createScriptProcessor ) ] + # [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)"] @@ -329,7 +329,7 @@ extern "C" { buffer_size: u32, ) -> Result; #[cfg(feature = "ScriptProcessorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createScriptProcessor ) ] + # [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)"] @@ -341,7 +341,7 @@ extern "C" { number_of_input_channels: u32, ) -> Result; #[cfg(feature = "ScriptProcessorNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createScriptProcessor ) ] + # [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)"] @@ -354,7 +354,7 @@ extern "C" { number_of_output_channels: u32, ) -> Result; #[cfg(feature = "StereoPannerNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createStereoPanner ) ] + # [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)"] @@ -362,14 +362,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `OfflineAudioContext`, `StereoPannerNode`*"] pub fn create_stereo_panner(this: &OfflineAudioContext) -> Result; #[cfg(feature = "WaveShaperNode")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = createWaveShaper ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = decodeAudioData ) ] + # [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)"] @@ -379,7 +379,7 @@ extern "C" { this: &OfflineAudioContext, audio_data: &::js_sys::ArrayBuffer, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "OfflineAudioContext" , js_name = decodeAudioData ) ] + # [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)"] @@ -390,7 +390,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -402,7 +402,7 @@ extern "C" { 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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_OfflineAudioContextOptions.rs b/crates/web-sys/src/features/gen_OfflineAudioContextOptions.rs index 81ca0e74d83..ab1cf57dfbf 100644 --- a/crates/web-sys/src/features/gen_OfflineAudioContextOptions.rs +++ b/crates/web-sys/src/features/gen_OfflineAudioContextOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = OfflineAudioContextOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = OfflineAudioContextOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `OfflineAudioContextOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_OfflineResourceList.rs b/crates/web-sys/src/features/gen_OfflineResourceList.rs index 3f018c81036..e3ccd3732fe 100644 --- a/crates/web-sys/src/features/gen_OfflineResourceList.rs +++ b/crates/web-sys/src/features/gen_OfflineResourceList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = OfflineResourceList , typescript_type = "OfflineResourceList" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = OfflineResourceList , typescript_type = "OfflineResourceList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `OfflineResourceList` class."] #[doc = ""] @@ -11,133 +11,133 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "OfflineResourceList" , js_name = onchecking ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_OffscreenCanvas.rs b/crates/web-sys/src/features/gen_OffscreenCanvas.rs index 3ffd8113dd9..bcf85992191 100644 --- a/crates/web-sys/src/features/gen_OffscreenCanvas.rs +++ b/crates/web-sys/src/features/gen_OffscreenCanvas.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = OffscreenCanvas , typescript_type = "OffscreenCanvas" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = OffscreenCanvas , typescript_type = "OffscreenCanvas")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `OffscreenCanvas` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -46,7 +46,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"] pub fn new(width: u32, height: u32) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "OffscreenCanvas" , js_name = getContext ) ] + # [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)"] @@ -56,7 +56,7 @@ extern "C" { this: &OffscreenCanvas, context_id: &str, ) -> Result, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "OffscreenCanvas" , js_name = getContext ) ] + # [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)"] @@ -67,14 +67,14 @@ extern "C" { context_id: &str, context_options: &::wasm_bindgen::JsValue, ) -> Result, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "OffscreenCanvas" , js_name = toBlob ) ] + # [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 ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { this: &OffscreenCanvas, type_: &str, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "OffscreenCanvas" , js_name = toBlob ) ] + # [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)"] @@ -96,7 +96,7 @@ extern "C" { encoder_options: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "OffscreenCanvas" , js_name = transferToImageBitmap ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_OpenWindowEventDetail.rs b/crates/web-sys/src/features/gen_OpenWindowEventDetail.rs index 1936bacf2ac..43e380dd855 100644 --- a/crates/web-sys/src/features/gen_OpenWindowEventDetail.rs +++ b/crates/web-sys/src/features/gen_OpenWindowEventDetail.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = OpenWindowEventDetail ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = OpenWindowEventDetail)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `OpenWindowEventDetail` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_OptionalEffectTiming.rs b/crates/web-sys/src/features/gen_OptionalEffectTiming.rs index 18810653a40..6046a353066 100644 --- a/crates/web-sys/src/features/gen_OptionalEffectTiming.rs +++ b/crates/web-sys/src/features/gen_OptionalEffectTiming.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = OptionalEffectTiming ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = OptionalEffectTiming)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `OptionalEffectTiming` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_OscillatorNode.rs b/crates/web-sys/src/features/gen_OscillatorNode.rs index e4e78bbda4c..b72525ea4a1 100644 --- a/crates/web-sys/src/features/gen_OscillatorNode.rs +++ b/crates/web-sys/src/features/gen_OscillatorNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,21 +36,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -77,35 +77,35 @@ extern "C" { options: &OscillatorOptions, ) -> Result; #[cfg(feature = "PeriodicWave")] - # [ wasm_bindgen ( method , structural , js_class = "OscillatorNode" , js_name = setPeriodicWave ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_OscillatorOptions.rs b/crates/web-sys/src/features/gen_OscillatorOptions.rs index c13948a731a..453d30a88ca 100644 --- a/crates/web-sys/src/features/gen_OscillatorOptions.rs +++ b/crates/web-sys/src/features/gen_OscillatorOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = OscillatorOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = OscillatorOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `OscillatorOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PageTransitionEvent.rs b/crates/web-sys/src/features/gen_PageTransitionEvent.rs index ddebe05a249..2fed4a4d02a 100644 --- a/crates/web-sys/src/features/gen_PageTransitionEvent.rs +++ b/crates/web-sys/src/features/gen_PageTransitionEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = PageTransitionEvent , typescript_type = "PageTransitionEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PageTransitionEvent , typescript_type = "PageTransitionEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PageTransitionEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PageTransitionEventInit.rs b/crates/web-sys/src/features/gen_PageTransitionEventInit.rs index dbc469f2c13..061da222b54 100644 --- a/crates/web-sys/src/features/gen_PageTransitionEventInit.rs +++ b/crates/web-sys/src/features/gen_PageTransitionEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PageTransitionEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PageTransitionEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PageTransitionEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PaintRequest.rs b/crates/web-sys/src/features/gen_PaintRequest.rs index 9d808979a15..393bfe116fa 100644 --- a/crates/web-sys/src/features/gen_PaintRequest.rs +++ b/crates/web-sys/src/features/gen_PaintRequest.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PaintRequest , typescript_type = "PaintRequest" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaintRequest , typescript_type = "PaintRequest")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PaintRequest` class."] #[doc = ""] @@ -12,14 +12,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PaintRequestList.rs b/crates/web-sys/src/features/gen_PaintRequestList.rs index 2d81bcdcfed..25bf3d56c11 100644 --- a/crates/web-sys/src/features/gen_PaintRequestList.rs +++ b/crates/web-sys/src/features/gen_PaintRequestList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PaintRequestList , typescript_type = "PaintRequestList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaintRequestList , typescript_type = "PaintRequestList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PaintRequestList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PaintWorkletGlobalScope.rs b/crates/web-sys/src/features/gen_PaintWorkletGlobalScope.rs index ab3a555322b..d022a7e2cb0 100644 --- a/crates/web-sys/src/features/gen_PaintWorkletGlobalScope.rs +++ b/crates/web-sys/src/features/gen_PaintWorkletGlobalScope.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = WorkletGlobalScope , extends = :: js_sys :: Object , js_name = PaintWorkletGlobalScope , typescript_type = "PaintWorkletGlobalScope" ) ] + # [wasm_bindgen (extends = WorkletGlobalScope , extends = :: js_sys :: Object , js_name = PaintWorkletGlobalScope , typescript_type = "PaintWorkletGlobalScope")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PaintWorkletGlobalScope` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PannerNode.rs b/crates/web-sys/src/features/gen_PannerNode.rs index a1bb7f212e5..47787d29026 100644 --- a/crates/web-sys/src/features/gen_PannerNode.rs +++ b/crates/web-sys/src/features/gen_PannerNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -84,91 +84,91 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -194,21 +194,21 @@ extern "C" { context: &BaseAudioContext, options: &PannerOptions, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "PannerNode" , js_name = setOrientation ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PannerOptions.rs b/crates/web-sys/src/features/gen_PannerOptions.rs index 6c3a41d992d..61725898039 100644 --- a/crates/web-sys/src/features/gen_PannerOptions.rs +++ b/crates/web-sys/src/features/gen_PannerOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PannerOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PannerOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PannerOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Path2d.rs b/crates/web-sys/src/features/gen_Path2d.rs index e2e799062ae..7cdb3e8d95a 100644 --- a/crates/web-sys/src/features/gen_Path2d.rs +++ b/crates/web-sys/src/features/gen_Path2d.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Path2D , typescript_type = "Path2D" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Path2D , typescript_type = "Path2D")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Path2d` class."] #[doc = ""] @@ -32,7 +32,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `Path2d`*"] pub fn new_with_path_string(path_string: &str) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "Path2D" , js_name = addPath ) ] + # [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)"] @@ -40,14 +40,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -61,7 +61,7 @@ extern "C" { start_angle: f64, end_angle: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Path2D" , js_name = arc ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { end_angle: f64, anticlockwise: bool, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Path2D" , js_name = arcTo ) ] + # [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)"] @@ -90,7 +90,7 @@ extern "C" { y2: f64, radius: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "Path2D" , js_name = bezierCurveTo ) ] + # [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)"] @@ -105,14 +105,14 @@ extern "C" { x: f64, y: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "Path2D" , js_name = closePath ) ] + # [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 ) ] + # [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)"] @@ -128,7 +128,7 @@ extern "C" { start_angle: f64, end_angle: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Path2D" , js_name = ellipse ) ] + # [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)"] @@ -145,28 +145,28 @@ extern "C" { end_angle: f64, anticlockwise: bool, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "Path2D" , js_name = lineTo ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PaymentAddress.rs b/crates/web-sys/src/features/gen_PaymentAddress.rs index 60fc9849e0c..7402ca5be9b 100644 --- a/crates/web-sys/src/features/gen_PaymentAddress.rs +++ b/crates/web-sys/src/features/gen_PaymentAddress.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PaymentAddress , typescript_type = "PaymentAddress" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaymentAddress , typescript_type = "PaymentAddress")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PaymentAddress` class."] #[doc = ""] @@ -11,84 +11,84 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PaymentMethodChangeEvent.rs b/crates/web-sys/src/features/gen_PaymentMethodChangeEvent.rs index 83f50c74435..68d5868c894 100644 --- a/crates/web-sys/src/features/gen_PaymentMethodChangeEvent.rs +++ b/crates/web-sys/src/features/gen_PaymentMethodChangeEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PaymentMethodChangeEventInit.rs b/crates/web-sys/src/features/gen_PaymentMethodChangeEventInit.rs index 0ca962abae8..0aa07478f16 100644 --- a/crates/web-sys/src/features/gen_PaymentMethodChangeEventInit.rs +++ b/crates/web-sys/src/features/gen_PaymentMethodChangeEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PaymentMethodChangeEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaymentMethodChangeEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PaymentMethodChangeEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PaymentRequestUpdateEvent.rs b/crates/web-sys/src/features/gen_PaymentRequestUpdateEvent.rs index c4970cb9e75..fa60547c348 100644 --- a/crates/web-sys/src/features/gen_PaymentRequestUpdateEvent.rs +++ b/crates/web-sys/src/features/gen_PaymentRequestUpdateEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = PaymentRequestUpdateEvent , typescript_type = "PaymentRequestUpdateEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PaymentRequestUpdateEvent , typescript_type = "PaymentRequestUpdateEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PaymentRequestUpdateEvent` class."] #[doc = ""] @@ -29,7 +29,7 @@ extern "C" { type_: &str, event_init_dict: &PaymentRequestUpdateEventInit, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "PaymentRequestUpdateEvent" , js_name = updateWith ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PaymentRequestUpdateEventInit.rs b/crates/web-sys/src/features/gen_PaymentRequestUpdateEventInit.rs index c483fef15d4..8c3d2bd5735 100644 --- a/crates/web-sys/src/features/gen_PaymentRequestUpdateEventInit.rs +++ b/crates/web-sys/src/features/gen_PaymentRequestUpdateEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PaymentRequestUpdateEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaymentRequestUpdateEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PaymentRequestUpdateEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PaymentResponse.rs b/crates/web-sys/src/features/gen_PaymentResponse.rs index e2cdadadb05..b9007db1c07 100644 --- a/crates/web-sys/src/features/gen_PaymentResponse.rs +++ b/crates/web-sys/src/features/gen_PaymentResponse.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PaymentResponse , typescript_type = "PaymentResponse" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaymentResponse , typescript_type = "PaymentResponse")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PaymentResponse` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -33,42 +33,42 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "PaymentResponse" , js_name = shippingOption ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "PaymentResponse" , js_name = payerName ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "PaymentResponse" , js_name = payerEmail ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "PaymentResponse" , js_name = payerPhone ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "PaymentResponse" , js_name = complete ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -86,7 +86,7 @@ extern "C" { this: &PaymentResponse, result: PaymentComplete, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "PaymentResponse" , js_name = toJSON ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Pbkdf2Params.rs b/crates/web-sys/src/features/gen_Pbkdf2Params.rs index 51725f29f8f..4bf39c68389 100644 --- a/crates/web-sys/src/features/gen_Pbkdf2Params.rs +++ b/crates/web-sys/src/features/gen_Pbkdf2Params.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Pbkdf2Params ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Pbkdf2Params)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Pbkdf2Params` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Performance.rs b/crates/web-sys/src/features/gen_Performance.rs index 263e35b5d54..0e4212900f6 100644 --- a/crates/web-sys/src/features/gen_Performance.rs +++ b/crates/web-sys/src/features/gen_Performance.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = Performance , typescript_type = "Performance" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Performance , typescript_type = "Performance")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Performance` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,77 +27,77 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -108,28 +108,28 @@ extern "C" { name: &str, entry_type: &str, ) -> ::js_sys::Array; - # [ wasm_bindgen ( method , structural , js_class = "Performance" , js_name = getEntriesByType ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -140,7 +140,7 @@ extern "C" { measure_name: &str, start_mark: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Performance" , js_name = measure ) ] + # [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)"] @@ -152,21 +152,21 @@ extern "C" { start_mark: &str, end_mark: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "Performance" , js_name = now ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PerformanceEntry.rs b/crates/web-sys/src/features/gen_PerformanceEntry.rs index 5991c897a7c..41e22c04f5e 100644 --- a/crates/web-sys/src/features/gen_PerformanceEntry.rs +++ b/crates/web-sys/src/features/gen_PerformanceEntry.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PerformanceEntry , typescript_type = "PerformanceEntry" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceEntry , typescript_type = "PerformanceEntry")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PerformanceEntry` class."] #[doc = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PerformanceEntryEventInit.rs b/crates/web-sys/src/features/gen_PerformanceEntryEventInit.rs index f0369fb4c4e..48137eb9aa0 100644 --- a/crates/web-sys/src/features/gen_PerformanceEntryEventInit.rs +++ b/crates/web-sys/src/features/gen_PerformanceEntryEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PerformanceEntryEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceEntryEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PerformanceEntryEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PerformanceEntryFilterOptions.rs b/crates/web-sys/src/features/gen_PerformanceEntryFilterOptions.rs index f257940749c..9a7fc294c5c 100644 --- a/crates/web-sys/src/features/gen_PerformanceEntryFilterOptions.rs +++ b/crates/web-sys/src/features/gen_PerformanceEntryFilterOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PerformanceEntryFilterOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceEntryFilterOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PerformanceEntryFilterOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PerformanceMark.rs b/crates/web-sys/src/features/gen_PerformanceMark.rs index f05282fda11..b74bed7fd3b 100644 --- a/crates/web-sys/src/features/gen_PerformanceMark.rs +++ b/crates/web-sys/src/features/gen_PerformanceMark.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = PerformanceEntry , extends = :: js_sys :: Object , js_name = PerformanceMark , typescript_type = "PerformanceMark" ) ] + # [wasm_bindgen (extends = PerformanceEntry , extends = :: js_sys :: Object , js_name = PerformanceMark , typescript_type = "PerformanceMark")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PerformanceMark` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PerformanceMeasure.rs b/crates/web-sys/src/features/gen_PerformanceMeasure.rs index 63a04bac9f1..e7981e72043 100644 --- a/crates/web-sys/src/features/gen_PerformanceMeasure.rs +++ b/crates/web-sys/src/features/gen_PerformanceMeasure.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = PerformanceEntry , extends = :: js_sys :: Object , js_name = PerformanceMeasure , typescript_type = "PerformanceMeasure" ) ] + # [wasm_bindgen (extends = PerformanceEntry , extends = :: js_sys :: Object , js_name = PerformanceMeasure , typescript_type = "PerformanceMeasure")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PerformanceMeasure` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PerformanceNavigation.rs b/crates/web-sys/src/features/gen_PerformanceNavigation.rs index c93cd990ec3..339e622276a 100644 --- a/crates/web-sys/src/features/gen_PerformanceNavigation.rs +++ b/crates/web-sys/src/features/gen_PerformanceNavigation.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PerformanceNavigation , typescript_type = "PerformanceNavigation" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceNavigation , typescript_type = "PerformanceNavigation")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PerformanceNavigation` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PerformanceNavigationTiming.rs b/crates/web-sys/src/features/gen_PerformanceNavigationTiming.rs index 172e6cb4fb3..2193b4c822e 100644 --- a/crates/web-sys/src/features/gen_PerformanceNavigationTiming.rs +++ b/crates/web-sys/src/features/gen_PerformanceNavigationTiming.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -68,21 +68,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PerformanceObserver.rs b/crates/web-sys/src/features/gen_PerformanceObserver.rs index dc8633abc24..1146a121ac9 100644 --- a/crates/web-sys/src/features/gen_PerformanceObserver.rs +++ b/crates/web-sys/src/features/gen_PerformanceObserver.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PerformanceObserver , typescript_type = "PerformanceObserver" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceObserver , typescript_type = "PerformanceObserver")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PerformanceObserver` class."] #[doc = ""] @@ -18,7 +18,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `PerformanceObserver`*"] pub fn new(callback: &::js_sys::Function) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "PerformanceObserver" , js_name = disconnect ) ] + # [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)"] @@ -26,14 +26,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PerformanceObserverEntryList.rs b/crates/web-sys/src/features/gen_PerformanceObserverEntryList.rs index 6d35040d540..29b5dd6da0f 100644 --- a/crates/web-sys/src/features/gen_PerformanceObserverEntryList.rs +++ b/crates/web-sys/src/features/gen_PerformanceObserverEntryList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PerformanceObserverEntryList , typescript_type = "PerformanceObserverEntryList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceObserverEntryList , typescript_type = "PerformanceObserverEntryList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PerformanceObserverEntryList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -29,14 +29,14 @@ extern "C" { this: &PerformanceObserverEntryList, filter: &PerformanceEntryFilterOptions, ) -> ::js_sys::Array; - # [ wasm_bindgen ( method , structural , js_class = "PerformanceObserverEntryList" , js_name = getEntriesByName ) ] + # [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 ) ] + # [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)"] @@ -47,7 +47,7 @@ extern "C" { name: &str, entry_type: &str, ) -> ::js_sys::Array; - # [ wasm_bindgen ( method , structural , js_class = "PerformanceObserverEntryList" , js_name = getEntriesByType ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PerformanceObserverInit.rs b/crates/web-sys/src/features/gen_PerformanceObserverInit.rs index 1895ba32101..cdfef4c53e3 100644 --- a/crates/web-sys/src/features/gen_PerformanceObserverInit.rs +++ b/crates/web-sys/src/features/gen_PerformanceObserverInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PerformanceObserverInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceObserverInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PerformanceObserverInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PerformanceResourceTiming.rs b/crates/web-sys/src/features/gen_PerformanceResourceTiming.rs index cb548f9c49a..4aa5d2e721d 100644 --- a/crates/web-sys/src/features/gen_PerformanceResourceTiming.rs +++ b/crates/web-sys/src/features/gen_PerformanceResourceTiming.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = PerformanceEntry , extends = :: js_sys :: Object , js_name = PerformanceResourceTiming , typescript_type = "PerformanceResourceTiming" ) ] + # [wasm_bindgen (extends = PerformanceEntry , extends = :: js_sys :: Object , js_name = PerformanceResourceTiming , typescript_type = "PerformanceResourceTiming")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PerformanceResourceTiming` class."] #[doc = ""] @@ -11,133 +11,133 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PerformanceServerTiming.rs b/crates/web-sys/src/features/gen_PerformanceServerTiming.rs index b8eeb6c9dc9..2b77307e4ed 100644 --- a/crates/web-sys/src/features/gen_PerformanceServerTiming.rs +++ b/crates/web-sys/src/features/gen_PerformanceServerTiming.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PerformanceServerTiming , typescript_type = "PerformanceServerTiming" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceServerTiming , typescript_type = "PerformanceServerTiming")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PerformanceServerTiming` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PerformanceTiming.rs b/crates/web-sys/src/features/gen_PerformanceTiming.rs index ef42ca1ccd2..f1fc6e29b5a 100644 --- a/crates/web-sys/src/features/gen_PerformanceTiming.rs +++ b/crates/web-sys/src/features/gen_PerformanceTiming.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PerformanceTiming , typescript_type = "PerformanceTiming" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceTiming , typescript_type = "PerformanceTiming")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PerformanceTiming` class."] #[doc = ""] @@ -11,168 +11,168 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PeriodicWave.rs b/crates/web-sys/src/features/gen_PeriodicWave.rs index 4af7791349c..a9ffc385582 100644 --- a/crates/web-sys/src/features/gen_PeriodicWave.rs +++ b/crates/web-sys/src/features/gen_PeriodicWave.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PeriodicWave , typescript_type = "PeriodicWave" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PeriodicWave , typescript_type = "PeriodicWave")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PeriodicWave` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PeriodicWaveConstraints.rs b/crates/web-sys/src/features/gen_PeriodicWaveConstraints.rs index 142626871f1..1d473a5bed8 100644 --- a/crates/web-sys/src/features/gen_PeriodicWaveConstraints.rs +++ b/crates/web-sys/src/features/gen_PeriodicWaveConstraints.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PeriodicWaveConstraints ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PeriodicWaveConstraints)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PeriodicWaveConstraints` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PeriodicWaveOptions.rs b/crates/web-sys/src/features/gen_PeriodicWaveOptions.rs index 9851d18865b..cce3d6fcde6 100644 --- a/crates/web-sys/src/features/gen_PeriodicWaveOptions.rs +++ b/crates/web-sys/src/features/gen_PeriodicWaveOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PeriodicWaveOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PeriodicWaveOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PeriodicWaveOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PermissionDescriptor.rs b/crates/web-sys/src/features/gen_PermissionDescriptor.rs index cdfcee1889e..4662732dfc8 100644 --- a/crates/web-sys/src/features/gen_PermissionDescriptor.rs +++ b/crates/web-sys/src/features/gen_PermissionDescriptor.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PermissionDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PermissionDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PermissionDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PermissionStatus.rs b/crates/web-sys/src/features/gen_PermissionStatus.rs index 00c2f4522fc..7b2cacd3487 100644 --- a/crates/web-sys/src/features/gen_PermissionStatus.rs +++ b/crates/web-sys/src/features/gen_PermissionStatus.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = PermissionStatus , typescript_type = "PermissionStatus" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = PermissionStatus , typescript_type = "PermissionStatus")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PermissionStatus` class."] #[doc = ""] @@ -12,21 +12,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Permissions.rs b/crates/web-sys/src/features/gen_Permissions.rs index 70783902162..4d57a8dc10a 100644 --- a/crates/web-sys/src/features/gen_Permissions.rs +++ b/crates/web-sys/src/features/gen_Permissions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Permissions , typescript_type = "Permissions" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Permissions , typescript_type = "Permissions")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Permissions` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -21,7 +21,7 @@ extern "C" { this: &Permissions, permission: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Permissions" , js_name = revoke ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Plugin.rs b/crates/web-sys/src/features/gen_Plugin.rs index f60f0937ad7..5ca731a9057 100644 --- a/crates/web-sys/src/features/gen_Plugin.rs +++ b/crates/web-sys/src/features/gen_Plugin.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Plugin , typescript_type = "Plugin" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Plugin , typescript_type = "Plugin")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Plugin` class."] #[doc = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -47,7 +47,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -55,7 +55,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `MimeType`, `Plugin`*"] pub fn item(this: &Plugin, index: u32) -> Option; #[cfg(feature = "MimeType")] - # [ wasm_bindgen ( method , structural , js_class = "Plugin" , js_name = namedItem ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PluginArray.rs b/crates/web-sys/src/features/gen_PluginArray.rs index 37aa8d40d71..e31d5458ed0 100644 --- a/crates/web-sys/src/features/gen_PluginArray.rs +++ b/crates/web-sys/src/features/gen_PluginArray.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PluginArray , typescript_type = "PluginArray" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PluginArray , typescript_type = "PluginArray")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PluginArray` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,21 +27,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Plugin`, `PluginArray`*"] pub fn item(this: &PluginArray, index: u32) -> Option; #[cfg(feature = "Plugin")] - # [ wasm_bindgen ( method , structural , js_class = "PluginArray" , js_name = namedItem ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "PluginArray" , js_name = refresh ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PluginCrashedEventInit.rs b/crates/web-sys/src/features/gen_PluginCrashedEventInit.rs index 252cf7da806..6789cac7875 100644 --- a/crates/web-sys/src/features/gen_PluginCrashedEventInit.rs +++ b/crates/web-sys/src/features/gen_PluginCrashedEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PluginCrashedEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PluginCrashedEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PluginCrashedEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PointerEvent.rs b/crates/web-sys/src/features/gen_PointerEvent.rs index 41643e80893..7bdd3c987c0 100644 --- a/crates/web-sys/src/features/gen_PointerEvent.rs +++ b/crates/web-sys/src/features/gen_PointerEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,70 +11,70 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -99,7 +99,7 @@ extern "C" { type_: &str, event_init_dict: &PointerEventInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "PointerEvent" , js_name = getCoalescedEvents ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PointerEventInit.rs b/crates/web-sys/src/features/gen_PointerEventInit.rs index 9211744dfc4..cda4250eb5e 100644 --- a/crates/web-sys/src/features/gen_PointerEventInit.rs +++ b/crates/web-sys/src/features/gen_PointerEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PointerEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PointerEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PointerEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PopStateEvent.rs b/crates/web-sys/src/features/gen_PopStateEvent.rs index afc0618f48a..5fac86918f5 100644 --- a/crates/web-sys/src/features/gen_PopStateEvent.rs +++ b/crates/web-sys/src/features/gen_PopStateEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = PopStateEvent , typescript_type = "PopStateEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PopStateEvent , typescript_type = "PopStateEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PopStateEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PopStateEventInit.rs b/crates/web-sys/src/features/gen_PopStateEventInit.rs index 05983065174..379aa2337df 100644 --- a/crates/web-sys/src/features/gen_PopStateEventInit.rs +++ b/crates/web-sys/src/features/gen_PopStateEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PopStateEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PopStateEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PopStateEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PopupBlockedEvent.rs b/crates/web-sys/src/features/gen_PopupBlockedEvent.rs index 7c880de9f89..22b008868ac 100644 --- a/crates/web-sys/src/features/gen_PopupBlockedEvent.rs +++ b/crates/web-sys/src/features/gen_PopupBlockedEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = PopupBlockedEvent , typescript_type = "PopupBlockedEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PopupBlockedEvent , typescript_type = "PopupBlockedEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PopupBlockedEvent` class."] #[doc = ""] @@ -12,21 +12,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "PopupBlockedEvent" , js_name = popupWindowName ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "PopupBlockedEvent" , js_name = popupWindowFeatures ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PopupBlockedEventInit.rs b/crates/web-sys/src/features/gen_PopupBlockedEventInit.rs index 66990f597ae..23b39289706 100644 --- a/crates/web-sys/src/features/gen_PopupBlockedEventInit.rs +++ b/crates/web-sys/src/features/gen_PopupBlockedEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PopupBlockedEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PopupBlockedEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PopupBlockedEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Position.rs b/crates/web-sys/src/features/gen_Position.rs index 4b2f8d61d6d..b8e1dfaed53 100644 --- a/crates/web-sys/src/features/gen_Position.rs +++ b/crates/web-sys/src/features/gen_Position.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,14 +12,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PositionError.rs b/crates/web-sys/src/features/gen_PositionError.rs index 8b472da7a11..b21b7586b33 100644 --- a/crates/web-sys/src/features/gen_PositionError.rs +++ b/crates/web-sys/src/features/gen_PositionError.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PositionOptions.rs b/crates/web-sys/src/features/gen_PositionOptions.rs index 0e290668a2a..19fa660fe3b 100644 --- a/crates/web-sys/src/features/gen_PositionOptions.rs +++ b/crates/web-sys/src/features/gen_PositionOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PositionOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PositionOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PositionOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Presentation.rs b/crates/web-sys/src/features/gen_Presentation.rs index f2f446b07d3..428975568de 100644 --- a/crates/web-sys/src/features/gen_Presentation.rs +++ b/crates/web-sys/src/features/gen_Presentation.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Presentation , typescript_type = "Presentation" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Presentation , typescript_type = "Presentation")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Presentation` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Presentation`, `PresentationRequest`*"] pub fn default_request(this: &Presentation) -> Option; #[cfg(feature = "PresentationRequest")] - # [ wasm_bindgen ( structural , method , setter , js_class = "Presentation" , js_name = defaultRequest ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PresentationAvailability.rs b/crates/web-sys/src/features/gen_PresentationAvailability.rs index 5c7ef35a078..90ea7c55cf1 100644 --- a/crates/web-sys/src/features/gen_PresentationAvailability.rs +++ b/crates/web-sys/src/features/gen_PresentationAvailability.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = PresentationAvailability , typescript_type = "PresentationAvailability" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = PresentationAvailability , typescript_type = "PresentationAvailability")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PresentationAvailability` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PresentationConnection.rs b/crates/web-sys/src/features/gen_PresentationConnection.rs index 41050396f12..8c4977879fa 100644 --- a/crates/web-sys/src/features/gen_PresentationConnection.rs +++ b/crates/web-sys/src/features/gen_PresentationConnection.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = PresentationConnection , typescript_type = "PresentationConnection" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = PresentationConnection , typescript_type = "PresentationConnection")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PresentationConnection` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,49 +26,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -84,35 +84,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -120,14 +120,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -137,7 +137,7 @@ extern "C" { this: &PresentationConnection, data: &::js_sys::ArrayBuffer, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "PresentationConnection" , js_name = send ) ] + # [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)"] @@ -147,14 +147,14 @@ extern "C" { this: &PresentationConnection, data: &::js_sys::Object, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "PresentationConnection" , js_name = send ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PresentationConnectionAvailableEvent.rs b/crates/web-sys/src/features/gen_PresentationConnectionAvailableEvent.rs index 48e3da73c84..203c6b14aa3 100644 --- a/crates/web-sys/src/features/gen_PresentationConnectionAvailableEvent.rs +++ b/crates/web-sys/src/features/gen_PresentationConnectionAvailableEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = PresentationConnectionAvailableEvent , typescript_type = "PresentationConnectionAvailableEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PresentationConnectionAvailableEvent , typescript_type = "PresentationConnectionAvailableEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PresentationConnectionAvailableEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PresentationConnectionAvailableEventInit.rs b/crates/web-sys/src/features/gen_PresentationConnectionAvailableEventInit.rs index 4ac2642473a..8ea8b696208 100644 --- a/crates/web-sys/src/features/gen_PresentationConnectionAvailableEventInit.rs +++ b/crates/web-sys/src/features/gen_PresentationConnectionAvailableEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PresentationConnectionAvailableEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PresentationConnectionAvailableEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PresentationConnectionAvailableEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PresentationConnectionCloseEvent.rs b/crates/web-sys/src/features/gen_PresentationConnectionCloseEvent.rs index 6e48dc6277c..405b2e59da6 100644 --- a/crates/web-sys/src/features/gen_PresentationConnectionCloseEvent.rs +++ b/crates/web-sys/src/features/gen_PresentationConnectionCloseEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = PresentationConnectionCloseEvent , typescript_type = "PresentationConnectionCloseEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PresentationConnectionCloseEvent , typescript_type = "PresentationConnectionCloseEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PresentationConnectionCloseEvent` class."] #[doc = ""] @@ -12,14 +12,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PresentationConnectionCloseEventInit.rs b/crates/web-sys/src/features/gen_PresentationConnectionCloseEventInit.rs index 03d70fa7490..9a7c221c232 100644 --- a/crates/web-sys/src/features/gen_PresentationConnectionCloseEventInit.rs +++ b/crates/web-sys/src/features/gen_PresentationConnectionCloseEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PresentationConnectionCloseEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PresentationConnectionCloseEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PresentationConnectionCloseEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PresentationConnectionList.rs b/crates/web-sys/src/features/gen_PresentationConnectionList.rs index da3b0eb2297..c1c95cba5bd 100644 --- a/crates/web-sys/src/features/gen_PresentationConnectionList.rs +++ b/crates/web-sys/src/features/gen_PresentationConnectionList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = PresentationConnectionList , typescript_type = "PresentationConnectionList" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = PresentationConnectionList , typescript_type = "PresentationConnectionList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PresentationConnectionList` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PresentationReceiver.rs b/crates/web-sys/src/features/gen_PresentationReceiver.rs index 174b2eeef49..5e1388a6e20 100644 --- a/crates/web-sys/src/features/gen_PresentationReceiver.rs +++ b/crates/web-sys/src/features/gen_PresentationReceiver.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PresentationReceiver , typescript_type = "PresentationReceiver" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PresentationReceiver , typescript_type = "PresentationReceiver")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PresentationReceiver` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PresentationRequest.rs b/crates/web-sys/src/features/gen_PresentationRequest.rs index 18f8ed41911..484b4c3f0b0 100644 --- a/crates/web-sys/src/features/gen_PresentationRequest.rs +++ b/crates/web-sys/src/features/gen_PresentationRequest.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = PresentationRequest , typescript_type = "PresentationRequest" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = PresentationRequest , typescript_type = "PresentationRequest")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PresentationRequest` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -42,14 +42,14 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `PresentationRequest`*"] pub fn new_with_urls(urls: &::wasm_bindgen::JsValue) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "PresentationRequest" , js_name = getAvailability ) ] + # [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 ) ] + # [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)"] @@ -59,7 +59,7 @@ extern "C" { this: &PresentationRequest, presentation_id: &str, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "PresentationRequest" , js_name = start ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ProcessingInstruction.rs b/crates/web-sys/src/features/gen_ProcessingInstruction.rs index 827a8015025..158f56bf89e 100644 --- a/crates/web-sys/src/features/gen_ProcessingInstruction.rs +++ b/crates/web-sys/src/features/gen_ProcessingInstruction.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ProfileTimelineLayerRect.rs b/crates/web-sys/src/features/gen_ProfileTimelineLayerRect.rs index 3138425e48f..aa5177cfd1b 100644 --- a/crates/web-sys/src/features/gen_ProfileTimelineLayerRect.rs +++ b/crates/web-sys/src/features/gen_ProfileTimelineLayerRect.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ProfileTimelineLayerRect ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ProfileTimelineLayerRect)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ProfileTimelineLayerRect` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ProfileTimelineMarker.rs b/crates/web-sys/src/features/gen_ProfileTimelineMarker.rs index 5c9527e0bdf..a9490680bbb 100644 --- a/crates/web-sys/src/features/gen_ProfileTimelineMarker.rs +++ b/crates/web-sys/src/features/gen_ProfileTimelineMarker.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ProfileTimelineMarker ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ProfileTimelineMarker)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ProfileTimelineMarker` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ProfileTimelineStackFrame.rs b/crates/web-sys/src/features/gen_ProfileTimelineStackFrame.rs index 02375a64da5..b0a4eb98167 100644 --- a/crates/web-sys/src/features/gen_ProfileTimelineStackFrame.rs +++ b/crates/web-sys/src/features/gen_ProfileTimelineStackFrame.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ProfileTimelineStackFrame ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ProfileTimelineStackFrame)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ProfileTimelineStackFrame` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ProgressEvent.rs b/crates/web-sys/src/features/gen_ProgressEvent.rs index e609985cf63..8ab6d36af81 100644 --- a/crates/web-sys/src/features/gen_ProgressEvent.rs +++ b/crates/web-sys/src/features/gen_ProgressEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = ProgressEvent , typescript_type = "ProgressEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = ProgressEvent , typescript_type = "ProgressEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ProgressEvent` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ProgressEventInit.rs b/crates/web-sys/src/features/gen_ProgressEventInit.rs index f2d4314e5cb..b04dd729a7f 100644 --- a/crates/web-sys/src/features/gen_ProgressEventInit.rs +++ b/crates/web-sys/src/features/gen_ProgressEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ProgressEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ProgressEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ProgressEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PromiseNativeHandler.rs b/crates/web-sys/src/features/gen_PromiseNativeHandler.rs index 5e5d705f245..6fbf1acf5bc 100644 --- a/crates/web-sys/src/features/gen_PromiseNativeHandler.rs +++ b/crates/web-sys/src/features/gen_PromiseNativeHandler.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_PromiseRejectionEvent.rs b/crates/web-sys/src/features/gen_PromiseRejectionEvent.rs index 4e296f0eb26..6d7361f694e 100644 --- a/crates/web-sys/src/features/gen_PromiseRejectionEvent.rs +++ b/crates/web-sys/src/features/gen_PromiseRejectionEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = PromiseRejectionEvent , typescript_type = "PromiseRejectionEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = PromiseRejectionEvent , typescript_type = "PromiseRejectionEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PromiseRejectionEvent` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PromiseRejectionEventInit.rs b/crates/web-sys/src/features/gen_PromiseRejectionEventInit.rs index f2bcffe2a00..30375764e86 100644 --- a/crates/web-sys/src/features/gen_PromiseRejectionEventInit.rs +++ b/crates/web-sys/src/features/gen_PromiseRejectionEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PromiseRejectionEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PromiseRejectionEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PromiseRejectionEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PublicKeyCredential.rs b/crates/web-sys/src/features/gen_PublicKeyCredential.rs index b07e9c9c23f..dd7f8cbd0d9 100644 --- a/crates/web-sys/src/features/gen_PublicKeyCredential.rs +++ b/crates/web-sys/src/features/gen_PublicKeyCredential.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Credential , extends = :: js_sys :: Object , js_name = PublicKeyCredential , typescript_type = "PublicKeyCredential" ) ] + # [wasm_bindgen (extends = Credential , extends = :: js_sys :: Object , js_name = PublicKeyCredential , typescript_type = "PublicKeyCredential")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PublicKeyCredential` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { pub fn get_client_extension_results( this: &PublicKeyCredential, ) -> AuthenticationExtensionsClientOutputs; - # [ wasm_bindgen ( static_method_of = PublicKeyCredential , js_class = "PublicKeyCredential" , js_name = isUserVerifyingPlatformAuthenticatorAvailable ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PublicKeyCredentialCreationOptions.rs b/crates/web-sys/src/features/gen_PublicKeyCredentialCreationOptions.rs index 5049f9bbd48..e1a1ed72d02 100644 --- a/crates/web-sys/src/features/gen_PublicKeyCredentialCreationOptions.rs +++ b/crates/web-sys/src/features/gen_PublicKeyCredentialCreationOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PublicKeyCredentialCreationOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialCreationOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PublicKeyCredentialCreationOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PublicKeyCredentialDescriptor.rs b/crates/web-sys/src/features/gen_PublicKeyCredentialDescriptor.rs index 461aa4b8e18..907d346a349 100644 --- a/crates/web-sys/src/features/gen_PublicKeyCredentialDescriptor.rs +++ b/crates/web-sys/src/features/gen_PublicKeyCredentialDescriptor.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PublicKeyCredentialDescriptor ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialDescriptor)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PublicKeyCredentialDescriptor` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PublicKeyCredentialEntity.rs b/crates/web-sys/src/features/gen_PublicKeyCredentialEntity.rs index 35cec880bcf..d5ca9f981a9 100644 --- a/crates/web-sys/src/features/gen_PublicKeyCredentialEntity.rs +++ b/crates/web-sys/src/features/gen_PublicKeyCredentialEntity.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PublicKeyCredentialEntity ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialEntity)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PublicKeyCredentialEntity` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PublicKeyCredentialParameters.rs b/crates/web-sys/src/features/gen_PublicKeyCredentialParameters.rs index 0cb340f35c1..9eac4922f98 100644 --- a/crates/web-sys/src/features/gen_PublicKeyCredentialParameters.rs +++ b/crates/web-sys/src/features/gen_PublicKeyCredentialParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PublicKeyCredentialParameters ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialParameters)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PublicKeyCredentialParameters` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PublicKeyCredentialRequestOptions.rs b/crates/web-sys/src/features/gen_PublicKeyCredentialRequestOptions.rs index fe74886d165..7db1ffdfe20 100644 --- a/crates/web-sys/src/features/gen_PublicKeyCredentialRequestOptions.rs +++ b/crates/web-sys/src/features/gen_PublicKeyCredentialRequestOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PublicKeyCredentialRequestOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialRequestOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PublicKeyCredentialRequestOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PublicKeyCredentialRpEntity.rs b/crates/web-sys/src/features/gen_PublicKeyCredentialRpEntity.rs index a5fa3949237..a1152f87b23 100644 --- a/crates/web-sys/src/features/gen_PublicKeyCredentialRpEntity.rs +++ b/crates/web-sys/src/features/gen_PublicKeyCredentialRpEntity.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PublicKeyCredentialRpEntity ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialRpEntity)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PublicKeyCredentialRpEntity` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PublicKeyCredentialUserEntity.rs b/crates/web-sys/src/features/gen_PublicKeyCredentialUserEntity.rs index 79d718555ae..d9e369cb00b 100644 --- a/crates/web-sys/src/features/gen_PublicKeyCredentialUserEntity.rs +++ b/crates/web-sys/src/features/gen_PublicKeyCredentialUserEntity.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PublicKeyCredentialUserEntity ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PublicKeyCredentialUserEntity)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PublicKeyCredentialUserEntity` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PushEvent.rs b/crates/web-sys/src/features/gen_PushEvent.rs index 67eb167991e..c22f03058c1 100644 --- a/crates/web-sys/src/features/gen_PushEvent.rs +++ b/crates/web-sys/src/features/gen_PushEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PushEventInit.rs b/crates/web-sys/src/features/gen_PushEventInit.rs index 850d4fcaef7..837f8740e33 100644 --- a/crates/web-sys/src/features/gen_PushEventInit.rs +++ b/crates/web-sys/src/features/gen_PushEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PushEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PushEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PushManager.rs b/crates/web-sys/src/features/gen_PushManager.rs index ff8073455eb..b272c50677e 100644 --- a/crates/web-sys/src/features/gen_PushManager.rs +++ b/crates/web-sys/src/features/gen_PushManager.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PushManager , typescript_type = "PushManager" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushManager , typescript_type = "PushManager")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PushManager` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { this: &PushManager, options: &PushSubscriptionOptionsInit, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "PushManager" , js_name = subscribe ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PushMessageData.rs b/crates/web-sys/src/features/gen_PushMessageData.rs index fd90a82d35e..b641f968ec4 100644 --- a/crates/web-sys/src/features/gen_PushMessageData.rs +++ b/crates/web-sys/src/features/gen_PushMessageData.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PushMessageData , typescript_type = "PushMessageData" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushMessageData , typescript_type = "PushMessageData")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PushMessageData` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,21 +19,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "PushMessageData" , js_name = json ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PushSubscription.rs b/crates/web-sys/src/features/gen_PushSubscription.rs index a5f57ace390..46d48290b37 100644 --- a/crates/web-sys/src/features/gen_PushSubscription.rs +++ b/crates/web-sys/src/features/gen_PushSubscription.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PushSubscription , typescript_type = "PushSubscription" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushSubscription , typescript_type = "PushSubscription")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PushSubscription` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -38,14 +38,14 @@ extern "C" { name: PushEncryptionKeyName, ) -> Result, JsValue>; #[cfg(feature = "PushSubscriptionJson")] - # [ wasm_bindgen ( catch , method , structural , js_class = "PushSubscription" , js_name = toJSON ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "PushSubscription" , js_name = unsubscribe ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PushSubscriptionInit.rs b/crates/web-sys/src/features/gen_PushSubscriptionInit.rs index c2611948785..9b7784a8e05 100644 --- a/crates/web-sys/src/features/gen_PushSubscriptionInit.rs +++ b/crates/web-sys/src/features/gen_PushSubscriptionInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PushSubscriptionInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushSubscriptionInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PushSubscriptionInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PushSubscriptionJson.rs b/crates/web-sys/src/features/gen_PushSubscriptionJson.rs index ae7a4a5e267..45ae90e2ccb 100644 --- a/crates/web-sys/src/features/gen_PushSubscriptionJson.rs +++ b/crates/web-sys/src/features/gen_PushSubscriptionJson.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PushSubscriptionJSON ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushSubscriptionJSON)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PushSubscriptionJson` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PushSubscriptionKeys.rs b/crates/web-sys/src/features/gen_PushSubscriptionKeys.rs index fdcdad2fbbc..07e95b7008e 100644 --- a/crates/web-sys/src/features/gen_PushSubscriptionKeys.rs +++ b/crates/web-sys/src/features/gen_PushSubscriptionKeys.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PushSubscriptionKeys ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushSubscriptionKeys)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PushSubscriptionKeys` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_PushSubscriptionOptions.rs b/crates/web-sys/src/features/gen_PushSubscriptionOptions.rs index b1918eac0a6..de64371c593 100644 --- a/crates/web-sys/src/features/gen_PushSubscriptionOptions.rs +++ b/crates/web-sys/src/features/gen_PushSubscriptionOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PushSubscriptionOptions , typescript_type = "PushSubscriptionOptions" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushSubscriptionOptions , typescript_type = "PushSubscriptionOptions")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PushSubscriptionOptions` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_PushSubscriptionOptionsInit.rs b/crates/web-sys/src/features/gen_PushSubscriptionOptionsInit.rs index c42afe62db7..5b15c64fe2c 100644 --- a/crates/web-sys/src/features/gen_PushSubscriptionOptionsInit.rs +++ b/crates/web-sys/src/features/gen_PushSubscriptionOptionsInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = PushSubscriptionOptionsInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PushSubscriptionOptionsInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `PushSubscriptionOptionsInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RadioNodeList.rs b/crates/web-sys/src/features/gen_RadioNodeList.rs index 7a125f74ba7..91c2398099e 100644 --- a/crates/web-sys/src/features/gen_RadioNodeList.rs +++ b/crates/web-sys/src/features/gen_RadioNodeList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = NodeList , extends = :: js_sys :: Object , js_name = RadioNodeList , typescript_type = "RadioNodeList" ) ] + # [wasm_bindgen (extends = NodeList , extends = :: js_sys :: Object , js_name = RadioNodeList , typescript_type = "RadioNodeList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RadioNodeList` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Range.rs b/crates/web-sys/src/features/gen_Range.rs index 0fd8de14f7a..1aa1f937bfb 100644 --- a/crates/web-sys/src/features/gen_Range.rs +++ b/crates/web-sys/src/features/gen_Range.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Range , typescript_type = "Range" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Range , typescript_type = "Range")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Range` class."] #[doc = ""] @@ -12,14 +12,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Range" , js_name = startOffset ) ] + # [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)"] @@ -27,21 +27,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Range`*"] pub fn start_offset(this: &Range) -> Result; #[cfg(feature = "Node")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Range" , js_name = endContainer ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Range" , js_name = endOffset ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Range" , js_name = collapsed ) ] + # [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)"] @@ -49,7 +49,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -64,35 +64,35 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Range`*"] pub fn new() -> Result; #[cfg(feature = "DocumentFragment")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Range" , js_name = cloneContents ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "Range" , js_name = cloneRange ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -104,7 +104,7 @@ extern "C" { source_range: &Range, ) -> Result; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Range" , js_name = comparePoint ) ] + # [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)"] @@ -112,7 +112,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"] pub fn compare_point(this: &Range, node: &Node, offset: u32) -> Result; #[cfg(feature = "DocumentFragment")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Range" , js_name = createContextualFragment ) ] + # [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)"] @@ -122,14 +122,14 @@ extern "C" { this: &Range, fragment: &str, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Range" , js_name = deleteContents ) ] + # [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 ) ] + # [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)"] @@ -137,7 +137,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -145,7 +145,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `Range`*"] pub fn extract_contents(this: &Range) -> Result; #[cfg(feature = "DomRect")] - # [ wasm_bindgen ( method , structural , js_class = "Range" , js_name = getBoundingClientRect ) ] + # [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)"] @@ -153,7 +153,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -161,7 +161,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `DomRectList`, `Range`*"] pub fn get_client_rects(this: &Range) -> Option; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Range" , js_name = insertNode ) ] + # [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)"] @@ -169,7 +169,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -177,7 +177,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Node`, `Range`*"] pub fn intersects_node(this: &Range, node: &Node) -> Result; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Range" , js_name = isPointInRange ) ] + # [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)"] @@ -185,7 +185,7 @@ extern "C" { #[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; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Range" , js_name = selectNode ) ] + # [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)"] @@ -193,7 +193,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -201,7 +201,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -209,7 +209,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -217,7 +217,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -225,7 +225,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -233,7 +233,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -241,7 +241,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -249,7 +249,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RcwnPerfStats.rs b/crates/web-sys/src/features/gen_RcwnPerfStats.rs index 5a200b4bfaa..37256438441 100644 --- a/crates/web-sys/src/features/gen_RcwnPerfStats.rs +++ b/crates/web-sys/src/features/gen_RcwnPerfStats.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RcwnPerfStats ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RcwnPerfStats)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RcwnPerfStats` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RcwnStatus.rs b/crates/web-sys/src/features/gen_RcwnStatus.rs index 12e7f2e03eb..cb08cf1c69f 100644 --- a/crates/web-sys/src/features/gen_RcwnStatus.rs +++ b/crates/web-sys/src/features/gen_RcwnStatus.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RcwnStatus ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RcwnStatus)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RcwnStatus` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ReadableStream.rs b/crates/web-sys/src/features/gen_ReadableStream.rs index 523fcf82992..42cf6f09ab1 100644 --- a/crates/web-sys/src/features/gen_ReadableStream.rs +++ b/crates/web-sys/src/features/gen_ReadableStream.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ReadableStream , typescript_type = "ReadableStream" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableStream , typescript_type = "ReadableStream")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ReadableStream` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RegisterRequest.rs b/crates/web-sys/src/features/gen_RegisterRequest.rs index 15262e61b0c..3ae19f7b523 100644 --- a/crates/web-sys/src/features/gen_RegisterRequest.rs +++ b/crates/web-sys/src/features/gen_RegisterRequest.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RegisterRequest ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RegisterRequest)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RegisterRequest` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RegisterResponse.rs b/crates/web-sys/src/features/gen_RegisterResponse.rs index c84e5686669..e9bdc3fc456 100644 --- a/crates/web-sys/src/features/gen_RegisterResponse.rs +++ b/crates/web-sys/src/features/gen_RegisterResponse.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RegisterResponse ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RegisterResponse)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RegisterResponse` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RegisteredKey.rs b/crates/web-sys/src/features/gen_RegisteredKey.rs index 2ca0d8ac01f..7327755733e 100644 --- a/crates/web-sys/src/features/gen_RegisteredKey.rs +++ b/crates/web-sys/src/features/gen_RegisteredKey.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RegisteredKey ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RegisteredKey)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RegisteredKey` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RegistrationOptions.rs b/crates/web-sys/src/features/gen_RegistrationOptions.rs index 02ec371cc30..7e54f6c7ef6 100644 --- a/crates/web-sys/src/features/gen_RegistrationOptions.rs +++ b/crates/web-sys/src/features/gen_RegistrationOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RegistrationOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RegistrationOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RegistrationOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Request.rs b/crates/web-sys/src/features/gen_Request.rs index bc9d61c7f21..d83d86a2953 100644 --- a/crates/web-sys/src/features/gen_Request.rs +++ b/crates/web-sys/src/features/gen_Request.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Request , typescript_type = "Request" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Request , typescript_type = "Request")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Request` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -34,14 +34,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -49,7 +49,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -57,7 +57,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -65,7 +65,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -73,7 +73,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -81,14 +81,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -96,14 +96,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -111,7 +111,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -151,42 +151,42 @@ extern "C" { #[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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Request" , js_name = clone ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Request" , js_name = arrayBuffer ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RequestInit.rs b/crates/web-sys/src/features/gen_RequestInit.rs index 8fdd5a73399..ca918dc2c12 100644 --- a/crates/web-sys/src/features/gen_RequestInit.rs +++ b/crates/web-sys/src/features/gen_RequestInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RequestInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RequestInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RequestInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RequestMediaKeySystemAccessNotification.rs b/crates/web-sys/src/features/gen_RequestMediaKeySystemAccessNotification.rs index d798e763f15..2af8ca81280 100644 --- a/crates/web-sys/src/features/gen_RequestMediaKeySystemAccessNotification.rs +++ b/crates/web-sys/src/features/gen_RequestMediaKeySystemAccessNotification.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RequestMediaKeySystemAccessNotification ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RequestMediaKeySystemAccessNotification)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RequestMediaKeySystemAccessNotification` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Response.rs b/crates/web-sys/src/features/gen_Response.rs index fd6f4e136c4..028c14206b9 100644 --- a/crates/web-sys/src/features/gen_Response.rs +++ b/crates/web-sys/src/features/gen_Response.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Response , typescript_type = "Response" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Response , typescript_type = "Response")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Response` class."] #[doc = ""] @@ -12,42 +12,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -55,14 +55,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -70,7 +70,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -218,63 +218,63 @@ extern "C" { body: Option<&ReadableStream>, init: &ResponseInit, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Response" , js_name = clone ) ] + # [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; - # [ wasm_bindgen ( static_method_of = Response , js_class = "Response" , js_name = error ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , static_method_of = Response , js_class = "Response" , js_name = redirect ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Response" , js_name = arrayBuffer ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ResponseInit.rs b/crates/web-sys/src/features/gen_ResponseInit.rs index 86380ad5b0f..0ecbc01a20e 100644 --- a/crates/web-sys/src/features/gen_ResponseInit.rs +++ b/crates/web-sys/src/features/gen_ResponseInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ResponseInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ResponseInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ResponseInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RsaHashedImportParams.rs b/crates/web-sys/src/features/gen_RsaHashedImportParams.rs index 6c1d9f170d8..d98141c4554 100644 --- a/crates/web-sys/src/features/gen_RsaHashedImportParams.rs +++ b/crates/web-sys/src/features/gen_RsaHashedImportParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RsaHashedImportParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RsaHashedImportParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RsaHashedImportParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RsaOaepParams.rs b/crates/web-sys/src/features/gen_RsaOaepParams.rs index 7de93d499a2..fd50a473733 100644 --- a/crates/web-sys/src/features/gen_RsaOaepParams.rs +++ b/crates/web-sys/src/features/gen_RsaOaepParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RsaOaepParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RsaOaepParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RsaOaepParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RsaOtherPrimesInfo.rs b/crates/web-sys/src/features/gen_RsaOtherPrimesInfo.rs index 646eaa87004..7f9ceb816cf 100644 --- a/crates/web-sys/src/features/gen_RsaOtherPrimesInfo.rs +++ b/crates/web-sys/src/features/gen_RsaOtherPrimesInfo.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RsaOtherPrimesInfo ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RsaOtherPrimesInfo)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RsaOtherPrimesInfo` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RsaPssParams.rs b/crates/web-sys/src/features/gen_RsaPssParams.rs index aef706220b9..cddd994e4cc 100644 --- a/crates/web-sys/src/features/gen_RsaPssParams.rs +++ b/crates/web-sys/src/features/gen_RsaPssParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RsaPssParams ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RsaPssParams)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RsaPssParams` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcAnswerOptions.rs b/crates/web-sys/src/features/gen_RtcAnswerOptions.rs index 52464d2d500..ab0610f328a 100644 --- a/crates/web-sys/src/features/gen_RtcAnswerOptions.rs +++ b/crates/web-sys/src/features/gen_RtcAnswerOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCAnswerOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCAnswerOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcAnswerOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcCertificate.rs b/crates/web-sys/src/features/gen_RtcCertificate.rs index 46a47874bc5..fe4bffb42f3 100644 --- a/crates/web-sys/src/features/gen_RtcCertificate.rs +++ b/crates/web-sys/src/features/gen_RtcCertificate.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCCertificate , typescript_type = "RTCCertificate" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCCertificate , typescript_type = "RTCCertificate")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcCertificate` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcCertificateExpiration.rs b/crates/web-sys/src/features/gen_RtcCertificateExpiration.rs index 920e04a376d..49daaa26c28 100644 --- a/crates/web-sys/src/features/gen_RtcCertificateExpiration.rs +++ b/crates/web-sys/src/features/gen_RtcCertificateExpiration.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCCertificateExpiration ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCCertificateExpiration)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcCertificateExpiration` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcCodecStats.rs b/crates/web-sys/src/features/gen_RtcCodecStats.rs index d76095a5a63..9e12e9c9c14 100644 --- a/crates/web-sys/src/features/gen_RtcCodecStats.rs +++ b/crates/web-sys/src/features/gen_RtcCodecStats.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCCodecStats ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCCodecStats)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcCodecStats` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcConfiguration.rs b/crates/web-sys/src/features/gen_RtcConfiguration.rs index 776b029da56..2c92ab55d45 100644 --- a/crates/web-sys/src/features/gen_RtcConfiguration.rs +++ b/crates/web-sys/src/features/gen_RtcConfiguration.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCConfiguration ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCConfiguration)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcConfiguration` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcDataChannel.rs b/crates/web-sys/src/features/gen_RtcDataChannel.rs index d99c4ff74ca..8f991858c16 100644 --- a/crates/web-sys/src/features/gen_RtcDataChannel.rs +++ b/crates/web-sys/src/features/gen_RtcDataChannel.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = RTCDataChannel , typescript_type = "RTCDataChannel" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = RTCDataChannel , typescript_type = "RTCDataChannel")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcDataChannel` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCDataChannel" , js_name = maxRetransmits ) ] + # [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)"] @@ -40,98 +40,98 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `RtcDataChannel`*"] pub fn max_retransmits(this: &RtcDataChannel) -> Option; #[cfg(feature = "RtcDataChannelState")] - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCDataChannel" , js_name = readyState ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -139,7 +139,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -147,21 +147,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -169,14 +169,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -186,7 +186,7 @@ extern "C" { this: &RtcDataChannel, data: &::js_sys::ArrayBuffer, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "RTCDataChannel" , js_name = send ) ] + # [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)"] @@ -196,7 +196,7 @@ extern "C" { this: &RtcDataChannel, data: &::js_sys::Object, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "RTCDataChannel" , js_name = send ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcDataChannelEvent.rs b/crates/web-sys/src/features/gen_RtcDataChannelEvent.rs index 9fea1479661..7782c81b5ce 100644 --- a/crates/web-sys/src/features/gen_RtcDataChannelEvent.rs +++ b/crates/web-sys/src/features/gen_RtcDataChannelEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = RTCDataChannelEvent , typescript_type = "RTCDataChannelEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = RTCDataChannelEvent , typescript_type = "RTCDataChannelEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcDataChannelEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcDataChannelEventInit.rs b/crates/web-sys/src/features/gen_RtcDataChannelEventInit.rs index a53a4092706..16f0bb782b0 100644 --- a/crates/web-sys/src/features/gen_RtcDataChannelEventInit.rs +++ b/crates/web-sys/src/features/gen_RtcDataChannelEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCDataChannelEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCDataChannelEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcDataChannelEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcDataChannelInit.rs b/crates/web-sys/src/features/gen_RtcDataChannelInit.rs index 42d72a945ed..03de3dbf211 100644 --- a/crates/web-sys/src/features/gen_RtcDataChannelInit.rs +++ b/crates/web-sys/src/features/gen_RtcDataChannelInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCDataChannelInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCDataChannelInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcDataChannelInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcFecParameters.rs b/crates/web-sys/src/features/gen_RtcFecParameters.rs index 2462a777b64..d6d4ff8d490 100644 --- a/crates/web-sys/src/features/gen_RtcFecParameters.rs +++ b/crates/web-sys/src/features/gen_RtcFecParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCFecParameters ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCFecParameters)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcFecParameters` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcIceCandidate.rs b/crates/web-sys/src/features/gen_RtcIceCandidate.rs index da79852a107..ca7424e9914 100644 --- a/crates/web-sys/src/features/gen_RtcIceCandidate.rs +++ b/crates/web-sys/src/features/gen_RtcIceCandidate.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCIceCandidate , typescript_type = "RTCIceCandidate" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIceCandidate , typescript_type = "RTCIceCandidate")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcIceCandidate` class."] #[doc = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , setter , js_class = "RTCIceCandidate" , js_name = sdpMid ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , setter , js_class = "RTCIceCandidate" , js_name = sdpMLineIndex ) ] + # [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)"] @@ -61,7 +61,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcIceCandidateInit`*"] pub fn new(candidate_init_dict: &RtcIceCandidateInit) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "RTCIceCandidate" , js_name = toJSON ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcIceCandidateInit.rs b/crates/web-sys/src/features/gen_RtcIceCandidateInit.rs index bfc9f088aef..a23091f6be6 100644 --- a/crates/web-sys/src/features/gen_RtcIceCandidateInit.rs +++ b/crates/web-sys/src/features/gen_RtcIceCandidateInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCIceCandidateInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIceCandidateInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcIceCandidateInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcIceCandidatePairStats.rs b/crates/web-sys/src/features/gen_RtcIceCandidatePairStats.rs index b472fc577e7..4e4d9a68120 100644 --- a/crates/web-sys/src/features/gen_RtcIceCandidatePairStats.rs +++ b/crates/web-sys/src/features/gen_RtcIceCandidatePairStats.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCIceCandidatePairStats ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIceCandidatePairStats)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcIceCandidatePairStats` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcIceCandidateStats.rs b/crates/web-sys/src/features/gen_RtcIceCandidateStats.rs index a2313602be8..6122964248c 100644 --- a/crates/web-sys/src/features/gen_RtcIceCandidateStats.rs +++ b/crates/web-sys/src/features/gen_RtcIceCandidateStats.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCIceCandidateStats ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIceCandidateStats)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcIceCandidateStats` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcIceComponentStats.rs b/crates/web-sys/src/features/gen_RtcIceComponentStats.rs index 61a7b8d09a1..3675b590682 100644 --- a/crates/web-sys/src/features/gen_RtcIceComponentStats.rs +++ b/crates/web-sys/src/features/gen_RtcIceComponentStats.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCIceComponentStats ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIceComponentStats)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcIceComponentStats` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcIceServer.rs b/crates/web-sys/src/features/gen_RtcIceServer.rs index a4acdff07fd..343e05cd24c 100644 --- a/crates/web-sys/src/features/gen_RtcIceServer.rs +++ b/crates/web-sys/src/features/gen_RtcIceServer.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCIceServer ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIceServer)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcIceServer` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcIdentityAssertion.rs b/crates/web-sys/src/features/gen_RtcIdentityAssertion.rs index 4771a16c92f..10572092eef 100644 --- a/crates/web-sys/src/features/gen_RtcIdentityAssertion.rs +++ b/crates/web-sys/src/features/gen_RtcIdentityAssertion.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCIdentityAssertion ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIdentityAssertion)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcIdentityAssertion` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcIdentityAssertionResult.rs b/crates/web-sys/src/features/gen_RtcIdentityAssertionResult.rs index af85e817819..98d9af7c861 100644 --- a/crates/web-sys/src/features/gen_RtcIdentityAssertionResult.rs +++ b/crates/web-sys/src/features/gen_RtcIdentityAssertionResult.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCIdentityAssertionResult ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIdentityAssertionResult)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcIdentityAssertionResult` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcIdentityProvider.rs b/crates/web-sys/src/features/gen_RtcIdentityProvider.rs index 199fd34cfb1..bf64f976b7e 100644 --- a/crates/web-sys/src/features/gen_RtcIdentityProvider.rs +++ b/crates/web-sys/src/features/gen_RtcIdentityProvider.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCIdentityProvider ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIdentityProvider)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcIdentityProvider` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcIdentityProviderDetails.rs b/crates/web-sys/src/features/gen_RtcIdentityProviderDetails.rs index 98d88f4c954..dda6cbc9bc8 100644 --- a/crates/web-sys/src/features/gen_RtcIdentityProviderDetails.rs +++ b/crates/web-sys/src/features/gen_RtcIdentityProviderDetails.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCIdentityProviderDetails ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIdentityProviderDetails)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcIdentityProviderDetails` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcIdentityProviderOptions.rs b/crates/web-sys/src/features/gen_RtcIdentityProviderOptions.rs index 15533979e90..df3da8a3a71 100644 --- a/crates/web-sys/src/features/gen_RtcIdentityProviderOptions.rs +++ b/crates/web-sys/src/features/gen_RtcIdentityProviderOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCIdentityProviderOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIdentityProviderOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcIdentityProviderOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcIdentityProviderRegistrar.rs b/crates/web-sys/src/features/gen_RtcIdentityProviderRegistrar.rs index 619e8292e27..86a4f2be05c 100644 --- a/crates/web-sys/src/features/gen_RtcIdentityProviderRegistrar.rs +++ b/crates/web-sys/src/features/gen_RtcIdentityProviderRegistrar.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcIdentityValidationResult.rs b/crates/web-sys/src/features/gen_RtcIdentityValidationResult.rs index dd7b59143b1..cd5ba8e16df 100644 --- a/crates/web-sys/src/features/gen_RtcIdentityValidationResult.rs +++ b/crates/web-sys/src/features/gen_RtcIdentityValidationResult.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCIdentityValidationResult ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCIdentityValidationResult)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcIdentityValidationResult` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcInboundRtpStreamStats.rs b/crates/web-sys/src/features/gen_RtcInboundRtpStreamStats.rs index 813a128b74b..3c451c5fcba 100644 --- a/crates/web-sys/src/features/gen_RtcInboundRtpStreamStats.rs +++ b/crates/web-sys/src/features/gen_RtcInboundRtpStreamStats.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCInboundRTPStreamStats ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCInboundRTPStreamStats)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcInboundRtpStreamStats` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcMediaStreamStats.rs b/crates/web-sys/src/features/gen_RtcMediaStreamStats.rs index 61582d6625d..006d9d504c0 100644 --- a/crates/web-sys/src/features/gen_RtcMediaStreamStats.rs +++ b/crates/web-sys/src/features/gen_RtcMediaStreamStats.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCMediaStreamStats ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCMediaStreamStats)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcMediaStreamStats` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcMediaStreamTrackStats.rs b/crates/web-sys/src/features/gen_RtcMediaStreamTrackStats.rs index 14834ed6094..a8417438ed1 100644 --- a/crates/web-sys/src/features/gen_RtcMediaStreamTrackStats.rs +++ b/crates/web-sys/src/features/gen_RtcMediaStreamTrackStats.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCMediaStreamTrackStats ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCMediaStreamTrackStats)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcMediaStreamTrackStats` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcOfferAnswerOptions.rs b/crates/web-sys/src/features/gen_RtcOfferAnswerOptions.rs index 8b692880896..f302ee69dcf 100644 --- a/crates/web-sys/src/features/gen_RtcOfferAnswerOptions.rs +++ b/crates/web-sys/src/features/gen_RtcOfferAnswerOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCOfferAnswerOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCOfferAnswerOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcOfferAnswerOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcOfferOptions.rs b/crates/web-sys/src/features/gen_RtcOfferOptions.rs index 63dc02e2b3c..3783810940e 100644 --- a/crates/web-sys/src/features/gen_RtcOfferOptions.rs +++ b/crates/web-sys/src/features/gen_RtcOfferOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCOfferOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCOfferOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcOfferOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcOutboundRtpStreamStats.rs b/crates/web-sys/src/features/gen_RtcOutboundRtpStreamStats.rs index b3b06942fe4..8041752b237 100644 --- a/crates/web-sys/src/features/gen_RtcOutboundRtpStreamStats.rs +++ b/crates/web-sys/src/features/gen_RtcOutboundRtpStreamStats.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCOutboundRTPStreamStats ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCOutboundRTPStreamStats)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcOutboundRtpStreamStats` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcPeerConnection.rs b/crates/web-sys/src/features/gen_RtcPeerConnection.rs index d6fb259c0f7..455a8820beb 100644 --- a/crates/web-sys/src/features/gen_RtcPeerConnection.rs +++ b/crates/web-sys/src/features/gen_RtcPeerConnection.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = RTCPeerConnection , typescript_type = "RTCPeerConnection" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = RTCPeerConnection , typescript_type = "RTCPeerConnection")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcPeerConnection` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*"] pub fn local_description(this: &RtcPeerConnection) -> Option; #[cfg(feature = "RtcSessionDescription")] - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCPeerConnection" , js_name = currentLocalDescription ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*"] pub fn current_local_description(this: &RtcPeerConnection) -> Option; #[cfg(feature = "RtcSessionDescription")] - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCPeerConnection" , js_name = pendingLocalDescription ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*"] pub fn pending_local_description(this: &RtcPeerConnection) -> Option; #[cfg(feature = "RtcSessionDescription")] - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCPeerConnection" , js_name = remoteDescription ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*"] pub fn remote_description(this: &RtcPeerConnection) -> Option; #[cfg(feature = "RtcSessionDescription")] - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCPeerConnection" , js_name = currentRemoteDescription ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*"] pub fn current_remote_description(this: &RtcPeerConnection) -> Option; #[cfg(feature = "RtcSessionDescription")] - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCPeerConnection" , js_name = pendingRemoteDescription ) ] + # [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)"] @@ -60,14 +60,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*"] pub fn pending_remote_description(this: &RtcPeerConnection) -> Option; #[cfg(feature = "RtcSignalingState")] - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCPeerConnection" , js_name = signalingState ) ] + # [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 ) ] + # [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)"] @@ -75,7 +75,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"] pub fn can_trickle_ice_candidates(this: &RtcPeerConnection) -> Option; #[cfg(feature = "RtcIceGatheringState")] - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCPeerConnection" , js_name = iceGatheringState ) ] + # [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)"] @@ -83,133 +83,133 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCPeerConnection" , js_name = onnegotiationneeded ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -219,14 +219,14 @@ extern "C" { this: &RtcPeerConnection, value: Option<&::js_sys::Function>, ); - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCPeerConnection" , js_name = onicegatheringstatechange ) ] + # [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 ) ] + # [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)"] @@ -236,14 +236,14 @@ extern "C" { this: &RtcPeerConnection, value: Option<&::js_sys::Function>, ); - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCPeerConnection" , js_name = ondatachannel ) ] + # [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 ) ] + # [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)"] @@ -279,7 +279,7 @@ extern "C" { constraints: Option<&::js_sys::Object>, ) -> Result; #[cfg(feature = "RtcIceCandidateInit")] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addIceCandidate ) ] + # [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)"] @@ -290,7 +290,7 @@ extern "C" { candidate: Option<&RtcIceCandidateInit>, ) -> ::js_sys::Promise; #[cfg(feature = "RtcIceCandidate")] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addIceCandidate ) ] + # [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)"] @@ -301,7 +301,7 @@ extern "C" { candidate: Option<&RtcIceCandidate>, ) -> ::js_sys::Promise; #[cfg(feature = "RtcIceCandidate")] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addIceCandidate ) ] + # [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)"] @@ -314,7 +314,7 @@ extern "C" { failure_callback: &::js_sys::Function, ) -> ::js_sys::Promise; #[cfg(feature = "MediaStream")] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addStream ) ] + # [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)"] @@ -326,7 +326,7 @@ extern "C" { feature = "MediaStreamTrack", feature = "RtcRtpSender", ))] - # [ wasm_bindgen ( method , structural , variadic , js_class = "RTCPeerConnection" , js_name = addTrack ) ] + # [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)"] @@ -343,7 +343,7 @@ extern "C" { feature = "MediaStreamTrack", feature = "RtcRtpSender", ))] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addTrack ) ] + # [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)"] @@ -359,7 +359,7 @@ extern "C" { feature = "MediaStreamTrack", feature = "RtcRtpSender", ))] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addTrack ) ] + # [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)"] @@ -376,7 +376,7 @@ extern "C" { feature = "MediaStreamTrack", feature = "RtcRtpSender", ))] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addTrack ) ] + # [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)"] @@ -394,7 +394,7 @@ extern "C" { feature = "MediaStreamTrack", feature = "RtcRtpSender", ))] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addTrack ) ] + # [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)"] @@ -413,7 +413,7 @@ extern "C" { feature = "MediaStreamTrack", feature = "RtcRtpSender", ))] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addTrack ) ] + # [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)"] @@ -433,7 +433,7 @@ extern "C" { feature = "MediaStreamTrack", feature = "RtcRtpSender", ))] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addTrack ) ] + # [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)"] @@ -454,7 +454,7 @@ extern "C" { feature = "MediaStreamTrack", feature = "RtcRtpSender", ))] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addTrack ) ] + # [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)"] @@ -476,7 +476,7 @@ extern "C" { feature = "MediaStreamTrack", feature = "RtcRtpSender", ))] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addTrack ) ] + # [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)"] @@ -495,7 +495,7 @@ extern "C" { more_streams_7: &MediaStream, ) -> RtcRtpSender; #[cfg(all(feature = "MediaStreamTrack", feature = "RtcRtpTransceiver",))] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addTransceiver ) ] + # [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)"] @@ -506,7 +506,7 @@ extern "C" { track_or_kind: &MediaStreamTrack, ) -> RtcRtpTransceiver; #[cfg(feature = "RtcRtpTransceiver")] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addTransceiver ) ] + # [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)"] @@ -521,7 +521,7 @@ extern "C" { feature = "RtcRtpTransceiver", feature = "RtcRtpTransceiverInit", ))] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addTransceiver ) ] + # [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)"] @@ -533,7 +533,7 @@ extern "C" { init: &RtcRtpTransceiverInit, ) -> RtcRtpTransceiver; #[cfg(all(feature = "RtcRtpTransceiver", feature = "RtcRtpTransceiverInit",))] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = addTransceiver ) ] + # [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)"] @@ -544,14 +544,14 @@ extern "C" { track_or_kind: &str, init: &RtcRtpTransceiverInit, ) -> RtcRtpTransceiver; - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = close ) ] + # [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 ) ] + # [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)"] @@ -559,7 +559,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -569,7 +569,7 @@ extern "C" { this: &RtcPeerConnection, options: &RtcAnswerOptions, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = createAnswer ) ] + # [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)"] @@ -581,7 +581,7 @@ extern "C" { failure_callback: &::js_sys::Function, ) -> ::js_sys::Promise; #[cfg(feature = "RtcDataChannel")] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = createDataChannel ) ] + # [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)"] @@ -589,7 +589,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -600,7 +600,7 @@ extern "C" { label: &str, data_channel_dict: &RtcDataChannelInit, ) -> RtcDataChannel; - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = createOffer ) ] + # [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)"] @@ -608,7 +608,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -618,7 +618,7 @@ extern "C" { this: &RtcPeerConnection, options: &RtcOfferOptions, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = createOffer ) ] + # [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)"] @@ -630,7 +630,7 @@ extern "C" { failure_callback: &::js_sys::Function, ) -> ::js_sys::Promise; #[cfg(feature = "RtcOfferOptions")] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = createOffer ) ] + # [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)"] @@ -642,7 +642,7 @@ extern "C" { failure_callback: &::js_sys::Function, options: &RtcOfferOptions, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( catch , static_method_of = RtcPeerConnection , js_class = "RTCPeerConnection" , js_name = generateCertificate ) ] + # [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)"] @@ -651,7 +651,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -661,49 +661,49 @@ extern "C" { keygen_algorithm: &str, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "RtcConfiguration")] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = getConfiguration ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -711,7 +711,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -722,7 +722,7 @@ extern "C" { selector: Option<&MediaStreamTrack>, ) -> ::js_sys::Promise; #[cfg(feature = "MediaStreamTrack")] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = getStats ) ] + # [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)"] @@ -734,7 +734,7 @@ extern "C" { success_callback: &::js_sys::Function, failure_callback: &::js_sys::Function, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = getTransceivers ) ] + # [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)"] @@ -742,14 +742,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -757,7 +757,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -769,7 +769,7 @@ extern "C" { options: &RtcIdentityProviderOptions, ); #[cfg(feature = "RtcSessionDescriptionInit")] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = setLocalDescription ) ] + # [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)"] @@ -780,7 +780,7 @@ extern "C" { description: &RtcSessionDescriptionInit, ) -> ::js_sys::Promise; #[cfg(feature = "RtcSessionDescriptionInit")] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = setLocalDescription ) ] + # [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)"] @@ -793,7 +793,7 @@ extern "C" { failure_callback: &::js_sys::Function, ) -> ::js_sys::Promise; #[cfg(feature = "RtcSessionDescriptionInit")] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = setRemoteDescription ) ] + # [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)"] @@ -804,7 +804,7 @@ extern "C" { description: &RtcSessionDescriptionInit, ) -> ::js_sys::Promise; #[cfg(feature = "RtcSessionDescriptionInit")] - # [ wasm_bindgen ( method , structural , js_class = "RTCPeerConnection" , js_name = setRemoteDescription ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcPeerConnectionIceEvent.rs b/crates/web-sys/src/features/gen_RtcPeerConnectionIceEvent.rs index d688dffa713..3a59c593b76 100644 --- a/crates/web-sys/src/features/gen_RtcPeerConnectionIceEvent.rs +++ b/crates/web-sys/src/features/gen_RtcPeerConnectionIceEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = RTCPeerConnectionIceEvent , typescript_type = "RTCPeerConnectionIceEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = RTCPeerConnectionIceEvent , typescript_type = "RTCPeerConnectionIceEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcPeerConnectionIceEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcPeerConnectionIceEventInit.rs b/crates/web-sys/src/features/gen_RtcPeerConnectionIceEventInit.rs index 9eb1ec299c0..43034dac6ca 100644 --- a/crates/web-sys/src/features/gen_RtcPeerConnectionIceEventInit.rs +++ b/crates/web-sys/src/features/gen_RtcPeerConnectionIceEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCPeerConnectionIceEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCPeerConnectionIceEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcPeerConnectionIceEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcRtcpParameters.rs b/crates/web-sys/src/features/gen_RtcRtcpParameters.rs index 1881205e61b..9f909fd3bde 100644 --- a/crates/web-sys/src/features/gen_RtcRtcpParameters.rs +++ b/crates/web-sys/src/features/gen_RtcRtcpParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRtcpParameters ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtcpParameters)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcRtcpParameters` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcRtpCodecParameters.rs b/crates/web-sys/src/features/gen_RtcRtpCodecParameters.rs index 36608540134..dd777bb1820 100644 --- a/crates/web-sys/src/features/gen_RtcRtpCodecParameters.rs +++ b/crates/web-sys/src/features/gen_RtcRtpCodecParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRtpCodecParameters ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpCodecParameters)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcRtpCodecParameters` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcRtpContributingSource.rs b/crates/web-sys/src/features/gen_RtcRtpContributingSource.rs index 1b23b548f57..6f32c2053b8 100644 --- a/crates/web-sys/src/features/gen_RtcRtpContributingSource.rs +++ b/crates/web-sys/src/features/gen_RtcRtpContributingSource.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRtpContributingSource ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpContributingSource)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcRtpContributingSource` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcRtpEncodingParameters.rs b/crates/web-sys/src/features/gen_RtcRtpEncodingParameters.rs index fc5ab539282..3e47a28ec6d 100644 --- a/crates/web-sys/src/features/gen_RtcRtpEncodingParameters.rs +++ b/crates/web-sys/src/features/gen_RtcRtpEncodingParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRtpEncodingParameters ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpEncodingParameters)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcRtpEncodingParameters` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcRtpHeaderExtensionParameters.rs b/crates/web-sys/src/features/gen_RtcRtpHeaderExtensionParameters.rs index 7ac72842cce..4bd99e8b3b4 100644 --- a/crates/web-sys/src/features/gen_RtcRtpHeaderExtensionParameters.rs +++ b/crates/web-sys/src/features/gen_RtcRtpHeaderExtensionParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRtpHeaderExtensionParameters ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpHeaderExtensionParameters)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcRtpHeaderExtensionParameters` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcRtpParameters.rs b/crates/web-sys/src/features/gen_RtcRtpParameters.rs index 59b4bcc09f7..ebb14651764 100644 --- a/crates/web-sys/src/features/gen_RtcRtpParameters.rs +++ b/crates/web-sys/src/features/gen_RtcRtpParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRtpParameters ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpParameters)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcRtpParameters` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcRtpReceiver.rs b/crates/web-sys/src/features/gen_RtcRtpReceiver.rs index af9ae8b4d2a..ee09e08053a 100644 --- a/crates/web-sys/src/features/gen_RtcRtpReceiver.rs +++ b/crates/web-sys/src/features/gen_RtcRtpReceiver.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRtpReceiver , typescript_type = "RTCRtpReceiver" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpReceiver , typescript_type = "RTCRtpReceiver")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcRtpReceiver` class."] #[doc = ""] @@ -12,28 +12,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcRtpSender.rs b/crates/web-sys/src/features/gen_RtcRtpSender.rs index d781b8a9f70..8de87c61b10 100644 --- a/crates/web-sys/src/features/gen_RtcRtpSender.rs +++ b/crates/web-sys/src/features/gen_RtcRtpSender.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRtpSender , typescript_type = "RTCRtpSender" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpSender , typescript_type = "RTCRtpSender")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcRtpSender` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcRtpSender`*"] pub fn track(this: &RtcRtpSender) -> Option; #[cfg(feature = "RtcdtmfSender")] - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCRtpSender" , js_name = dtmf ) ] + # [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)"] @@ -28,14 +28,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `RtcRtpSender`, `RtcdtmfSender`*"] pub fn dtmf(this: &RtcRtpSender) -> Option; #[cfg(feature = "RtcRtpParameters")] - # [ wasm_bindgen ( method , structural , js_class = "RTCRtpSender" , js_name = getParameters ) ] + # [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 ) ] + # [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)"] @@ -43,7 +43,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -53,7 +53,7 @@ extern "C" { this: &RtcRtpSender, with_track: Option<&MediaStreamTrack>, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "RTCRtpSender" , js_name = setParameters ) ] + # [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)"] @@ -61,7 +61,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcRtpSourceEntry.rs b/crates/web-sys/src/features/gen_RtcRtpSourceEntry.rs index 072f9a22cee..a4673ba5200 100644 --- a/crates/web-sys/src/features/gen_RtcRtpSourceEntry.rs +++ b/crates/web-sys/src/features/gen_RtcRtpSourceEntry.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRtpSourceEntry ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpSourceEntry)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcRtpSourceEntry` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcRtpSynchronizationSource.rs b/crates/web-sys/src/features/gen_RtcRtpSynchronizationSource.rs index 81607f18b23..dcab4408333 100644 --- a/crates/web-sys/src/features/gen_RtcRtpSynchronizationSource.rs +++ b/crates/web-sys/src/features/gen_RtcRtpSynchronizationSource.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRtpSynchronizationSource ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpSynchronizationSource)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcRtpSynchronizationSource` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcRtpTransceiver.rs b/crates/web-sys/src/features/gen_RtcRtpTransceiver.rs index 1356d4fe157..6d6eaf25159 100644 --- a/crates/web-sys/src/features/gen_RtcRtpTransceiver.rs +++ b/crates/web-sys/src/features/gen_RtcRtpTransceiver.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRtpTransceiver , typescript_type = "RTCRtpTransceiver" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpTransceiver , typescript_type = "RTCRtpTransceiver")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcRtpTransceiver` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `RtcRtpTransceiver`*"] pub fn mid(this: &RtcRtpTransceiver) -> Option; #[cfg(feature = "RtcRtpSender")] - # [ wasm_bindgen ( structural , method , getter , js_class = "RTCRtpTransceiver" , js_name = sender ) ] + # [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)"] @@ -27,14 +27,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -58,21 +58,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "RTCRtpTransceiver" , js_name = getRemoteTrackId ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcRtpTransceiverInit.rs b/crates/web-sys/src/features/gen_RtcRtpTransceiverInit.rs index 1783a611263..216e15d69b6 100644 --- a/crates/web-sys/src/features/gen_RtcRtpTransceiverInit.rs +++ b/crates/web-sys/src/features/gen_RtcRtpTransceiverInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRtpTransceiverInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtpTransceiverInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcRtpTransceiverInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcRtxParameters.rs b/crates/web-sys/src/features/gen_RtcRtxParameters.rs index b90d03c52fe..c92e34d815f 100644 --- a/crates/web-sys/src/features/gen_RtcRtxParameters.rs +++ b/crates/web-sys/src/features/gen_RtcRtxParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRtxParameters ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRtxParameters)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcRtxParameters` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcSessionDescription.rs b/crates/web-sys/src/features/gen_RtcSessionDescription.rs index 520ce609e66..975d098e5e8 100644 --- a/crates/web-sys/src/features/gen_RtcSessionDescription.rs +++ b/crates/web-sys/src/features/gen_RtcSessionDescription.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCSessionDescription , typescript_type = "RTCSessionDescription" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCSessionDescription , typescript_type = "RTCSessionDescription")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcSessionDescription` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,21 +20,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -58,7 +58,7 @@ extern "C" { pub fn new_with_description_init_dict( description_init_dict: &RtcSessionDescriptionInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "RTCSessionDescription" , js_name = toJSON ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcSessionDescriptionInit.rs b/crates/web-sys/src/features/gen_RtcSessionDescriptionInit.rs index de7e19b2170..72ed9cc342d 100644 --- a/crates/web-sys/src/features/gen_RtcSessionDescriptionInit.rs +++ b/crates/web-sys/src/features/gen_RtcSessionDescriptionInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCSessionDescriptionInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCSessionDescriptionInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcSessionDescriptionInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcStats.rs b/crates/web-sys/src/features/gen_RtcStats.rs index 0ccc469fb75..79c3595bb88 100644 --- a/crates/web-sys/src/features/gen_RtcStats.rs +++ b/crates/web-sys/src/features/gen_RtcStats.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCStats ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCStats)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcStats` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcStatsReport.rs b/crates/web-sys/src/features/gen_RtcStatsReport.rs index 0f8552b7143..5d419f22854 100644 --- a/crates/web-sys/src/features/gen_RtcStatsReport.rs +++ b/crates/web-sys/src/features/gen_RtcStatsReport.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCStatsReport , typescript_type = "RTCStatsReport" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCStatsReport , typescript_type = "RTCStatsReport")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcStatsReport` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcStatsReportInternal.rs b/crates/web-sys/src/features/gen_RtcStatsReportInternal.rs index 39e3d0169f4..e423561977f 100644 --- a/crates/web-sys/src/features/gen_RtcStatsReportInternal.rs +++ b/crates/web-sys/src/features/gen_RtcStatsReportInternal.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCStatsReportInternal ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCStatsReportInternal)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcStatsReportInternal` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcTrackEvent.rs b/crates/web-sys/src/features/gen_RtcTrackEvent.rs index 93e76c4a7a8..69870c1a305 100644 --- a/crates/web-sys/src/features/gen_RtcTrackEvent.rs +++ b/crates/web-sys/src/features/gen_RtcTrackEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = RTCTrackEvent , typescript_type = "RTCTrackEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = RTCTrackEvent , typescript_type = "RTCTrackEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcTrackEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,14 +20,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -35,7 +35,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcTrackEventInit.rs b/crates/web-sys/src/features/gen_RtcTrackEventInit.rs index 7f16dc9e9fe..a8c8031da0b 100644 --- a/crates/web-sys/src/features/gen_RtcTrackEventInit.rs +++ b/crates/web-sys/src/features/gen_RtcTrackEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCTrackEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCTrackEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcTrackEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcTransportStats.rs b/crates/web-sys/src/features/gen_RtcTransportStats.rs index 38fc4ee98e8..6b5016601b3 100644 --- a/crates/web-sys/src/features/gen_RtcTransportStats.rs +++ b/crates/web-sys/src/features/gen_RtcTransportStats.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCTransportStats ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCTransportStats)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcTransportStats` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcdtmfSender.rs b/crates/web-sys/src/features/gen_RtcdtmfSender.rs index 4bbac5abb31..8feda592ed0 100644 --- a/crates/web-sys/src/features/gen_RtcdtmfSender.rs +++ b/crates/web-sys/src/features/gen_RtcdtmfSender.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = RTCDTMFSender , typescript_type = "RTCDTMFSender" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = RTCDTMFSender , typescript_type = "RTCDTMFSender")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcdtmfSender` class."] #[doc = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcdtmfToneChangeEvent.rs b/crates/web-sys/src/features/gen_RtcdtmfToneChangeEvent.rs index 2c699e3f55b..3d513d29484 100644 --- a/crates/web-sys/src/features/gen_RtcdtmfToneChangeEvent.rs +++ b/crates/web-sys/src/features/gen_RtcdtmfToneChangeEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = RTCDTMFToneChangeEvent , typescript_type = "RTCDTMFToneChangeEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = RTCDTMFToneChangeEvent , typescript_type = "RTCDTMFToneChangeEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcdtmfToneChangeEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_RtcdtmfToneChangeEventInit.rs b/crates/web-sys/src/features/gen_RtcdtmfToneChangeEventInit.rs index d512a6b6607..b4084610c98 100644 --- a/crates/web-sys/src/features/gen_RtcdtmfToneChangeEventInit.rs +++ b/crates/web-sys/src/features/gen_RtcdtmfToneChangeEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCDTMFToneChangeEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCDTMFToneChangeEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcdtmfToneChangeEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcrtpContributingSourceStats.rs b/crates/web-sys/src/features/gen_RtcrtpContributingSourceStats.rs index 4fff365ff08..75ced1312e2 100644 --- a/crates/web-sys/src/features/gen_RtcrtpContributingSourceStats.rs +++ b/crates/web-sys/src/features/gen_RtcrtpContributingSourceStats.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRTPContributingSourceStats ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRTPContributingSourceStats)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcrtpContributingSourceStats` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_RtcrtpStreamStats.rs b/crates/web-sys/src/features/gen_RtcrtpStreamStats.rs index 1f5d9819fa5..e6bab431257 100644 --- a/crates/web-sys/src/features/gen_RtcrtpStreamStats.rs +++ b/crates/web-sys/src/features/gen_RtcrtpStreamStats.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = RTCRTPStreamStats ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = RTCRTPStreamStats)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `RtcrtpStreamStats` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Screen.rs b/crates/web-sys/src/features/gen_Screen.rs index 199e0a3c621..fc2b7a54e2a 100644 --- a/crates/web-sys/src/features/gen_Screen.rs +++ b/crates/web-sys/src/features/gen_Screen.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = Screen , typescript_type = "Screen" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Screen , typescript_type = "Screen")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Screen` class."] #[doc = ""] @@ -11,70 +11,70 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Screen" , js_name = availHeight ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Screen" , js_name = width ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Screen" , js_name = height ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Screen" , js_name = colorDepth ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Screen" , js_name = pixelDepth ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Screen" , js_name = top ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Screen" , js_name = left ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Screen" , js_name = availTop ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Screen" , js_name = availLeft ) ] + # [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)"] @@ -82,7 +82,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Screen`*"] pub fn avail_left(this: &Screen) -> Result; #[cfg(feature = "ScreenOrientation")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Screen" , js_name = orientation ) ] + # [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)"] @@ -90,7 +90,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -98,21 +98,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Screen" , js_name = onchange ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ScreenLuminance.rs b/crates/web-sys/src/features/gen_ScreenLuminance.rs index 667afa86fce..8bdb1ba167f 100644 --- a/crates/web-sys/src/features/gen_ScreenLuminance.rs +++ b/crates/web-sys/src/features/gen_ScreenLuminance.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ScreenLuminance , typescript_type = "ScreenLuminance" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ScreenLuminance , typescript_type = "ScreenLuminance")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ScreenLuminance` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ScreenOrientation.rs b/crates/web-sys/src/features/gen_ScreenOrientation.rs index 5d1cb166fe9..1e26c3b90b4 100644 --- a/crates/web-sys/src/features/gen_ScreenOrientation.rs +++ b/crates/web-sys/src/features/gen_ScreenOrientation.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = ScreenOrientation , typescript_type = "ScreenOrientation" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = ScreenOrientation , typescript_type = "ScreenOrientation")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ScreenOrientation` class."] #[doc = ""] @@ -12,28 +12,28 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "ScreenOrientation" , js_name = angle ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "ScreenOrientation" , js_name = onchange ) ] + # [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 ) ] + # [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)"] @@ -41,7 +41,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -51,7 +51,7 @@ extern "C" { this: &ScreenOrientation, orientation: OrientationLockType, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "ScreenOrientation" , js_name = unlock ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ScriptProcessorNode.rs b/crates/web-sys/src/features/gen_ScriptProcessorNode.rs index cf8ed938069..c213227403f 100644 --- a/crates/web-sys/src/features/gen_ScriptProcessorNode.rs +++ b/crates/web-sys/src/features/gen_ScriptProcessorNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ScrollAreaEvent.rs b/crates/web-sys/src/features/gen_ScrollAreaEvent.rs index 962db54c0ec..c4c5103e4a9 100644 --- a/crates/web-sys/src/features/gen_ScrollAreaEvent.rs +++ b/crates/web-sys/src/features/gen_ScrollAreaEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -57,7 +57,7 @@ extern "C" { type_: &str, can_bubble: bool, ); - # [ wasm_bindgen ( method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent ) ] + # [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)"] @@ -70,7 +70,7 @@ extern "C" { cancelable: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { view: Option<&Window>, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent ) ] + # [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)"] @@ -99,7 +99,7 @@ extern "C" { detail: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent ) ] + # [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)"] @@ -115,7 +115,7 @@ extern "C" { x: f32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent ) ] + # [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)"] @@ -132,7 +132,7 @@ extern "C" { y: f32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent ) ] + # [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)"] @@ -150,7 +150,7 @@ extern "C" { width: f32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ScrollBoxObject.rs b/crates/web-sys/src/features/gen_ScrollBoxObject.rs index 0c0e66a76be..36749f197e3 100644 --- a/crates/web-sys/src/features/gen_ScrollBoxObject.rs +++ b/crates/web-sys/src/features/gen_ScrollBoxObject.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "ScrollBoxObject" , js_name = positionY ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "ScrollBoxObject" , js_name = scrolledWidth ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "ScrollBoxObject" , js_name = scrolledHeight ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `ScrollBoxObject`*"] pub fn scrolled_height(this: &ScrollBoxObject) -> Result; #[cfg(feature = "Element")] - # [ wasm_bindgen ( catch , method , structural , js_class = "ScrollBoxObject" , js_name = ensureElementIsVisible ) ] + # [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)"] @@ -50,21 +50,21 @@ extern "C" { this: &ScrollBoxObject, child: &Element, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "ScrollBoxObject" , js_name = scrollBy ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -72,7 +72,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ScrollIntoViewOptions.rs b/crates/web-sys/src/features/gen_ScrollIntoViewOptions.rs index 178638b50b8..cc3e86590ab 100644 --- a/crates/web-sys/src/features/gen_ScrollIntoViewOptions.rs +++ b/crates/web-sys/src/features/gen_ScrollIntoViewOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ScrollIntoViewOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ScrollIntoViewOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ScrollIntoViewOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ScrollOptions.rs b/crates/web-sys/src/features/gen_ScrollOptions.rs index e56c191b865..552d6e696d3 100644 --- a/crates/web-sys/src/features/gen_ScrollOptions.rs +++ b/crates/web-sys/src/features/gen_ScrollOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ScrollOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ScrollOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ScrollOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ScrollToOptions.rs b/crates/web-sys/src/features/gen_ScrollToOptions.rs index 22e3a723298..c93e05f7d22 100644 --- a/crates/web-sys/src/features/gen_ScrollToOptions.rs +++ b/crates/web-sys/src/features/gen_ScrollToOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ScrollToOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ScrollToOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ScrollToOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ScrollViewChangeEventInit.rs b/crates/web-sys/src/features/gen_ScrollViewChangeEventInit.rs index ac736662d35..1ff85150678 100644 --- a/crates/web-sys/src/features/gen_ScrollViewChangeEventInit.rs +++ b/crates/web-sys/src/features/gen_ScrollViewChangeEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ScrollViewChangeEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ScrollViewChangeEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ScrollViewChangeEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_SecurityPolicyViolationEvent.rs b/crates/web-sys/src/features/gen_SecurityPolicyViolationEvent.rs index e776c5db202..65b354d56a7 100644 --- a/crates/web-sys/src/features/gen_SecurityPolicyViolationEvent.rs +++ b/crates/web-sys/src/features/gen_SecurityPolicyViolationEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = SecurityPolicyViolationEvent , typescript_type = "SecurityPolicyViolationEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = SecurityPolicyViolationEvent , typescript_type = "SecurityPolicyViolationEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SecurityPolicyViolationEvent` class."] #[doc = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -77,21 +77,21 @@ extern "C" { pub fn disposition( this: &SecurityPolicyViolationEvent, ) -> SecurityPolicyViolationEventDisposition; - # [ wasm_bindgen ( structural , method , getter , js_class = "SecurityPolicyViolationEvent" , js_name = statusCode ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SecurityPolicyViolationEventInit.rs b/crates/web-sys/src/features/gen_SecurityPolicyViolationEventInit.rs index 2c0b38938b4..7b9d211f12e 100644 --- a/crates/web-sys/src/features/gen_SecurityPolicyViolationEventInit.rs +++ b/crates/web-sys/src/features/gen_SecurityPolicyViolationEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SecurityPolicyViolationEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SecurityPolicyViolationEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SecurityPolicyViolationEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Selection.rs b/crates/web-sys/src/features/gen_Selection.rs index 10b4c7fe549..d4636464b9b 100644 --- a/crates/web-sys/src/features/gen_Selection.rs +++ b/crates/web-sys/src/features/gen_Selection.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Selection , typescript_type = "Selection" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Selection , typescript_type = "Selection")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Selection` class."] #[doc = ""] @@ -12,14 +12,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Selection" , js_name = anchorOffset ) ] + # [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)"] @@ -27,49 +27,49 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Selection" , js_name = focusOffset ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "Selection" , js_name = caretBidiLevel ) ] + # [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)"] @@ -77,7 +77,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Selection`*"] pub fn set_caret_bidi_level(this: &Selection, value: Option) -> Result<(), JsValue>; #[cfg(feature = "Range")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Selection" , js_name = addRange ) ] + # [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)"] @@ -85,7 +85,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -93,7 +93,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -104,14 +104,14 @@ extern "C" { node: Option<&Node>, offset: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Selection" , js_name = collapseToEnd ) ] + # [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 ) ] + # [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)"] @@ -119,7 +119,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -127,7 +127,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Node`, `Selection`*"] pub fn contains_node(this: &Selection, node: &Node) -> Result; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Selection" , js_name = containsNode ) ] + # [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)"] @@ -138,14 +138,14 @@ extern "C" { node: &Node, allow_partial_containment: bool, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Selection" , js_name = deleteFromDocument ) ] + # [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 ) ] + # [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)"] @@ -153,7 +153,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -161,7 +161,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -169,14 +169,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Selection" , js_name = modify ) ] + # [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)"] @@ -188,7 +188,7 @@ extern "C" { direction: &str, granularity: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Selection" , js_name = removeAllRanges ) ] + # [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)"] @@ -196,7 +196,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -204,7 +204,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -212,7 +212,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -226,7 +226,7 @@ extern "C" { focus_offset: u32, ) -> Result<(), JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Selection" , js_name = setPosition ) ] + # [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)"] @@ -234,7 +234,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ServerSocketOptions.rs b/crates/web-sys/src/features/gen_ServerSocketOptions.rs index de3ee4bd6f8..95f7a5e9616 100644 --- a/crates/web-sys/src/features/gen_ServerSocketOptions.rs +++ b/crates/web-sys/src/features/gen_ServerSocketOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ServerSocketOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ServerSocketOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ServerSocketOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ServiceWorker.rs b/crates/web-sys/src/features/gen_ServiceWorker.rs index 112bb413146..7e006d764a6 100644 --- a/crates/web-sys/src/features/gen_ServiceWorker.rs +++ b/crates/web-sys/src/features/gen_ServiceWorker.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = ServiceWorker , typescript_type = "ServiceWorker" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = ServiceWorker , typescript_type = "ServiceWorker")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ServiceWorker` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,42 +19,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -64,7 +64,7 @@ extern "C" { this: &ServiceWorker, message: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "ServiceWorker" , js_name = postMessage ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ServiceWorkerContainer.rs b/crates/web-sys/src/features/gen_ServiceWorkerContainer.rs index cfc4ec8800d..d2be819c51e 100644 --- a/crates/web-sys/src/features/gen_ServiceWorkerContainer.rs +++ b/crates/web-sys/src/features/gen_ServiceWorkerContainer.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = ServiceWorkerContainer , typescript_type = "ServiceWorkerContainer" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = ServiceWorkerContainer , typescript_type = "ServiceWorkerContainer")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ServiceWorkerContainer` class."] #[doc = ""] @@ -12,28 +12,28 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "ServiceWorkerContainer" , js_name = ready ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -43,42 +43,42 @@ extern "C" { this: &ServiceWorkerContainer, value: Option<&::js_sys::Function>, ); - # [ wasm_bindgen ( structural , method , getter , js_class = "ServiceWorkerContainer" , js_name = onerror ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -88,21 +88,21 @@ extern "C" { this: &ServiceWorkerContainer, document_url: &str, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "ServiceWorkerContainer" , js_name = getRegistrations ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "ServiceWorkerContainer" , js_name = register ) ] + # [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)"] @@ -110,7 +110,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ServiceWorkerGlobalScope.rs b/crates/web-sys/src/features/gen_ServiceWorkerGlobalScope.rs index ffb3b586611..e25ebbc4459 100644 --- a/crates/web-sys/src/features/gen_ServiceWorkerGlobalScope.rs +++ b/crates/web-sys/src/features/gen_ServiceWorkerGlobalScope.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,91 +20,91 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -114,14 +114,14 @@ extern "C" { this: &ServiceWorkerGlobalScope, value: Option<&::js_sys::Function>, ); - # [ wasm_bindgen ( structural , method , getter , js_class = "ServiceWorkerGlobalScope" , js_name = onnotificationclick ) ] + # [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 ) ] + # [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)"] @@ -131,14 +131,14 @@ extern "C" { this: &ServiceWorkerGlobalScope, value: Option<&::js_sys::Function>, ); - # [ wasm_bindgen ( structural , method , getter , js_class = "ServiceWorkerGlobalScope" , js_name = onnotificationclose ) ] + # [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 ) ] + # [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)"] @@ -148,7 +148,7 @@ extern "C" { this: &ServiceWorkerGlobalScope, value: Option<&::js_sys::Function>, ); - # [ wasm_bindgen ( catch , method , structural , js_class = "ServiceWorkerGlobalScope" , js_name = skipWaiting ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ServiceWorkerRegistration.rs b/crates/web-sys/src/features/gen_ServiceWorkerRegistration.rs index a10ce0b532e..06155365c92 100644 --- a/crates/web-sys/src/features/gen_ServiceWorkerRegistration.rs +++ b/crates/web-sys/src/features/gen_ServiceWorkerRegistration.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = ServiceWorkerRegistration , typescript_type = "ServiceWorkerRegistration" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = ServiceWorkerRegistration , typescript_type = "ServiceWorkerRegistration")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ServiceWorkerRegistration` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerRegistration`*"] pub fn installing(this: &ServiceWorkerRegistration) -> Option; #[cfg(feature = "ServiceWorker")] - # [ wasm_bindgen ( structural , method , getter , js_class = "ServiceWorkerRegistration" , js_name = waiting ) ] + # [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)"] @@ -28,14 +28,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerRegistration`*"] pub fn waiting(this: &ServiceWorkerRegistration) -> Option; #[cfg(feature = "ServiceWorker")] - # [ wasm_bindgen ( structural , method , getter , js_class = "ServiceWorkerRegistration" , js_name = active ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "ServiceWorkerRegistration" , js_name = scope ) ] + # [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)"] @@ -43,7 +43,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,14 +52,14 @@ extern "C" { pub fn update_via_cache( this: &ServiceWorkerRegistration, ) -> Result; - # [ wasm_bindgen ( structural , method , getter , js_class = "ServiceWorkerRegistration" , js_name = onupdatefound ) ] + # [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 ) ] + # [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)"] @@ -67,14 +67,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "ServiceWorkerRegistration" , js_name = getNotifications ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { this: &ServiceWorkerRegistration, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "GetNotificationOptions")] - # [ wasm_bindgen ( catch , method , structural , js_class = "ServiceWorkerRegistration" , js_name = getNotifications ) ] + # [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)"] @@ -94,7 +94,7 @@ extern "C" { this: &ServiceWorkerRegistration, filter: &GetNotificationOptions, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "ServiceWorkerRegistration" , js_name = showNotification ) ] + # [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)"] @@ -105,7 +105,7 @@ extern "C" { title: &str, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "NotificationOptions")] - # [ wasm_bindgen ( catch , method , structural , js_class = "ServiceWorkerRegistration" , js_name = showNotification ) ] + # [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)"] @@ -116,14 +116,14 @@ extern "C" { title: &str, options: &NotificationOptions, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "ServiceWorkerRegistration" , js_name = unregister ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ShadowRoot.rs b/crates/web-sys/src/features/gen_ShadowRoot.rs index 2e977aaa7ab..a0186ea2eb4 100644 --- a/crates/web-sys/src/features/gen_ShadowRoot.rs +++ b/crates/web-sys/src/features/gen_ShadowRoot.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,21 +20,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*"] pub fn active_element(this: &ShadowRoot) -> Option; #[cfg(feature = "StyleSheetList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "ShadowRoot" , js_name = styleSheets ) ] + # [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)"] @@ -58,7 +58,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -66,7 +66,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*"] pub fn pointer_lock_element(this: &ShadowRoot) -> Option; #[cfg(feature = "Element")] - # [ wasm_bindgen ( structural , method , getter , js_class = "ShadowRoot" , js_name = fullscreenElement ) ] + # [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)"] @@ -74,7 +74,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*"] pub fn fullscreen_element(this: &ShadowRoot) -> Option; #[cfg(feature = "Element")] - # [ wasm_bindgen ( method , structural , js_class = "ShadowRoot" , js_name = getElementById ) ] + # [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)"] @@ -82,7 +82,7 @@ extern "C" { #[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; #[cfg(feature = "HtmlCollection")] - # [ wasm_bindgen ( method , structural , js_class = "ShadowRoot" , js_name = getElementsByClassName ) ] + # [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)"] @@ -90,7 +90,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -98,7 +98,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -110,14 +110,14 @@ extern "C" { local_name: &str, ) -> HtmlCollection; #[cfg(feature = "Element")] - # [ wasm_bindgen ( method , structural , js_class = "ShadowRoot" , js_name = elementFromPoint ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "ShadowRoot" , js_name = elementsFromPoint ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_ShadowRootInit.rs b/crates/web-sys/src/features/gen_ShadowRootInit.rs index 39a5f70c516..762fc9e81dd 100644 --- a/crates/web-sys/src/features/gen_ShadowRootInit.rs +++ b/crates/web-sys/src/features/gen_ShadowRootInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ShadowRootInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ShadowRootInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ShadowRootInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_SharedWorker.rs b/crates/web-sys/src/features/gen_SharedWorker.rs index af1d2e2aeab..28c93e7700c 100644 --- a/crates/web-sys/src/features/gen_SharedWorker.rs +++ b/crates/web-sys/src/features/gen_SharedWorker.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = SharedWorker , typescript_type = "SharedWorker" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SharedWorker , typescript_type = "SharedWorker")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SharedWorker` class."] #[doc = ""] @@ -12,21 +12,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SharedWorkerGlobalScope.rs b/crates/web-sys/src/features/gen_SharedWorkerGlobalScope.rs index 3a63cb83e7a..b77b9f89245 100644 --- a/crates/web-sys/src/features/gen_SharedWorkerGlobalScope.rs +++ b/crates/web-sys/src/features/gen_SharedWorkerGlobalScope.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SignResponse.rs b/crates/web-sys/src/features/gen_SignResponse.rs index 9bdb7a846d0..7b606e2c9fa 100644 --- a/crates/web-sys/src/features/gen_SignResponse.rs +++ b/crates/web-sys/src/features/gen_SignResponse.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SignResponse ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SignResponse)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SignResponse` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_SocketElement.rs b/crates/web-sys/src/features/gen_SocketElement.rs index 44717e1682f..90357c1a256 100644 --- a/crates/web-sys/src/features/gen_SocketElement.rs +++ b/crates/web-sys/src/features/gen_SocketElement.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SocketElement ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SocketElement)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SocketElement` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_SocketOptions.rs b/crates/web-sys/src/features/gen_SocketOptions.rs index b5a3fa0400a..83bbb2f0ad6 100644 --- a/crates/web-sys/src/features/gen_SocketOptions.rs +++ b/crates/web-sys/src/features/gen_SocketOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SocketOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SocketOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SocketOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_SocketsDict.rs b/crates/web-sys/src/features/gen_SocketsDict.rs index bfb9e398976..152a78764e3 100644 --- a/crates/web-sys/src/features/gen_SocketsDict.rs +++ b/crates/web-sys/src/features/gen_SocketsDict.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SocketsDict ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SocketsDict)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SocketsDict` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_SourceBuffer.rs b/crates/web-sys/src/features/gen_SourceBuffer.rs index ed1c4564d27..fd4fb5b678a 100644 --- a/crates/web-sys/src/features/gen_SourceBuffer.rs +++ b/crates/web-sys/src/features/gen_SourceBuffer.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = SourceBuffer , typescript_type = "SourceBuffer" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SourceBuffer , typescript_type = "SourceBuffer")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SourceBuffer` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,14 +20,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -35,133 +35,133 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "SourceBuffer" , js_name = timestampOffset ) ] + # [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 ) ] + # [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); - # [ wasm_bindgen ( structural , method , getter , js_class = "SourceBuffer" , js_name = appendWindowStart ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -171,7 +171,7 @@ extern "C" { this: &SourceBuffer, data: &::js_sys::ArrayBuffer, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SourceBuffer" , js_name = appendBuffer ) ] + # [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)"] @@ -181,7 +181,7 @@ extern "C" { this: &SourceBuffer, data: &::js_sys::Object, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SourceBuffer" , js_name = appendBuffer ) ] + # [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)"] @@ -189,7 +189,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -199,7 +199,7 @@ extern "C" { this: &SourceBuffer, data: &::js_sys::ArrayBuffer, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SourceBuffer" , js_name = appendBufferAsync ) ] + # [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)"] @@ -209,7 +209,7 @@ extern "C" { this: &SourceBuffer, data: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SourceBuffer" , js_name = appendBufferAsync ) ] + # [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)"] @@ -219,21 +219,21 @@ extern "C" { this: &SourceBuffer, data: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SourceBuffer" , js_name = changeType ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SourceBufferList.rs b/crates/web-sys/src/features/gen_SourceBufferList.rs index 98f3463561e..37e0e23075b 100644 --- a/crates/web-sys/src/features/gen_SourceBufferList.rs +++ b/crates/web-sys/src/features/gen_SourceBufferList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = SourceBufferList , typescript_type = "SourceBufferList" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SourceBufferList , typescript_type = "SourceBufferList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SourceBufferList` class."] #[doc = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SpeechGrammar.rs b/crates/web-sys/src/features/gen_SpeechGrammar.rs index c9ad3590941..f9a24accc5f 100644 --- a/crates/web-sys/src/features/gen_SpeechGrammar.rs +++ b/crates/web-sys/src/features/gen_SpeechGrammar.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SpeechGrammar , typescript_type = "SpeechGrammar" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechGrammar , typescript_type = "SpeechGrammar")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechGrammar` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "SpeechGrammar" , js_name = src ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "SpeechGrammar" , js_name = weight ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SpeechGrammarList.rs b/crates/web-sys/src/features/gen_SpeechGrammarList.rs index fdfafbab3bf..1f9e7a72160 100644 --- a/crates/web-sys/src/features/gen_SpeechGrammarList.rs +++ b/crates/web-sys/src/features/gen_SpeechGrammarList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SpeechGrammarList , typescript_type = "SpeechGrammarList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechGrammarList , typescript_type = "SpeechGrammarList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechGrammarList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -25,14 +25,14 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `SpeechGrammarList`*"] pub fn new() -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "SpeechGrammarList" , js_name = addFromString ) ] + # [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 ) ] + # [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)"] @@ -43,14 +43,14 @@ extern "C" { string: &str, weight: f32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SpeechGrammarList" , js_name = addFromURI ) ] + # [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 ) ] + # [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)"] @@ -62,7 +62,7 @@ extern "C" { weight: f32, ) -> Result<(), JsValue>; #[cfg(feature = "SpeechGrammar")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SpeechGrammarList" , js_name = item ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SpeechRecognition.rs b/crates/web-sys/src/features/gen_SpeechRecognition.rs index 17924de7ab0..10bb4a75e95 100644 --- a/crates/web-sys/src/features/gen_SpeechRecognition.rs +++ b/crates/web-sys/src/features/gen_SpeechRecognition.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = SpeechRecognition , typescript_type = "SpeechRecognition" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SpeechRecognition , typescript_type = "SpeechRecognition")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechRecognition` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,231 +20,231 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "SpeechRecognition" , js_name = continuous ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "SpeechRecognition" , js_name = serviceURI ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -258,14 +258,14 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `SpeechRecognition`*"] pub fn new() -> Result; - # [ wasm_bindgen ( method , structural , js_class = "SpeechRecognition" , js_name = abort ) ] + # [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 ) ] + # [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)"] @@ -273,7 +273,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -281,7 +281,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SpeechRecognitionAlternative.rs b/crates/web-sys/src/features/gen_SpeechRecognitionAlternative.rs index 917404b11ac..5aced7fb38d 100644 --- a/crates/web-sys/src/features/gen_SpeechRecognitionAlternative.rs +++ b/crates/web-sys/src/features/gen_SpeechRecognitionAlternative.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SpeechRecognitionAlternative , typescript_type = "SpeechRecognitionAlternative" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechRecognitionAlternative , typescript_type = "SpeechRecognitionAlternative")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechRecognitionAlternative` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SpeechRecognitionError.rs b/crates/web-sys/src/features/gen_SpeechRecognitionError.rs index a32ef47a596..37111271203 100644 --- a/crates/web-sys/src/features/gen_SpeechRecognitionError.rs +++ b/crates/web-sys/src/features/gen_SpeechRecognitionError.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = SpeechRecognitionError , typescript_type = "SpeechRecognitionError" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = SpeechRecognitionError , typescript_type = "SpeechRecognitionError")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechRecognitionError` class."] #[doc = ""] @@ -12,14 +12,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SpeechRecognitionErrorInit.rs b/crates/web-sys/src/features/gen_SpeechRecognitionErrorInit.rs index 12f3ad21ea4..d9d26fa5b53 100644 --- a/crates/web-sys/src/features/gen_SpeechRecognitionErrorInit.rs +++ b/crates/web-sys/src/features/gen_SpeechRecognitionErrorInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SpeechRecognitionErrorInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechRecognitionErrorInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechRecognitionErrorInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_SpeechRecognitionEvent.rs b/crates/web-sys/src/features/gen_SpeechRecognitionEvent.rs index 352f4cb1777..1e37c86ab59 100644 --- a/crates/web-sys/src/features/gen_SpeechRecognitionEvent.rs +++ b/crates/web-sys/src/features/gen_SpeechRecognitionEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = SpeechRecognitionEvent , typescript_type = "SpeechRecognitionEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = SpeechRecognitionEvent , typescript_type = "SpeechRecognitionEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechRecognitionEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,14 +19,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "SpeechRecognitionEvent" , js_name = interpretation ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SpeechRecognitionEventInit.rs b/crates/web-sys/src/features/gen_SpeechRecognitionEventInit.rs index f4dc4e7dab4..75006ae8696 100644 --- a/crates/web-sys/src/features/gen_SpeechRecognitionEventInit.rs +++ b/crates/web-sys/src/features/gen_SpeechRecognitionEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SpeechRecognitionEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechRecognitionEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechRecognitionEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_SpeechRecognitionResult.rs b/crates/web-sys/src/features/gen_SpeechRecognitionResult.rs index f0be76a1384..15075334d81 100644 --- a/crates/web-sys/src/features/gen_SpeechRecognitionResult.rs +++ b/crates/web-sys/src/features/gen_SpeechRecognitionResult.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SpeechRecognitionResult , typescript_type = "SpeechRecognitionResult" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechRecognitionResult , typescript_type = "SpeechRecognitionResult")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechRecognitionResult` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SpeechRecognitionResultList.rs b/crates/web-sys/src/features/gen_SpeechRecognitionResultList.rs index deead6fc57f..9201f8e5312 100644 --- a/crates/web-sys/src/features/gen_SpeechRecognitionResultList.rs +++ b/crates/web-sys/src/features/gen_SpeechRecognitionResultList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SpeechRecognitionResultList , typescript_type = "SpeechRecognitionResultList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechRecognitionResultList , typescript_type = "SpeechRecognitionResultList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechRecognitionResultList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SpeechSynthesis.rs b/crates/web-sys/src/features/gen_SpeechSynthesis.rs index 03daa2fc095..729f47d0022 100644 --- a/crates/web-sys/src/features/gen_SpeechSynthesis.rs +++ b/crates/web-sys/src/features/gen_SpeechSynthesis.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = SpeechSynthesis , typescript_type = "SpeechSynthesis" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SpeechSynthesis , typescript_type = "SpeechSynthesis")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechSynthesis` class."] #[doc = ""] @@ -11,63 +11,63 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -75,7 +75,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SpeechSynthesisErrorEvent.rs b/crates/web-sys/src/features/gen_SpeechSynthesisErrorEvent.rs index 45434897d5e..9d6354531ab 100644 --- a/crates/web-sys/src/features/gen_SpeechSynthesisErrorEvent.rs +++ b/crates/web-sys/src/features/gen_SpeechSynthesisErrorEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SpeechSynthesisErrorEventInit.rs b/crates/web-sys/src/features/gen_SpeechSynthesisErrorEventInit.rs index 2e2cabe789f..8bb2801a3ab 100644 --- a/crates/web-sys/src/features/gen_SpeechSynthesisErrorEventInit.rs +++ b/crates/web-sys/src/features/gen_SpeechSynthesisErrorEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SpeechSynthesisErrorEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechSynthesisErrorEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechSynthesisErrorEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_SpeechSynthesisEvent.rs b/crates/web-sys/src/features/gen_SpeechSynthesisEvent.rs index 57061e21c3e..361fb54c98f 100644 --- a/crates/web-sys/src/features/gen_SpeechSynthesisEvent.rs +++ b/crates/web-sys/src/features/gen_SpeechSynthesisEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = SpeechSynthesisEvent , typescript_type = "SpeechSynthesisEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = SpeechSynthesisEvent , typescript_type = "SpeechSynthesisEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechSynthesisEvent` class."] #[doc = ""] @@ -12,35 +12,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "SpeechSynthesisEvent" , js_name = elapsedTime ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SpeechSynthesisEventInit.rs b/crates/web-sys/src/features/gen_SpeechSynthesisEventInit.rs index d656bfa960e..83ddf5e9715 100644 --- a/crates/web-sys/src/features/gen_SpeechSynthesisEventInit.rs +++ b/crates/web-sys/src/features/gen_SpeechSynthesisEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SpeechSynthesisEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechSynthesisEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechSynthesisEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_SpeechSynthesisUtterance.rs b/crates/web-sys/src/features/gen_SpeechSynthesisUtterance.rs index 7c58f6c9c0f..aa7eaacf3a9 100644 --- a/crates/web-sys/src/features/gen_SpeechSynthesisUtterance.rs +++ b/crates/web-sys/src/features/gen_SpeechSynthesisUtterance.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = SpeechSynthesisUtterance , typescript_type = "SpeechSynthesisUtterance" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = SpeechSynthesisUtterance , typescript_type = "SpeechSynthesisUtterance")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechSynthesisUtterance` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -48,147 +48,147 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`, `SpeechSynthesisVoice`*"] pub fn voice(this: &SpeechSynthesisUtterance) -> Option; #[cfg(feature = "SpeechSynthesisVoice")] - # [ wasm_bindgen ( structural , method , setter , js_class = "SpeechSynthesisUtterance" , js_name = voice ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SpeechSynthesisVoice.rs b/crates/web-sys/src/features/gen_SpeechSynthesisVoice.rs index 3b1063461a3..26012757927 100644 --- a/crates/web-sys/src/features/gen_SpeechSynthesisVoice.rs +++ b/crates/web-sys/src/features/gen_SpeechSynthesisVoice.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SpeechSynthesisVoice , typescript_type = "SpeechSynthesisVoice" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SpeechSynthesisVoice , typescript_type = "SpeechSynthesisVoice")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SpeechSynthesisVoice` class."] #[doc = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_StereoPannerNode.rs b/crates/web-sys/src/features/gen_StereoPannerNode.rs index 2623e837fa5..8accee506f1 100644 --- a/crates/web-sys/src/features/gen_StereoPannerNode.rs +++ b/crates/web-sys/src/features/gen_StereoPannerNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_StereoPannerOptions.rs b/crates/web-sys/src/features/gen_StereoPannerOptions.rs index e6742b36f6e..eeb72aa9fc6 100644 --- a/crates/web-sys/src/features/gen_StereoPannerOptions.rs +++ b/crates/web-sys/src/features/gen_StereoPannerOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = StereoPannerOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StereoPannerOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `StereoPannerOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Storage.rs b/crates/web-sys/src/features/gen_Storage.rs index f188951a43b..2a287b7d928 100644 --- a/crates/web-sys/src/features/gen_Storage.rs +++ b/crates/web-sys/src/features/gen_Storage.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Storage , typescript_type = "Storage" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Storage , typescript_type = "Storage")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Storage` class."] #[doc = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Storage" , js_name = clear ) ] + # [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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Storage" , js_name = key ) ] + # [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, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Storage" , js_name = removeItem ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_StorageEstimate.rs b/crates/web-sys/src/features/gen_StorageEstimate.rs index df378be5e60..47d8afa382b 100644 --- a/crates/web-sys/src/features/gen_StorageEstimate.rs +++ b/crates/web-sys/src/features/gen_StorageEstimate.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = StorageEstimate ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StorageEstimate)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `StorageEstimate` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_StorageEvent.rs b/crates/web-sys/src/features/gen_StorageEvent.rs index fc7803b6ee2..8030d407dcf 100644 --- a/crates/web-sys/src/features/gen_StorageEvent.rs +++ b/crates/web-sys/src/features/gen_StorageEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = StorageEvent , typescript_type = "StorageEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = StorageEvent , typescript_type = "StorageEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `StorageEvent` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "StorageEvent" , js_name = oldValue ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "StorageEvent" , js_name = newValue ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "StorageEvent" , js_name = url ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `StorageEvent`*"] pub fn url(this: &StorageEvent) -> Option; #[cfg(feature = "Storage")] - # [ wasm_bindgen ( structural , method , getter , js_class = "StorageEvent" , js_name = storageArea ) ] + # [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)"] @@ -65,21 +65,21 @@ extern "C" { type_: &str, event_init_dict: &StorageEventInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "StorageEvent" , js_name = initStorageEvent ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -91,7 +91,7 @@ extern "C" { can_bubble: bool, cancelable: bool, ); - # [ wasm_bindgen ( method , structural , js_class = "StorageEvent" , js_name = initStorageEvent ) ] + # [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)"] @@ -104,7 +104,7 @@ extern "C" { cancelable: bool, key: Option<&str>, ); - # [ wasm_bindgen ( method , structural , js_class = "StorageEvent" , js_name = initStorageEvent ) ] + # [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)"] @@ -118,7 +118,7 @@ extern "C" { key: Option<&str>, old_value: Option<&str>, ); - # [ wasm_bindgen ( method , structural , js_class = "StorageEvent" , js_name = initStorageEvent ) ] + # [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)"] @@ -133,7 +133,7 @@ extern "C" { old_value: Option<&str>, new_value: Option<&str>, ); - # [ wasm_bindgen ( method , structural , js_class = "StorageEvent" , js_name = initStorageEvent ) ] + # [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)"] @@ -150,7 +150,7 @@ extern "C" { url: Option<&str>, ); #[cfg(feature = "Storage")] - # [ wasm_bindgen ( method , structural , js_class = "StorageEvent" , js_name = initStorageEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_StorageEventInit.rs b/crates/web-sys/src/features/gen_StorageEventInit.rs index 89ec3c70379..e4475f33196 100644 --- a/crates/web-sys/src/features/gen_StorageEventInit.rs +++ b/crates/web-sys/src/features/gen_StorageEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = StorageEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StorageEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `StorageEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_StorageManager.rs b/crates/web-sys/src/features/gen_StorageManager.rs index 8d42c2ec50f..9901c79509c 100644 --- a/crates/web-sys/src/features/gen_StorageManager.rs +++ b/crates/web-sys/src/features/gen_StorageManager.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = StorageManager , typescript_type = "StorageManager" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StorageManager , typescript_type = "StorageManager")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `StorageManager` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_StyleRuleChangeEventInit.rs b/crates/web-sys/src/features/gen_StyleRuleChangeEventInit.rs index 53279b6a026..9436148407c 100644 --- a/crates/web-sys/src/features/gen_StyleRuleChangeEventInit.rs +++ b/crates/web-sys/src/features/gen_StyleRuleChangeEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = StyleRuleChangeEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StyleRuleChangeEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `StyleRuleChangeEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_StyleSheet.rs b/crates/web-sys/src/features/gen_StyleSheet.rs index 3fc64be94ed..b539c60e30c 100644 --- a/crates/web-sys/src/features/gen_StyleSheet.rs +++ b/crates/web-sys/src/features/gen_StyleSheet.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = StyleSheet , typescript_type = "StyleSheet" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StyleSheet , typescript_type = "StyleSheet")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `StyleSheet` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,21 +26,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `StyleSheet`*"] pub fn href(this: &StyleSheet) -> Result, JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( structural , method , getter , js_class = "StyleSheet" , js_name = ownerNode ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "StyleSheet" , js_name = parentStyleSheet ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "StyleSheet" , js_name = title ) ] + # [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)"] @@ -48,21 +48,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `StyleSheet`*"] pub fn title(this: &StyleSheet) -> Option; #[cfg(feature = "MediaList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "StyleSheet" , js_name = media ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_StyleSheetApplicableStateChangeEventInit.rs b/crates/web-sys/src/features/gen_StyleSheetApplicableStateChangeEventInit.rs index e1ea04b3cae..f8ecca9725a 100644 --- a/crates/web-sys/src/features/gen_StyleSheetApplicableStateChangeEventInit.rs +++ b/crates/web-sys/src/features/gen_StyleSheetApplicableStateChangeEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = StyleSheetApplicableStateChangeEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StyleSheetApplicableStateChangeEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `StyleSheetApplicableStateChangeEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_StyleSheetChangeEventInit.rs b/crates/web-sys/src/features/gen_StyleSheetChangeEventInit.rs index 0c2f2232bfc..67cad5b4552 100644 --- a/crates/web-sys/src/features/gen_StyleSheetChangeEventInit.rs +++ b/crates/web-sys/src/features/gen_StyleSheetChangeEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = StyleSheetChangeEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StyleSheetChangeEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `StyleSheetChangeEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_StyleSheetList.rs b/crates/web-sys/src/features/gen_StyleSheetList.rs index e8be75c5a6c..ce7c706e881 100644 --- a/crates/web-sys/src/features/gen_StyleSheetList.rs +++ b/crates/web-sys/src/features/gen_StyleSheetList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = StyleSheetList , typescript_type = "StyleSheetList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = StyleSheetList , typescript_type = "StyleSheetList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `StyleSheetList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SubtleCrypto.rs b/crates/web-sys/src/features/gen_SubtleCrypto.rs index 97a7d23a3b8..516e819bacb 100644 --- a/crates/web-sys/src/features/gen_SubtleCrypto.rs +++ b/crates/web-sys/src/features/gen_SubtleCrypto.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SubtleCrypto , typescript_type = "SubtleCrypto" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SubtleCrypto , typescript_type = "SubtleCrypto")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SubtleCrypto` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -25,7 +25,7 @@ extern "C" { data: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = decrypt ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { data: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = decrypt ) ] + # [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)"] @@ -51,7 +51,7 @@ extern "C" { data: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = decrypt ) ] + # [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)"] @@ -64,7 +64,7 @@ extern "C" { data: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = deriveBits ) ] + # [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)"] @@ -77,7 +77,7 @@ extern "C" { length: u32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = deriveBits ) ] + # [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)"] @@ -90,7 +90,7 @@ extern "C" { length: u32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = deriveKey ) ] + # [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)"] @@ -105,7 +105,7 @@ extern "C" { key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = deriveKey ) ] + # [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)"] @@ -120,7 +120,7 @@ extern "C" { key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = deriveKey ) ] + # [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)"] @@ -135,7 +135,7 @@ extern "C" { key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = deriveKey ) ] + # [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)"] @@ -149,7 +149,7 @@ extern "C" { extractable: bool, key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = digest ) ] + # [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)"] @@ -160,7 +160,7 @@ extern "C" { algorithm: &::js_sys::Object, data: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = digest ) ] + # [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)"] @@ -171,7 +171,7 @@ extern "C" { algorithm: &str, data: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = digest ) ] + # [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)"] @@ -182,7 +182,7 @@ extern "C" { algorithm: &::js_sys::Object, data: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = digest ) ] + # [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)"] @@ -194,7 +194,7 @@ extern "C" { data: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = encrypt ) ] + # [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)"] @@ -207,7 +207,7 @@ extern "C" { data: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = encrypt ) ] + # [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)"] @@ -220,7 +220,7 @@ extern "C" { data: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = encrypt ) ] + # [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)"] @@ -233,7 +233,7 @@ extern "C" { data: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = encrypt ) ] + # [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)"] @@ -246,7 +246,7 @@ extern "C" { data: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = exportKey ) ] + # [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)"] @@ -257,7 +257,7 @@ extern "C" { format: &str, key: &CryptoKey, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = generateKey ) ] + # [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)"] @@ -269,7 +269,7 @@ extern "C" { extractable: bool, key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = generateKey ) ] + # [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)"] @@ -281,7 +281,7 @@ extern "C" { extractable: bool, key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = importKey ) ] + # [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)"] @@ -295,7 +295,7 @@ extern "C" { extractable: bool, key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = importKey ) ] + # [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)"] @@ -310,7 +310,7 @@ extern "C" { key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = sign ) ] + # [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)"] @@ -323,7 +323,7 @@ extern "C" { data: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = sign ) ] + # [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)"] @@ -336,7 +336,7 @@ extern "C" { data: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = sign ) ] + # [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)"] @@ -349,7 +349,7 @@ extern "C" { data: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = sign ) ] + # [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)"] @@ -362,7 +362,7 @@ extern "C" { data: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey ) ] + # [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)"] @@ -379,7 +379,7 @@ extern "C" { key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey ) ] + # [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)"] @@ -396,7 +396,7 @@ extern "C" { key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey ) ] + # [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)"] @@ -413,7 +413,7 @@ extern "C" { key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey ) ] + # [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)"] @@ -430,7 +430,7 @@ extern "C" { key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey ) ] + # [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)"] @@ -447,7 +447,7 @@ extern "C" { key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey ) ] + # [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)"] @@ -464,7 +464,7 @@ extern "C" { key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey ) ] + # [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)"] @@ -481,7 +481,7 @@ extern "C" { key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = unwrapKey ) ] + # [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)"] @@ -498,7 +498,7 @@ extern "C" { key_usages: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = verify ) ] + # [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)"] @@ -512,7 +512,7 @@ extern "C" { data: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = verify ) ] + # [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)"] @@ -526,7 +526,7 @@ extern "C" { data: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = verify ) ] + # [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)"] @@ -540,7 +540,7 @@ extern "C" { data: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = verify ) ] + # [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)"] @@ -554,7 +554,7 @@ extern "C" { data: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = verify ) ] + # [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)"] @@ -568,7 +568,7 @@ extern "C" { data: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = verify ) ] + # [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)"] @@ -582,7 +582,7 @@ extern "C" { data: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = verify ) ] + # [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)"] @@ -596,7 +596,7 @@ extern "C" { data: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = verify ) ] + # [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)"] @@ -610,7 +610,7 @@ extern "C" { data: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = wrapKey ) ] + # [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)"] @@ -624,7 +624,7 @@ extern "C" { wrap_algorithm: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CryptoKey")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SubtleCrypto" , js_name = wrapKey ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAngle.rs b/crates/web-sys/src/features/gen_SvgAngle.rs index 4ead1d212a6..3406dfdfe8c 100644 --- a/crates/web-sys/src/features/gen_SvgAngle.rs +++ b/crates/web-sys/src/features/gen_SvgAngle.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAngle , typescript_type = "SVGAngle" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAngle , typescript_type = "SVGAngle")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgAngle` class."] #[doc = ""] @@ -11,63 +11,63 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAnimateElement.rs b/crates/web-sys/src/features/gen_SvgAnimateElement.rs index 5b4673def15..273f132de67 100644 --- a/crates/web-sys/src/features/gen_SvgAnimateElement.rs +++ b/crates/web-sys/src/features/gen_SvgAnimateElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgAnimateMotionElement.rs b/crates/web-sys/src/features/gen_SvgAnimateMotionElement.rs index 270f32e6fa6..2d29f194876 100644 --- a/crates/web-sys/src/features/gen_SvgAnimateMotionElement.rs +++ b/crates/web-sys/src/features/gen_SvgAnimateMotionElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgAnimateTransformElement.rs b/crates/web-sys/src/features/gen_SvgAnimateTransformElement.rs index be7218a6307..c1d437c228a 100644 --- a/crates/web-sys/src/features/gen_SvgAnimateTransformElement.rs +++ b/crates/web-sys/src/features/gen_SvgAnimateTransformElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgAnimatedAngle.rs b/crates/web-sys/src/features/gen_SvgAnimatedAngle.rs index ffc1576a8c5..ffcfd63e42d 100644 --- a/crates/web-sys/src/features/gen_SvgAnimatedAngle.rs +++ b/crates/web-sys/src/features/gen_SvgAnimatedAngle.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAnimatedAngle , typescript_type = "SVGAnimatedAngle" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedAngle , typescript_type = "SVGAnimatedAngle")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgAnimatedAngle` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAnimatedBoolean.rs b/crates/web-sys/src/features/gen_SvgAnimatedBoolean.rs index b7ffa075d88..99b3d98a05d 100644 --- a/crates/web-sys/src/features/gen_SvgAnimatedBoolean.rs +++ b/crates/web-sys/src/features/gen_SvgAnimatedBoolean.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAnimatedBoolean , typescript_type = "SVGAnimatedBoolean" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedBoolean , typescript_type = "SVGAnimatedBoolean")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgAnimatedBoolean` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAnimatedEnumeration.rs b/crates/web-sys/src/features/gen_SvgAnimatedEnumeration.rs index f72d2faf439..2d9172db7e6 100644 --- a/crates/web-sys/src/features/gen_SvgAnimatedEnumeration.rs +++ b/crates/web-sys/src/features/gen_SvgAnimatedEnumeration.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAnimatedEnumeration , typescript_type = "SVGAnimatedEnumeration" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedEnumeration , typescript_type = "SVGAnimatedEnumeration")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgAnimatedEnumeration` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAnimatedInteger.rs b/crates/web-sys/src/features/gen_SvgAnimatedInteger.rs index e4ad5c57d3d..89690a26105 100644 --- a/crates/web-sys/src/features/gen_SvgAnimatedInteger.rs +++ b/crates/web-sys/src/features/gen_SvgAnimatedInteger.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAnimatedInteger , typescript_type = "SVGAnimatedInteger" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedInteger , typescript_type = "SVGAnimatedInteger")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgAnimatedInteger` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAnimatedLength.rs b/crates/web-sys/src/features/gen_SvgAnimatedLength.rs index a87e6323b22..8348f7d0259 100644 --- a/crates/web-sys/src/features/gen_SvgAnimatedLength.rs +++ b/crates/web-sys/src/features/gen_SvgAnimatedLength.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAnimatedLength , typescript_type = "SVGAnimatedLength" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedLength , typescript_type = "SVGAnimatedLength")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgAnimatedLength` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAnimatedLengthList.rs b/crates/web-sys/src/features/gen_SvgAnimatedLengthList.rs index 72222b4de27..9e5032f1688 100644 --- a/crates/web-sys/src/features/gen_SvgAnimatedLengthList.rs +++ b/crates/web-sys/src/features/gen_SvgAnimatedLengthList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAnimatedLengthList , typescript_type = "SVGAnimatedLengthList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedLengthList , typescript_type = "SVGAnimatedLengthList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgAnimatedLengthList` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAnimatedNumber.rs b/crates/web-sys/src/features/gen_SvgAnimatedNumber.rs index 9cb0e951321..c38e204b89c 100644 --- a/crates/web-sys/src/features/gen_SvgAnimatedNumber.rs +++ b/crates/web-sys/src/features/gen_SvgAnimatedNumber.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAnimatedNumber , typescript_type = "SVGAnimatedNumber" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedNumber , typescript_type = "SVGAnimatedNumber")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgAnimatedNumber` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAnimatedNumberList.rs b/crates/web-sys/src/features/gen_SvgAnimatedNumberList.rs index 17bfd72b7fa..ec5ab3718dd 100644 --- a/crates/web-sys/src/features/gen_SvgAnimatedNumberList.rs +++ b/crates/web-sys/src/features/gen_SvgAnimatedNumberList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAnimatedNumberList , typescript_type = "SVGAnimatedNumberList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedNumberList , typescript_type = "SVGAnimatedNumberList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgAnimatedNumberList` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAnimatedPreserveAspectRatio.rs b/crates/web-sys/src/features/gen_SvgAnimatedPreserveAspectRatio.rs index 9e7aad0b52b..4dee971d759 100644 --- a/crates/web-sys/src/features/gen_SvgAnimatedPreserveAspectRatio.rs +++ b/crates/web-sys/src/features/gen_SvgAnimatedPreserveAspectRatio.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAnimatedPreserveAspectRatio , typescript_type = "SVGAnimatedPreserveAspectRatio" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedPreserveAspectRatio , typescript_type = "SVGAnimatedPreserveAspectRatio")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgAnimatedPreserveAspectRatio` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAnimatedRect.rs b/crates/web-sys/src/features/gen_SvgAnimatedRect.rs index af2fd3f3e21..45daf5d4f56 100644 --- a/crates/web-sys/src/features/gen_SvgAnimatedRect.rs +++ b/crates/web-sys/src/features/gen_SvgAnimatedRect.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAnimatedRect , typescript_type = "SVGAnimatedRect" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedRect , typescript_type = "SVGAnimatedRect")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgAnimatedRect` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgRect`*"] pub fn base_val(this: &SvgAnimatedRect) -> Option; #[cfg(feature = "SvgRect")] - # [ wasm_bindgen ( structural , method , getter , js_class = "SVGAnimatedRect" , js_name = animVal ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAnimatedString.rs b/crates/web-sys/src/features/gen_SvgAnimatedString.rs index 72a0fcf9a23..b02669aaa6b 100644 --- a/crates/web-sys/src/features/gen_SvgAnimatedString.rs +++ b/crates/web-sys/src/features/gen_SvgAnimatedString.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAnimatedString , typescript_type = "SVGAnimatedString" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedString , typescript_type = "SVGAnimatedString")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgAnimatedString` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAnimatedTransformList.rs b/crates/web-sys/src/features/gen_SvgAnimatedTransformList.rs index 320def78cd5..08e923b00af 100644 --- a/crates/web-sys/src/features/gen_SvgAnimatedTransformList.rs +++ b/crates/web-sys/src/features/gen_SvgAnimatedTransformList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAnimatedTransformList , typescript_type = "SVGAnimatedTransformList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedTransformList , typescript_type = "SVGAnimatedTransformList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgAnimatedTransformList` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgAnimationElement.rs b/crates/web-sys/src/features/gen_SvgAnimationElement.rs index d492810b10c..6135908286f 100644 --- a/crates/web-sys/src/features/gen_SvgAnimationElement.rs +++ b/crates/web-sys/src/features/gen_SvgAnimationElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] pub fn target_element(this: &SvgAnimationElement) -> Option; #[cfg(feature = "SvgStringList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "SVGAnimationElement" , js_name = requiredFeatures ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -35,63 +35,63 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGAnimationElement" , js_name = getStartTime ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "SVGAnimationElement" , js_name = hasExtension ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgBoundingBoxOptions.rs b/crates/web-sys/src/features/gen_SvgBoundingBoxOptions.rs index 301835ecc64..60631a878ba 100644 --- a/crates/web-sys/src/features/gen_SvgBoundingBoxOptions.rs +++ b/crates/web-sys/src/features/gen_SvgBoundingBoxOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGBoundingBoxOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGBoundingBoxOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgBoundingBoxOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_SvgCircleElement.rs b/crates/web-sys/src/features/gen_SvgCircleElement.rs index 5d2f89aeeee..c3a6e9297b6 100644 --- a/crates/web-sys/src/features/gen_SvgCircleElement.rs +++ b/crates/web-sys/src/features/gen_SvgCircleElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgClipPathElement.rs b/crates/web-sys/src/features/gen_SvgClipPathElement.rs index 92278a6297c..3d11d34226f 100644 --- a/crates/web-sys/src/features/gen_SvgClipPathElement.rs +++ b/crates/web-sys/src/features/gen_SvgClipPathElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs b/crates/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs index a341e26aa9e..9703e6f9cf8 100644 --- a/crates/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs +++ b/crates/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgDefsElement.rs b/crates/web-sys/src/features/gen_SvgDefsElement.rs index aa9de7c1151..49a1359f5c8 100644 --- a/crates/web-sys/src/features/gen_SvgDefsElement.rs +++ b/crates/web-sys/src/features/gen_SvgDefsElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgDescElement.rs b/crates/web-sys/src/features/gen_SvgDescElement.rs index 870a58001e9..5327c00431b 100644 --- a/crates/web-sys/src/features/gen_SvgDescElement.rs +++ b/crates/web-sys/src/features/gen_SvgDescElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgElement.rs b/crates/web-sys/src/features/gen_SvgElement.rs index d4f20a24d6d..2f1e1ab42e7 100644 --- a/crates/web-sys/src/features/gen_SvgElement.rs +++ b/crates/web-sys/src/features/gen_SvgElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -50,1302 +50,1302 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "SVGElement" , js_name = viewportElement ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "SVGElement" , js_name = tabIndex ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgEllipseElement.rs b/crates/web-sys/src/features/gen_SvgEllipseElement.rs index 87004e4a499..9b053815648 100644 --- a/crates/web-sys/src/features/gen_SvgEllipseElement.rs +++ b/crates/web-sys/src/features/gen_SvgEllipseElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgFilterElement.rs b/crates/web-sys/src/features/gen_SvgFilterElement.rs index 6cdb5504a84..1f178eafb0a 100644 --- a/crates/web-sys/src/features/gen_SvgFilterElement.rs +++ b/crates/web-sys/src/features/gen_SvgFilterElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgForeignObjectElement.rs b/crates/web-sys/src/features/gen_SvgForeignObjectElement.rs index 81d7a5504ad..be0ba8829d6 100644 --- a/crates/web-sys/src/features/gen_SvgForeignObjectElement.rs +++ b/crates/web-sys/src/features/gen_SvgForeignObjectElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgGeometryElement.rs b/crates/web-sys/src/features/gen_SvgGeometryElement.rs index 8b8ee536bd6..fe6116b88f5 100644 --- a/crates/web-sys/src/features/gen_SvgGeometryElement.rs +++ b/crates/web-sys/src/features/gen_SvgGeometryElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -30,7 +30,7 @@ extern "C" { this: &SvgGeometryElement, distance: f32, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "SVGGeometryElement" , js_name = getTotalLength ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgGradientElement.rs b/crates/web-sys/src/features/gen_SvgGradientElement.rs index 36c83512f54..7a46835d0eb 100644 --- a/crates/web-sys/src/features/gen_SvgGradientElement.rs +++ b/crates/web-sys/src/features/gen_SvgGradientElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgGraphicsElement.rs b/crates/web-sys/src/features/gen_SvgGraphicsElement.rs index a099cb5b087..96de914f303 100644 --- a/crates/web-sys/src/features/gen_SvgGraphicsElement.rs +++ b/crates/web-sys/src/features/gen_SvgGraphicsElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,21 +12,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "SVGGraphicsElement" , js_name = farthestViewportElement ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`*"] pub fn farthest_viewport_element(this: &SvgGraphicsElement) -> Option; #[cfg(feature = "SvgStringList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "SVGGraphicsElement" , js_name = requiredFeatures ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -58,7 +58,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -66,7 +66,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgRect`*"] pub fn get_b_box(this: &SvgGraphicsElement) -> Result; #[cfg(all(feature = "SvgBoundingBoxOptions", feature = "SvgRect",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGGraphicsElement" , js_name = getBBox ) ] + # [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)"] @@ -77,7 +77,7 @@ extern "C" { a_options: &SvgBoundingBoxOptions, ) -> Result; #[cfg(feature = "SvgMatrix")] - # [ wasm_bindgen ( method , structural , js_class = "SVGGraphicsElement" , js_name = getCTM ) ] + # [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)"] @@ -85,7 +85,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*"] pub fn get_ctm(this: &SvgGraphicsElement) -> Option; #[cfg(feature = "SvgMatrix")] - # [ wasm_bindgen ( method , structural , js_class = "SVGGraphicsElement" , js_name = getScreenCTM ) ] + # [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)"] @@ -93,7 +93,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*"] pub fn get_screen_ctm(this: &SvgGraphicsElement) -> Option; #[cfg(feature = "SvgMatrix")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGGraphicsElement" , js_name = getTransformToElement ) ] + # [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)"] @@ -103,7 +103,7 @@ extern "C" { this: &SvgGraphicsElement, element: &SvgGraphicsElement, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "SVGGraphicsElement" , js_name = hasExtension ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgImageElement.rs b/crates/web-sys/src/features/gen_SvgImageElement.rs index de171d34683..99134788b0c 100644 --- a/crates/web-sys/src/features/gen_SvgImageElement.rs +++ b/crates/web-sys/src/features/gen_SvgImageElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgLength.rs b/crates/web-sys/src/features/gen_SvgLength.rs index 92c2fc2498d..63a3d360775 100644 --- a/crates/web-sys/src/features/gen_SvgLength.rs +++ b/crates/web-sys/src/features/gen_SvgLength.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGLength , typescript_type = "SVGLength" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGLength , typescript_type = "SVGLength")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgLength` class."] #[doc = ""] @@ -11,63 +11,63 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "SVGLength" , js_name = value ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgLengthList.rs b/crates/web-sys/src/features/gen_SvgLengthList.rs index 09eef82122e..2672c007f09 100644 --- a/crates/web-sys/src/features/gen_SvgLengthList.rs +++ b/crates/web-sys/src/features/gen_SvgLengthList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGLengthList , typescript_type = "SVGLengthList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGLengthList , typescript_type = "SVGLengthList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgLengthList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,14 +19,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGLengthList" , js_name = clear ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*"] pub fn get_item(this: &SvgLengthList, index: u32) -> Result; #[cfg(feature = "SvgLength")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGLengthList" , js_name = initialize ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*"] pub fn initialize(this: &SvgLengthList, new_item: &SvgLength) -> Result; #[cfg(feature = "SvgLength")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGLengthList" , js_name = insertItemBefore ) ] + # [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)"] @@ -62,7 +62,7 @@ extern "C" { index: u32, ) -> Result; #[cfg(feature = "SvgLength")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGLengthList" , js_name = removeItem ) ] + # [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)"] @@ -70,7 +70,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*"] pub fn remove_item(this: &SvgLengthList, index: u32) -> Result; #[cfg(feature = "SvgLength")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGLengthList" , js_name = replaceItem ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgLineElement.rs b/crates/web-sys/src/features/gen_SvgLineElement.rs index ea84191c2c8..ab2ce69e4f7 100644 --- a/crates/web-sys/src/features/gen_SvgLineElement.rs +++ b/crates/web-sys/src/features/gen_SvgLineElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgLinearGradientElement.rs b/crates/web-sys/src/features/gen_SvgLinearGradientElement.rs index c680189750c..e589daa0a1b 100644 --- a/crates/web-sys/src/features/gen_SvgLinearGradientElement.rs +++ b/crates/web-sys/src/features/gen_SvgLinearGradientElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgMarkerElement.rs b/crates/web-sys/src/features/gen_SvgMarkerElement.rs index d57345ef9d0..0921bcaf7d0 100644 --- a/crates/web-sys/src/features/gen_SvgMarkerElement.rs +++ b/crates/web-sys/src/features/gen_SvgMarkerElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -84,14 +84,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgMaskElement.rs b/crates/web-sys/src/features/gen_SvgMaskElement.rs index db6c24e8536..9c507c5af60 100644 --- a/crates/web-sys/src/features/gen_SvgMaskElement.rs +++ b/crates/web-sys/src/features/gen_SvgMaskElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgMatrix.rs b/crates/web-sys/src/features/gen_SvgMatrix.rs index fe7c9b07083..ca82392b2f5 100644 --- a/crates/web-sys/src/features/gen_SvgMatrix.rs +++ b/crates/web-sys/src/features/gen_SvgMatrix.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGMatrix , typescript_type = "SVGMatrix" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGMatrix , typescript_type = "SVGMatrix")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgMatrix` class."] #[doc = ""] @@ -11,140 +11,140 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "SVGMatrix" , js_name = multiply ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "SVGMatrix" , js_name = scale ) ] + # [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 ) ] + # [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)"] @@ -155,21 +155,21 @@ extern "C" { scale_factor_x: f32, scale_factor_y: f32, ) -> SvgMatrix; - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGMatrix" , js_name = skewX ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGMatrix" , js_name = skewY ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "SVGMatrix" , js_name = translate ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgMetadataElement.rs b/crates/web-sys/src/features/gen_SvgMetadataElement.rs index 92dfb99d986..d5f4c5c8d81 100644 --- a/crates/web-sys/src/features/gen_SvgMetadataElement.rs +++ b/crates/web-sys/src/features/gen_SvgMetadataElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgNumber.rs b/crates/web-sys/src/features/gen_SvgNumber.rs index a607e522f52..2cb9ffa51b4 100644 --- a/crates/web-sys/src/features/gen_SvgNumber.rs +++ b/crates/web-sys/src/features/gen_SvgNumber.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGNumber , typescript_type = "SVGNumber" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGNumber , typescript_type = "SVGNumber")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgNumber` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgNumberList.rs b/crates/web-sys/src/features/gen_SvgNumberList.rs index caaa8b19992..cda161a35e2 100644 --- a/crates/web-sys/src/features/gen_SvgNumberList.rs +++ b/crates/web-sys/src/features/gen_SvgNumberList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGNumberList , typescript_type = "SVGNumberList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGNumberList , typescript_type = "SVGNumberList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgNumberList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,14 +19,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGNumberList" , js_name = clear ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*"] pub fn get_item(this: &SvgNumberList, index: u32) -> Result; #[cfg(feature = "SvgNumber")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGNumberList" , js_name = initialize ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*"] pub fn initialize(this: &SvgNumberList, new_item: &SvgNumber) -> Result; #[cfg(feature = "SvgNumber")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGNumberList" , js_name = insertItemBefore ) ] + # [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)"] @@ -62,7 +62,7 @@ extern "C" { index: u32, ) -> Result; #[cfg(feature = "SvgNumber")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGNumberList" , js_name = removeItem ) ] + # [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)"] @@ -70,7 +70,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*"] pub fn remove_item(this: &SvgNumberList, index: u32) -> Result; #[cfg(feature = "SvgNumber")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGNumberList" , js_name = replaceItem ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathElement.rs b/crates/web-sys/src/features/gen_SvgPathElement.rs index fd1e03aaca9..7cd150fcea2 100644 --- a/crates/web-sys/src/features/gen_SvgPathElement.rs +++ b/crates/web-sys/src/features/gen_SvgPathElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,14 +20,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSeg.rs b/crates/web-sys/src/features/gen_SvgPathSeg.rs index af3416f5f10..2c9dc633ef5 100644 --- a/crates/web-sys/src/features/gen_SvgPathSeg.rs +++ b/crates/web-sys/src/features/gen_SvgPathSeg.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegArcAbs.rs b/crates/web-sys/src/features/gen_SvgPathSegArcAbs.rs index 339b83a79b5..36b440f5e40 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegArcAbs.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegArcAbs.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,98 +11,98 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegArcRel.rs b/crates/web-sys/src/features/gen_SvgPathSegArcRel.rs index 05d0e0c1270..a93b871afe4 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegArcRel.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegArcRel.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,98 +11,98 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegClosePath.rs b/crates/web-sys/src/features/gen_SvgPathSegClosePath.rs index abaa1590324..b9892c32723 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegClosePath.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegClosePath.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicAbs.rs b/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicAbs.rs index ee601a4912a..fbeb6886d65 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicAbs.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicAbs.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,84 +11,84 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicRel.rs b/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicRel.rs index 62b63c290f6..f3ee149fa55 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicRel.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicRel.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,84 +11,84 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothAbs.rs b/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothAbs.rs index a433ccfb3c5..07896918b09 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothAbs.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothAbs.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothRel.rs b/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothRel.rs index e5ce0875850..d2b03a26542 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothRel.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothRel.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticAbs.rs b/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticAbs.rs index 375d9f27b14..4770f97c814 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticAbs.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticAbs.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticRel.rs b/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticRel.rs index df38997038c..6a3457d747e 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticRel.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticRel.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothAbs.rs b/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothAbs.rs index 3d8bc4d845e..9f19b4f5327 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothAbs.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothAbs.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothRel.rs b/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothRel.rs index c7bfe7b8a78..eadff9849cf 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothRel.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothRel.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegLinetoAbs.rs b/crates/web-sys/src/features/gen_SvgPathSegLinetoAbs.rs index 64ef8f9143c..6f6b930f8a5 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegLinetoAbs.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegLinetoAbs.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegLinetoHorizontalAbs.rs b/crates/web-sys/src/features/gen_SvgPathSegLinetoHorizontalAbs.rs index 474246f2fc8..fb6bba694e2 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegLinetoHorizontalAbs.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegLinetoHorizontalAbs.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegLinetoHorizontalRel.rs b/crates/web-sys/src/features/gen_SvgPathSegLinetoHorizontalRel.rs index a553e49e379..461458dba21 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegLinetoHorizontalRel.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegLinetoHorizontalRel.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegLinetoRel.rs b/crates/web-sys/src/features/gen_SvgPathSegLinetoRel.rs index 736e130c56a..64daaf4fa04 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegLinetoRel.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegLinetoRel.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegLinetoVerticalAbs.rs b/crates/web-sys/src/features/gen_SvgPathSegLinetoVerticalAbs.rs index e8a8403a001..39a50d6ac89 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegLinetoVerticalAbs.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegLinetoVerticalAbs.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegLinetoVerticalRel.rs b/crates/web-sys/src/features/gen_SvgPathSegLinetoVerticalRel.rs index 80d06fe82ea..98c9d076b08 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegLinetoVerticalRel.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegLinetoVerticalRel.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegList.rs b/crates/web-sys/src/features/gen_SvgPathSegList.rs index 5ee4495d55b..76ae0db675f 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegList.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGPathSegList , typescript_type = "SVGPathSegList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGPathSegList , typescript_type = "SVGPathSegList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgPathSegList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegMovetoAbs.rs b/crates/web-sys/src/features/gen_SvgPathSegMovetoAbs.rs index 757504c8512..ae2f75afbb9 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegMovetoAbs.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegMovetoAbs.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPathSegMovetoRel.rs b/crates/web-sys/src/features/gen_SvgPathSegMovetoRel.rs index 62fd6ad4dbb..d65c052f96b 100644 --- a/crates/web-sys/src/features/gen_SvgPathSegMovetoRel.rs +++ b/crates/web-sys/src/features/gen_SvgPathSegMovetoRel.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPatternElement.rs b/crates/web-sys/src/features/gen_SvgPatternElement.rs index 386eee896ea..2e8575bee58 100644 --- a/crates/web-sys/src/features/gen_SvgPatternElement.rs +++ b/crates/web-sys/src/features/gen_SvgPatternElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPoint.rs b/crates/web-sys/src/features/gen_SvgPoint.rs index 3b4d5ea3aca..8a328ff23a7 100644 --- a/crates/web-sys/src/features/gen_SvgPoint.rs +++ b/crates/web-sys/src/features/gen_SvgPoint.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGPoint , typescript_type = "SVGPoint" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGPoint , typescript_type = "SVGPoint")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgPoint` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPointList.rs b/crates/web-sys/src/features/gen_SvgPointList.rs index 14f4a4381e9..fde144f5edb 100644 --- a/crates/web-sys/src/features/gen_SvgPointList.rs +++ b/crates/web-sys/src/features/gen_SvgPointList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGPointList , typescript_type = "SVGPointList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGPointList , typescript_type = "SVGPointList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgPointList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,14 +19,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGPointList" , js_name = clear ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*"] pub fn get_item(this: &SvgPointList, index: u32) -> Result; #[cfg(feature = "SvgPoint")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGPointList" , js_name = initialize ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*"] pub fn initialize(this: &SvgPointList, new_item: &SvgPoint) -> Result; #[cfg(feature = "SvgPoint")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGPointList" , js_name = insertItemBefore ) ] + # [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)"] @@ -62,7 +62,7 @@ extern "C" { index: u32, ) -> Result; #[cfg(feature = "SvgPoint")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGPointList" , js_name = removeItem ) ] + # [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)"] @@ -70,7 +70,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*"] pub fn remove_item(this: &SvgPointList, index: u32) -> Result; #[cfg(feature = "SvgPoint")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGPointList" , js_name = replaceItem ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPolygonElement.rs b/crates/web-sys/src/features/gen_SvgPolygonElement.rs index 0ac3077505b..1a1140cee51 100644 --- a/crates/web-sys/src/features/gen_SvgPolygonElement.rs +++ b/crates/web-sys/src/features/gen_SvgPolygonElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPolylineElement.rs b/crates/web-sys/src/features/gen_SvgPolylineElement.rs index a1917d1be29..ff3abdc50e1 100644 --- a/crates/web-sys/src/features/gen_SvgPolylineElement.rs +++ b/crates/web-sys/src/features/gen_SvgPolylineElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgPreserveAspectRatio.rs b/crates/web-sys/src/features/gen_SvgPreserveAspectRatio.rs index c060f2b5a1a..57fef2ba243 100644 --- a/crates/web-sys/src/features/gen_SvgPreserveAspectRatio.rs +++ b/crates/web-sys/src/features/gen_SvgPreserveAspectRatio.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGPreserveAspectRatio , typescript_type = "SVGPreserveAspectRatio" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGPreserveAspectRatio , typescript_type = "SVGPreserveAspectRatio")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgPreserveAspectRatio` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgRadialGradientElement.rs b/crates/web-sys/src/features/gen_SvgRadialGradientElement.rs index d94f99a5507..79627e0223e 100644 --- a/crates/web-sys/src/features/gen_SvgRadialGradientElement.rs +++ b/crates/web-sys/src/features/gen_SvgRadialGradientElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgRect.rs b/crates/web-sys/src/features/gen_SvgRect.rs index 7e8a7b1506d..3ee979817c5 100644 --- a/crates/web-sys/src/features/gen_SvgRect.rs +++ b/crates/web-sys/src/features/gen_SvgRect.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGRect , typescript_type = "SVGRect" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGRect , typescript_type = "SVGRect")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgRect` class."] #[doc = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgRectElement.rs b/crates/web-sys/src/features/gen_SvgRectElement.rs index 30553370df1..c019621fcaf 100644 --- a/crates/web-sys/src/features/gen_SvgRectElement.rs +++ b/crates/web-sys/src/features/gen_SvgRectElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgScriptElement.rs b/crates/web-sys/src/features/gen_SvgScriptElement.rs index 65e3eef0cbe..0892cbc609d 100644 --- a/crates/web-sys/src/features/gen_SvgScriptElement.rs +++ b/crates/web-sys/src/features/gen_SvgScriptElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , setter , js_class = "SVGScriptElement" , js_name = crossOrigin ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgSetElement.rs b/crates/web-sys/src/features/gen_SvgSetElement.rs index eaba4afdc5e..3fe789ecff8 100644 --- a/crates/web-sys/src/features/gen_SvgSetElement.rs +++ b/crates/web-sys/src/features/gen_SvgSetElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgStopElement.rs b/crates/web-sys/src/features/gen_SvgStopElement.rs index 3851912c7f8..3bbd4523b22 100644 --- a/crates/web-sys/src/features/gen_SvgStopElement.rs +++ b/crates/web-sys/src/features/gen_SvgStopElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgStringList.rs b/crates/web-sys/src/features/gen_SvgStringList.rs index 8a479de4603..57362b9b245 100644 --- a/crates/web-sys/src/features/gen_SvgStringList.rs +++ b/crates/web-sys/src/features/gen_SvgStringList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGStringList , typescript_type = "SVGStringList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGStringList , typescript_type = "SVGStringList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgStringList` class."] #[doc = ""] @@ -11,49 +11,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "SVGStringList" , js_name = clear ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGStringList" , js_name = initialize ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGStringList" , js_name = insertItemBefore ) ] + # [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)"] @@ -64,14 +64,14 @@ extern "C" { new_item: &str, index: u32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGStringList" , js_name = removeItem ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGStringList" , js_name = replaceItem ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgStyleElement.rs b/crates/web-sys/src/features/gen_SvgStyleElement.rs index 8ac38252d5d..2c36d5969a0 100644 --- a/crates/web-sys/src/features/gen_SvgStyleElement.rs +++ b/crates/web-sys/src/features/gen_SvgStyleElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgSwitchElement.rs b/crates/web-sys/src/features/gen_SvgSwitchElement.rs index f6f1fc7ae98..62ba99363fc 100644 --- a/crates/web-sys/src/features/gen_SvgSwitchElement.rs +++ b/crates/web-sys/src/features/gen_SvgSwitchElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgSymbolElement.rs b/crates/web-sys/src/features/gen_SvgSymbolElement.rs index cda82247838..2fd29f06000 100644 --- a/crates/web-sys/src/features/gen_SvgSymbolElement.rs +++ b/crates/web-sys/src/features/gen_SvgSymbolElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,14 +44,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgTextContentElement.rs b/crates/web-sys/src/features/gen_SvgTextContentElement.rs index 3e781ebc590..ac2abf5dcb5 100644 --- a/crates/web-sys/src/features/gen_SvgTextContentElement.rs +++ b/crates/web-sys/src/features/gen_SvgTextContentElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,14 +28,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -43,7 +43,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -54,7 +54,7 @@ extern "C" { charnum: u32, ) -> Result; #[cfg(feature = "SvgRect")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGTextContentElement" , js_name = getExtentOfChar ) ] + # [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)"] @@ -64,14 +64,14 @@ extern "C" { this: &SvgTextContentElement, charnum: u32, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "SVGTextContentElement" , js_name = getNumberOfChars ) ] + # [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 ) ] + # [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)"] @@ -80,7 +80,7 @@ extern "C" { pub fn get_rotation_of_char(this: &SvgTextContentElement, charnum: u32) -> Result; #[cfg(feature = "SvgPoint")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGTextContentElement" , js_name = getStartPositionOfChar ) ] + # [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)"] @@ -90,7 +90,7 @@ extern "C" { this: &SvgTextContentElement, charnum: u32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGTextContentElement" , js_name = getSubStringLength ) ] + # [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)"] @@ -101,7 +101,7 @@ extern "C" { charnum: u32, nchars: u32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGTextContentElement" , js_name = selectSubString ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgTextElement.rs b/crates/web-sys/src/features/gen_SvgTextElement.rs index 5a99c8d2385..5b046b017a8 100644 --- a/crates/web-sys/src/features/gen_SvgTextElement.rs +++ b/crates/web-sys/src/features/gen_SvgTextElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgTextPathElement.rs b/crates/web-sys/src/features/gen_SvgTextPathElement.rs index 43b352022d3..9e274b3c30c 100644 --- a/crates/web-sys/src/features/gen_SvgTextPathElement.rs +++ b/crates/web-sys/src/features/gen_SvgTextPathElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgTextPositioningElement.rs b/crates/web-sys/src/features/gen_SvgTextPositioningElement.rs index 5e4d8e86d07..ee5d40db854 100644 --- a/crates/web-sys/src/features/gen_SvgTextPositioningElement.rs +++ b/crates/web-sys/src/features/gen_SvgTextPositioningElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgTitleElement.rs b/crates/web-sys/src/features/gen_SvgTitleElement.rs index d7b803181a6..4f15b6ee4f5 100644 --- a/crates/web-sys/src/features/gen_SvgTitleElement.rs +++ b/crates/web-sys/src/features/gen_SvgTitleElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgTransform.rs b/crates/web-sys/src/features/gen_SvgTransform.rs index 8ea1f9f96d9..00615597b48 100644 --- a/crates/web-sys/src/features/gen_SvgTransform.rs +++ b/crates/web-sys/src/features/gen_SvgTransform.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGTransform , typescript_type = "SVGTransform" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGTransform , typescript_type = "SVGTransform")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgTransform` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,14 +19,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -34,42 +34,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgTransformList.rs b/crates/web-sys/src/features/gen_SvgTransformList.rs index d8c1778533c..66cfac09af4 100644 --- a/crates/web-sys/src/features/gen_SvgTransformList.rs +++ b/crates/web-sys/src/features/gen_SvgTransformList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGTransformList , typescript_type = "SVGTransformList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGTransformList , typescript_type = "SVGTransformList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgTransformList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -29,7 +29,7 @@ extern "C" { this: &SvgTransformList, new_item: &SvgTransform, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGTransformList" , js_name = clear ) ] + # [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)"] @@ -37,7 +37,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -45,7 +45,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*"] pub fn consolidate(this: &SvgTransformList) -> Result, JsValue>; #[cfg(all(feature = "SvgMatrix", feature = "SvgTransform",))] - # [ wasm_bindgen ( method , structural , js_class = "SVGTransformList" , js_name = createSVGTransformFromMatrix ) ] + # [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)"] @@ -56,7 +56,7 @@ extern "C" { matrix: &SvgMatrix, ) -> SvgTransform; #[cfg(feature = "SvgTransform")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGTransformList" , js_name = getItem ) ] + # [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)"] @@ -64,7 +64,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*"] pub fn get_item(this: &SvgTransformList, index: u32) -> Result; #[cfg(feature = "SvgTransform")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGTransformList" , js_name = initialize ) ] + # [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)"] @@ -75,7 +75,7 @@ extern "C" { new_item: &SvgTransform, ) -> Result; #[cfg(feature = "SvgTransform")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGTransformList" , js_name = insertItemBefore ) ] + # [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)"] @@ -87,7 +87,7 @@ extern "C" { index: u32, ) -> Result; #[cfg(feature = "SvgTransform")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGTransformList" , js_name = removeItem ) ] + # [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)"] @@ -95,7 +95,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*"] pub fn remove_item(this: &SvgTransformList, index: u32) -> Result; #[cfg(feature = "SvgTransform")] - # [ wasm_bindgen ( catch , method , structural , js_class = "SVGTransformList" , js_name = replaceItem ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgUnitTypes.rs b/crates/web-sys/src/features/gen_SvgUnitTypes.rs index 36a5d0758e6..d5d1bf3c021 100644 --- a/crates/web-sys/src/features/gen_SvgUnitTypes.rs +++ b/crates/web-sys/src/features/gen_SvgUnitTypes.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGUnitTypes , typescript_type = "SVGUnitTypes" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGUnitTypes , typescript_type = "SVGUnitTypes")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgUnitTypes` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_SvgUseElement.rs b/crates/web-sys/src/features/gen_SvgUseElement.rs index efdc7bcf251..4410c45b918 100644 --- a/crates/web-sys/src/features/gen_SvgUseElement.rs +++ b/crates/web-sys/src/features/gen_SvgUseElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgViewElement.rs b/crates/web-sys/src/features/gen_SvgViewElement.rs index 006d0195b62..64baf02dae5 100644 --- a/crates/web-sys/src/features/gen_SvgViewElement.rs +++ b/crates/web-sys/src/features/gen_SvgViewElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,21 +20,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgZoomAndPan.rs b/crates/web-sys/src/features/gen_SvgZoomAndPan.rs index ab86c089244..187d2f00a24 100644 --- a/crates/web-sys/src/features/gen_SvgZoomAndPan.rs +++ b/crates/web-sys/src/features/gen_SvgZoomAndPan.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGZoomAndPan , typescript_type = "SVGZoomAndPan" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGZoomAndPan , typescript_type = "SVGZoomAndPan")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgZoomAndPan` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgaElement.rs b/crates/web-sys/src/features/gen_SvgaElement.rs index f0dde533a1a..e866e2ff235 100644 --- a/crates/web-sys/src/features/gen_SvgaElement.rs +++ b/crates/web-sys/src/features/gen_SvgaElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,63 +12,63 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -76,49 +76,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "SVGAElement" , js_name = text ) ] + # [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)"] @@ -126,7 +126,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeBlendElement.rs b/crates/web-sys/src/features/gen_SvgfeBlendElement.rs index 71e7ab857a2..97ce3978d3f 100644 --- a/crates/web-sys/src/features/gen_SvgfeBlendElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeBlendElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeColorMatrixElement.rs b/crates/web-sys/src/features/gen_SvgfeColorMatrixElement.rs index 83b5aecc38e..c951981f805 100644 --- a/crates/web-sys/src/features/gen_SvgfeColorMatrixElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeColorMatrixElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeComponentTransferElement.rs b/crates/web-sys/src/features/gen_SvgfeComponentTransferElement.rs index bedd5f38821..dda9bff7abc 100644 --- a/crates/web-sys/src/features/gen_SvgfeComponentTransferElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeComponentTransferElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeCompositeElement.rs b/crates/web-sys/src/features/gen_SvgfeCompositeElement.rs index 25e058122d3..23f4db08813 100644 --- a/crates/web-sys/src/features/gen_SvgfeCompositeElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeCompositeElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -92,7 +92,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -100,7 +100,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeConvolveMatrixElement.rs b/crates/web-sys/src/features/gen_SvgfeConvolveMatrixElement.rs index 04305347801..605a9ac66c0 100644 --- a/crates/web-sys/src/features/gen_SvgfeConvolveMatrixElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeConvolveMatrixElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -92,7 +92,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -100,7 +100,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -108,7 +108,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -116,7 +116,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -124,7 +124,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -132,7 +132,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -140,7 +140,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeDiffuseLightingElement.rs b/crates/web-sys/src/features/gen_SvgfeDiffuseLightingElement.rs index c96196f90df..6ac26b3fa0a 100644 --- a/crates/web-sys/src/features/gen_SvgfeDiffuseLightingElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeDiffuseLightingElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeDisplacementMapElement.rs b/crates/web-sys/src/features/gen_SvgfeDisplacementMapElement.rs index 8b859b2c5df..f533134b626 100644 --- a/crates/web-sys/src/features/gen_SvgfeDisplacementMapElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeDisplacementMapElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeDistantLightElement.rs b/crates/web-sys/src/features/gen_SvgfeDistantLightElement.rs index 08990e8618e..424df95f628 100644 --- a/crates/web-sys/src/features/gen_SvgfeDistantLightElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeDistantLightElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeDropShadowElement.rs b/crates/web-sys/src/features/gen_SvgfeDropShadowElement.rs index 2692ae2f77d..d48d5d6b2f3 100644 --- a/crates/web-sys/src/features/gen_SvgfeDropShadowElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeDropShadowElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -84,14 +84,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeFloodElement.rs b/crates/web-sys/src/features/gen_SvgfeFloodElement.rs index 9d38b80bf29..392ebacf390 100644 --- a/crates/web-sys/src/features/gen_SvgfeFloodElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeFloodElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeFuncAElement.rs b/crates/web-sys/src/features/gen_SvgfeFuncAElement.rs index ebe0507faaa..688c97d0a77 100644 --- a/crates/web-sys/src/features/gen_SvgfeFuncAElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeFuncAElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgfeFuncBElement.rs b/crates/web-sys/src/features/gen_SvgfeFuncBElement.rs index 64a13238418..d0ebf847499 100644 --- a/crates/web-sys/src/features/gen_SvgfeFuncBElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeFuncBElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgfeFuncGElement.rs b/crates/web-sys/src/features/gen_SvgfeFuncGElement.rs index f773439dee9..dc61bf560b5 100644 --- a/crates/web-sys/src/features/gen_SvgfeFuncGElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeFuncGElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgfeFuncRElement.rs b/crates/web-sys/src/features/gen_SvgfeFuncRElement.rs index 3b698423a5e..de260ac38c6 100644 --- a/crates/web-sys/src/features/gen_SvgfeFuncRElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeFuncRElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgfeGaussianBlurElement.rs b/crates/web-sys/src/features/gen_SvgfeGaussianBlurElement.rs index f22db5cdcd9..88cb074d10a 100644 --- a/crates/web-sys/src/features/gen_SvgfeGaussianBlurElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeGaussianBlurElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,14 +68,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeImageElement.rs b/crates/web-sys/src/features/gen_SvgfeImageElement.rs index 5c1ad3f2bbf..efb101bbce7 100644 --- a/crates/web-sys/src/features/gen_SvgfeImageElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeImageElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeMergeElement.rs b/crates/web-sys/src/features/gen_SvgfeMergeElement.rs index 456c8b93007..7ff05f3df60 100644 --- a/crates/web-sys/src/features/gen_SvgfeMergeElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeMergeElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeMergeNodeElement.rs b/crates/web-sys/src/features/gen_SvgfeMergeNodeElement.rs index 3dcc739c66e..ed556e18fdb 100644 --- a/crates/web-sys/src/features/gen_SvgfeMergeNodeElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeMergeNodeElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeMorphologyElement.rs b/crates/web-sys/src/features/gen_SvgfeMorphologyElement.rs index d421685a00b..5170c0471b3 100644 --- a/crates/web-sys/src/features/gen_SvgfeMorphologyElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeMorphologyElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeOffsetElement.rs b/crates/web-sys/src/features/gen_SvgfeOffsetElement.rs index f40c899570f..3baf9001551 100644 --- a/crates/web-sys/src/features/gen_SvgfeOffsetElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeOffsetElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfePointLightElement.rs b/crates/web-sys/src/features/gen_SvgfePointLightElement.rs index 4f92b4d6f1a..2c417c93ebe 100644 --- a/crates/web-sys/src/features/gen_SvgfePointLightElement.rs +++ b/crates/web-sys/src/features/gen_SvgfePointLightElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeSpecularLightingElement.rs b/crates/web-sys/src/features/gen_SvgfeSpecularLightingElement.rs index bd183ccf1b1..56bc66036c3 100644 --- a/crates/web-sys/src/features/gen_SvgfeSpecularLightingElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeSpecularLightingElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -92,7 +92,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeSpotLightElement.rs b/crates/web-sys/src/features/gen_SvgfeSpotLightElement.rs index 03f972a17e7..28da387678e 100644 --- a/crates/web-sys/src/features/gen_SvgfeSpotLightElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeSpotLightElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeTileElement.rs b/crates/web-sys/src/features/gen_SvgfeTileElement.rs index a5ed0fae870..cad40bd16cb 100644 --- a/crates/web-sys/src/features/gen_SvgfeTileElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeTileElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgfeTurbulenceElement.rs b/crates/web-sys/src/features/gen_SvgfeTurbulenceElement.rs index d2739426479..6e91ac5a62e 100644 --- a/crates/web-sys/src/features/gen_SvgfeTurbulenceElement.rs +++ b/crates/web-sys/src/features/gen_SvgfeTurbulenceElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,7 +36,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -44,7 +44,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -84,7 +84,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -92,7 +92,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvggElement.rs b/crates/web-sys/src/features/gen_SvggElement.rs index ac1ca6a09df..d7d35dca98a 100644 --- a/crates/web-sys/src/features/gen_SvggElement.rs +++ b/crates/web-sys/src/features/gen_SvggElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_SvgmPathElement.rs b/crates/web-sys/src/features/gen_SvgmPathElement.rs index b5a8883f845..adacfbabe01 100644 --- a/crates/web-sys/src/features/gen_SvgmPathElement.rs +++ b/crates/web-sys/src/features/gen_SvgmPathElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgsvgElement.rs b/crates/web-sys/src/features/gen_SvgsvgElement.rs index be21c18ba8b..b7978354d3e 100644 --- a/crates/web-sys/src/features/gen_SvgsvgElement.rs +++ b/crates/web-sys/src/features/gen_SvgsvgElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,28 +36,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -65,7 +65,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -73,7 +73,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -81,28 +81,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -110,7 +110,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -118,7 +118,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -126,7 +126,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -134,7 +134,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -142,7 +142,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -150,7 +150,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -158,7 +158,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -166,7 +166,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -176,70 +176,70 @@ extern "C" { this: &SvgsvgElement, matrix: &SvgMatrix, ) -> SvgTransform; - # [ wasm_bindgen ( method , structural , js_class = "SVGSVGElement" , js_name = deselectAll ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "SVGSVGElement" , js_name = pauseAnimations ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_SvgtSpanElement.rs b/crates/web-sys/src/features/gen_SvgtSpanElement.rs index 1ddf4f3a011..fc943015da5 100644 --- a/crates/web-sys/src/features/gen_SvgtSpanElement.rs +++ b/crates/web-sys/src/features/gen_SvgtSpanElement.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_TcpServerSocket.rs b/crates/web-sys/src/features/gen_TcpServerSocket.rs index 949db06004a..0904f2ddffe 100644 --- a/crates/web-sys/src/features/gen_TcpServerSocket.rs +++ b/crates/web-sys/src/features/gen_TcpServerSocket.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = TCPServerSocket , typescript_type = "TCPServerSocket" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = TCPServerSocket , typescript_type = "TCPServerSocket")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TcpServerSocket` class."] #[doc = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { options: &ServerSocketOptions, backlog: u16, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "TCPServerSocket" , js_name = close ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TcpServerSocketEvent.rs b/crates/web-sys/src/features/gen_TcpServerSocketEvent.rs index b686a328215..4faa0de7440 100644 --- a/crates/web-sys/src/features/gen_TcpServerSocketEvent.rs +++ b/crates/web-sys/src/features/gen_TcpServerSocketEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = TCPServerSocketEvent , typescript_type = "TCPServerSocketEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = TCPServerSocketEvent , typescript_type = "TCPServerSocketEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TcpServerSocketEvent` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TcpServerSocketEventInit.rs b/crates/web-sys/src/features/gen_TcpServerSocketEventInit.rs index 330fb354a54..ca42ab63a6c 100644 --- a/crates/web-sys/src/features/gen_TcpServerSocketEventInit.rs +++ b/crates/web-sys/src/features/gen_TcpServerSocketEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TCPServerSocketEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TCPServerSocketEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TcpServerSocketEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_TcpSocket.rs b/crates/web-sys/src/features/gen_TcpSocket.rs index 16716fcbf90..3631e805b75 100644 --- a/crates/web-sys/src/features/gen_TcpSocket.rs +++ b/crates/web-sys/src/features/gen_TcpSocket.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = TCPSocket , typescript_type = "TCPSocket" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = TCPSocket , typescript_type = "TCPSocket")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TcpSocket` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -48,77 +48,77 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -144,28 +144,28 @@ extern "C" { port: u16, options: &SocketOptions, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "TCPSocket" , js_name = close ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "TCPSocket" , js_name = send ) ] + # [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)"] @@ -175,7 +175,7 @@ extern "C" { this: &TcpSocket, data: &::js_sys::ArrayBuffer, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "TCPSocket" , js_name = send ) ] + # [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)"] @@ -186,7 +186,7 @@ extern "C" { data: &::js_sys::ArrayBuffer, byte_offset: u32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "TCPSocket" , js_name = send ) ] + # [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)"] @@ -198,14 +198,14 @@ extern "C" { byte_offset: u32, byte_length: u32, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "TCPSocket" , js_name = suspend ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TcpSocketErrorEvent.rs b/crates/web-sys/src/features/gen_TcpSocketErrorEvent.rs index b8c00350d5b..a2d1daf93c8 100644 --- a/crates/web-sys/src/features/gen_TcpSocketErrorEvent.rs +++ b/crates/web-sys/src/features/gen_TcpSocketErrorEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = TCPSocketErrorEvent , typescript_type = "TCPSocketErrorEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = TCPSocketErrorEvent , typescript_type = "TCPSocketErrorEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TcpSocketErrorEvent` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TcpSocketErrorEventInit.rs b/crates/web-sys/src/features/gen_TcpSocketErrorEventInit.rs index 87e1f025ed6..535bbfe701e 100644 --- a/crates/web-sys/src/features/gen_TcpSocketErrorEventInit.rs +++ b/crates/web-sys/src/features/gen_TcpSocketErrorEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TCPSocketErrorEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TCPSocketErrorEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TcpSocketErrorEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_TcpSocketEvent.rs b/crates/web-sys/src/features/gen_TcpSocketEvent.rs index 1678d363258..37623fb3b0b 100644 --- a/crates/web-sys/src/features/gen_TcpSocketEvent.rs +++ b/crates/web-sys/src/features/gen_TcpSocketEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = TCPSocketEvent , typescript_type = "TCPSocketEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = TCPSocketEvent , typescript_type = "TCPSocketEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TcpSocketEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TcpSocketEventInit.rs b/crates/web-sys/src/features/gen_TcpSocketEventInit.rs index 84d52691fae..15d9498921a 100644 --- a/crates/web-sys/src/features/gen_TcpSocketEventInit.rs +++ b/crates/web-sys/src/features/gen_TcpSocketEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TCPSocketEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TCPSocketEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TcpSocketEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Text.rs b/crates/web-sys/src/features/gen_Text.rs index c530ff71e50..12d84e1fdd5 100644 --- a/crates/web-sys/src/features/gen_Text.rs +++ b/crates/web-sys/src/features/gen_Text.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Text`*"] pub fn whole_text(this: &Text) -> Result; #[cfg(feature = "HtmlSlotElement")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Text" , js_name = assignedSlot ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `Text`*"] pub fn new_with_data(data: &str) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = splitText ) ] + # [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)"] @@ -48,7 +48,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Text`*"] pub fn split_text(this: &Text, offset: u32) -> Result; #[cfg(all(feature = "DomPoint", feature = "DomPointInit",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertPointFromNode ) ] + # [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)"] @@ -60,7 +60,7 @@ extern "C" { from: &Text, ) -> Result; #[cfg(all(feature = "DomPoint", feature = "DomPointInit", feature = "Element",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertPointFromNode ) ] + # [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)"] @@ -72,7 +72,7 @@ extern "C" { from: &Element, ) -> Result; #[cfg(all(feature = "Document", feature = "DomPoint", feature = "DomPointInit",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertPointFromNode ) ] + # [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)"] @@ -88,7 +88,7 @@ extern "C" { feature = "DomPoint", feature = "DomPointInit", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertPointFromNode ) ] + # [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)"] @@ -106,7 +106,7 @@ extern "C" { feature = "DomPointInit", feature = "Element", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertPointFromNode ) ] + # [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)"] @@ -124,7 +124,7 @@ extern "C" { feature = "DomPoint", feature = "DomPointInit", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertPointFromNode ) ] + # [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)"] @@ -137,7 +137,7 @@ extern "C" { options: &ConvertCoordinateOptions, ) -> Result; #[cfg(feature = "DomQuad")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -149,7 +149,7 @@ extern "C" { from: &Text, ) -> Result; #[cfg(all(feature = "DomQuad", feature = "Element",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -161,7 +161,7 @@ extern "C" { from: &Element, ) -> Result; #[cfg(all(feature = "Document", feature = "DomQuad",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -173,7 +173,7 @@ extern "C" { from: &Document, ) -> Result; #[cfg(all(feature = "ConvertCoordinateOptions", feature = "DomQuad",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -190,7 +190,7 @@ extern "C" { feature = "DomQuad", feature = "Element", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -207,7 +207,7 @@ extern "C" { feature = "Document", feature = "DomQuad", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertQuadFromNode ) ] + # [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)"] @@ -220,7 +220,7 @@ extern "C" { options: &ConvertCoordinateOptions, ) -> Result; #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertRectFromNode ) ] + # [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)"] @@ -232,7 +232,7 @@ extern "C" { from: &Text, ) -> Result; #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly", feature = "Element",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertRectFromNode ) ] + # [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)"] @@ -244,7 +244,7 @@ extern "C" { from: &Element, ) -> Result; #[cfg(all(feature = "Document", feature = "DomQuad", feature = "DomRectReadOnly",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertRectFromNode ) ] + # [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)"] @@ -260,7 +260,7 @@ extern "C" { feature = "DomQuad", feature = "DomRectReadOnly", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertRectFromNode ) ] + # [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)"] @@ -278,7 +278,7 @@ extern "C" { feature = "DomRectReadOnly", feature = "Element", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertRectFromNode ) ] + # [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)"] @@ -296,7 +296,7 @@ extern "C" { feature = "DomQuad", feature = "DomRectReadOnly", ))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = convertRectFromNode ) ] + # [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)"] @@ -308,7 +308,7 @@ extern "C" { from: &Document, options: &ConvertCoordinateOptions, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Text" , js_name = getBoxQuads ) ] + # [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)"] @@ -316,7 +316,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TextDecodeOptions.rs b/crates/web-sys/src/features/gen_TextDecodeOptions.rs index ad7866211bc..c38b4030d35 100644 --- a/crates/web-sys/src/features/gen_TextDecodeOptions.rs +++ b/crates/web-sys/src/features/gen_TextDecodeOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TextDecodeOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TextDecodeOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TextDecodeOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_TextDecoder.rs b/crates/web-sys/src/features/gen_TextDecoder.rs index 4fcecb08de2..7eb50d27746 100644 --- a/crates/web-sys/src/features/gen_TextDecoder.rs +++ b/crates/web-sys/src/features/gen_TextDecoder.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TextDecoder , typescript_type = "TextDecoder" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TextDecoder , typescript_type = "TextDecoder")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TextDecoder` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -50,14 +50,14 @@ extern "C" { label: &str, options: &TextDecoderOptions, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "TextDecoder" , js_name = decode ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "TextDecoder" , js_name = decode ) ] + # [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)"] @@ -67,7 +67,7 @@ extern "C" { this: &TextDecoder, input: &::js_sys::Object, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "TextDecoder" , js_name = decode ) ] + # [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)"] @@ -75,7 +75,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `TextDecoder`*"] pub fn decode_with_u8_array(this: &TextDecoder, input: &mut [u8]) -> Result; #[cfg(feature = "TextDecodeOptions")] - # [ wasm_bindgen ( catch , method , structural , js_class = "TextDecoder" , js_name = decode ) ] + # [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)"] @@ -87,7 +87,7 @@ extern "C" { options: &TextDecodeOptions, ) -> Result; #[cfg(feature = "TextDecodeOptions")] - # [ wasm_bindgen ( catch , method , structural , js_class = "TextDecoder" , js_name = decode ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TextDecoderOptions.rs b/crates/web-sys/src/features/gen_TextDecoderOptions.rs index 9513a0fad3a..37a05e27468 100644 --- a/crates/web-sys/src/features/gen_TextDecoderOptions.rs +++ b/crates/web-sys/src/features/gen_TextDecoderOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TextDecoderOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TextDecoderOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TextDecoderOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_TextEncoder.rs b/crates/web-sys/src/features/gen_TextEncoder.rs index 5b37ecff4e7..efaea87bd8b 100644 --- a/crates/web-sys/src/features/gen_TextEncoder.rs +++ b/crates/web-sys/src/features/gen_TextEncoder.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TextEncoder , typescript_type = "TextEncoder" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TextEncoder , typescript_type = "TextEncoder")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TextEncoder` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -25,14 +25,14 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `TextEncoder`*"] pub fn new() -> Result; - # [ wasm_bindgen ( method , structural , js_class = "TextEncoder" , js_name = encode ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "TextEncoder" , js_name = encode ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TextMetrics.rs b/crates/web-sys/src/features/gen_TextMetrics.rs index 40772c67ed2..7b6c618dbf3 100644 --- a/crates/web-sys/src/features/gen_TextMetrics.rs +++ b/crates/web-sys/src/features/gen_TextMetrics.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TextMetrics , typescript_type = "TextMetrics" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TextMetrics , typescript_type = "TextMetrics")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TextMetrics` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TextTrack.rs b/crates/web-sys/src/features/gen_TextTrack.rs index a1b26383a52..1cbaad0137e 100644 --- a/crates/web-sys/src/features/gen_TextTrack.rs +++ b/crates/web-sys/src/features/gen_TextTrack.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = TextTrack , typescript_type = "TextTrack" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = TextTrack , typescript_type = "TextTrack")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TextTrack` class."] #[doc = ""] @@ -12,35 +12,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -48,7 +48,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -56,7 +56,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -64,7 +64,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -72,21 +72,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `TextTrack`, `TextTrackCueList`*"] pub fn cues(this: &TextTrack) -> Option; #[cfg(feature = "TextTrackCueList")] - # [ wasm_bindgen ( structural , method , getter , js_class = "TextTrack" , js_name = activeCues ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "TextTrack" , js_name = oncuechange ) ] + # [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 ) ] + # [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)"] @@ -94,7 +94,7 @@ extern "C" { #[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 = "VttCue")] - # [ wasm_bindgen ( method , structural , js_class = "TextTrack" , js_name = addCue ) ] + # [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)"] @@ -102,7 +102,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TextTrackCue.rs b/crates/web-sys/src/features/gen_TextTrackCue.rs index 8313932e271..c73dfaaf16b 100644 --- a/crates/web-sys/src/features/gen_TextTrackCue.rs +++ b/crates/web-sys/src/features/gen_TextTrackCue.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = TextTrackCue , typescript_type = "TextTrackCue" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = TextTrackCue , typescript_type = "TextTrackCue")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TextTrackCue` class."] #[doc = ""] @@ -12,91 +12,91 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "TextTrackCue" , js_name = id ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TextTrackCueList.rs b/crates/web-sys/src/features/gen_TextTrackCueList.rs index 2652a55aeae..82e46863ad6 100644 --- a/crates/web-sys/src/features/gen_TextTrackCueList.rs +++ b/crates/web-sys/src/features/gen_TextTrackCueList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TextTrackCueList , typescript_type = "TextTrackCueList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TextTrackCueList , typescript_type = "TextTrackCueList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TextTrackCueList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TextTrackList.rs b/crates/web-sys/src/features/gen_TextTrackList.rs index bf3397408f4..d3f55a1ed39 100644 --- a/crates/web-sys/src/features/gen_TextTrackList.rs +++ b/crates/web-sys/src/features/gen_TextTrackList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = TextTrackList , typescript_type = "TextTrackList" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = TextTrackList , typescript_type = "TextTrackList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TextTrackList` class."] #[doc = ""] @@ -11,49 +11,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -61,7 +61,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TimeEvent.rs b/crates/web-sys/src/features/gen_TimeEvent.rs index 8e1fcda67d1..bf89b71aafa 100644 --- a/crates/web-sys/src/features/gen_TimeEvent.rs +++ b/crates/web-sys/src/features/gen_TimeEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = TimeEvent , typescript_type = "TimeEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = TimeEvent , typescript_type = "TimeEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TimeEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,14 +19,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "TimeEvent" , js_name = initTimeEvent ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -42,7 +42,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TimeRanges.rs b/crates/web-sys/src/features/gen_TimeRanges.rs index 607ba0a2a41..96e3077e919 100644 --- a/crates/web-sys/src/features/gen_TimeRanges.rs +++ b/crates/web-sys/src/features/gen_TimeRanges.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TimeRanges , typescript_type = "TimeRanges" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TimeRanges , typescript_type = "TimeRanges")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TimeRanges` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "TimeRanges" , js_name = start ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Touch.rs b/crates/web-sys/src/features/gen_Touch.rs index 851ab124b1a..2f364edc0a5 100644 --- a/crates/web-sys/src/features/gen_Touch.rs +++ b/crates/web-sys/src/features/gen_Touch.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Touch , typescript_type = "Touch" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Touch , typescript_type = "Touch")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Touch` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,77 +19,77 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Touch" , js_name = screenX ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TouchEvent.rs b/crates/web-sys/src/features/gen_TouchEvent.rs index acf914810ba..55f2174aab5 100644 --- a/crates/web-sys/src/features/gen_TouchEvent.rs +++ b/crates/web-sys/src/features/gen_TouchEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -28,35 +28,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -81,21 +81,21 @@ extern "C" { type_: &str, event_init_dict: &TouchEventInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "TouchEvent" , js_name = initTouchEvent ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -108,7 +108,7 @@ extern "C" { cancelable: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "TouchEvent" , js_name = initTouchEvent ) ] + # [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)"] @@ -122,7 +122,7 @@ extern "C" { view: Option<&Window>, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "TouchEvent" , js_name = initTouchEvent ) ] + # [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)"] @@ -137,7 +137,7 @@ extern "C" { detail: i32, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "TouchEvent" , js_name = initTouchEvent ) ] + # [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)"] @@ -153,7 +153,7 @@ extern "C" { ctrl_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "TouchEvent" , js_name = initTouchEvent ) ] + # [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)"] @@ -170,7 +170,7 @@ extern "C" { alt_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "TouchEvent" , js_name = initTouchEvent ) ] + # [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)"] @@ -188,7 +188,7 @@ extern "C" { shift_key: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "TouchEvent" , js_name = initTouchEvent ) ] + # [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)"] @@ -207,7 +207,7 @@ extern "C" { meta_key: bool, ); #[cfg(all(feature = "TouchList", feature = "Window",))] - # [ wasm_bindgen ( method , structural , js_class = "TouchEvent" , js_name = initTouchEvent ) ] + # [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)"] @@ -227,7 +227,7 @@ extern "C" { touches: Option<&TouchList>, ); #[cfg(all(feature = "TouchList", feature = "Window",))] - # [ wasm_bindgen ( method , structural , js_class = "TouchEvent" , js_name = initTouchEvent ) ] + # [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)"] @@ -248,7 +248,7 @@ extern "C" { target_touches: Option<&TouchList>, ); #[cfg(all(feature = "TouchList", feature = "Window",))] - # [ wasm_bindgen ( method , structural , js_class = "TouchEvent" , js_name = initTouchEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TouchEventInit.rs b/crates/web-sys/src/features/gen_TouchEventInit.rs index dfaa3f15f40..e667acf9e3e 100644 --- a/crates/web-sys/src/features/gen_TouchEventInit.rs +++ b/crates/web-sys/src/features/gen_TouchEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TouchEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TouchEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TouchEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_TouchInit.rs b/crates/web-sys/src/features/gen_TouchInit.rs index 2cf1d69f2bd..b64ce7a77dc 100644 --- a/crates/web-sys/src/features/gen_TouchInit.rs +++ b/crates/web-sys/src/features/gen_TouchInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TouchInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TouchInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TouchInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_TouchList.rs b/crates/web-sys/src/features/gen_TouchList.rs index 79165d57636..a4415d9eb0f 100644 --- a/crates/web-sys/src/features/gen_TouchList.rs +++ b/crates/web-sys/src/features/gen_TouchList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TouchList , typescript_type = "TouchList" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TouchList , typescript_type = "TouchList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TouchList` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TrackEvent.rs b/crates/web-sys/src/features/gen_TrackEvent.rs index aceb64e7998..2325cb3dfcf 100644 --- a/crates/web-sys/src/features/gen_TrackEvent.rs +++ b/crates/web-sys/src/features/gen_TrackEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = TrackEvent , typescript_type = "TrackEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = TrackEvent , typescript_type = "TrackEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TrackEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TrackEventInit.rs b/crates/web-sys/src/features/gen_TrackEventInit.rs index 8839851acc5..c76bb165bed 100644 --- a/crates/web-sys/src/features/gen_TrackEventInit.rs +++ b/crates/web-sys/src/features/gen_TrackEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TrackEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TrackEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TrackEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_TransitionEvent.rs b/crates/web-sys/src/features/gen_TransitionEvent.rs index 2bff6c7bd4c..c6c98bb93f2 100644 --- a/crates/web-sys/src/features/gen_TransitionEvent.rs +++ b/crates/web-sys/src/features/gen_TransitionEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = TransitionEvent , typescript_type = "TransitionEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = TransitionEvent , typescript_type = "TransitionEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TransitionEvent` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TransitionEventInit.rs b/crates/web-sys/src/features/gen_TransitionEventInit.rs index cebd21bf09f..7c62f084a33 100644 --- a/crates/web-sys/src/features/gen_TransitionEventInit.rs +++ b/crates/web-sys/src/features/gen_TransitionEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TransitionEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TransitionEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TransitionEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_TreeBoxObject.rs b/crates/web-sys/src/features/gen_TreeBoxObject.rs index 107905957f3..74e6b3e6fce 100644 --- a/crates/web-sys/src/features/gen_TreeBoxObject.rs +++ b/crates/web-sys/src/features/gen_TreeBoxObject.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,56 +26,56 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "TreeBoxObject" , js_name = rowHeight ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -83,14 +83,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeBoxObject" , js_name = getCellAt ) ] + # [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)"] @@ -104,77 +104,77 @@ extern "C" { column: &::js_sys::Object, child_elt: &::js_sys::Object, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "TreeBoxObject" , js_name = getFirstVisibleRow ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TreeCellInfo.rs b/crates/web-sys/src/features/gen_TreeCellInfo.rs index 391751bd0c2..5c28491a1d9 100644 --- a/crates/web-sys/src/features/gen_TreeCellInfo.rs +++ b/crates/web-sys/src/features/gen_TreeCellInfo.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TreeCellInfo ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TreeCellInfo)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TreeCellInfo` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_TreeView.rs b/crates/web-sys/src/features/gen_TreeView.rs index 1b1e297ccc2..50b334a6bce 100644 --- a/crates/web-sys/src/features/gen_TreeView.rs +++ b/crates/web-sys/src/features/gen_TreeView.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -32,7 +32,7 @@ extern "C" { data_transfer: Option<&DataTransfer>, ) -> Result; #[cfg(feature = "DataTransfer")] - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeView" , js_name = drop ) ] + # [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)"] @@ -44,84 +44,84 @@ extern "C" { orientation: i32, data_transfer: Option<&DataTransfer>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeView" , js_name = getLevel ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeView" , js_name = getParentIndex ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeView" , js_name = getRowProperties ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeView" , js_name = hasNextSibling ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeView" , js_name = isContainer ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeView" , js_name = isContainerEmpty ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeView" , js_name = isContainerOpen ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeView" , js_name = isSeparator ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "TreeView" , js_name = isSorted ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -129,14 +129,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_TreeWalker.rs b/crates/web-sys/src/features/gen_TreeWalker.rs index f2745e63437..3838270c655 100644 --- a/crates/web-sys/src/features/gen_TreeWalker.rs +++ b/crates/web-sys/src/features/gen_TreeWalker.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = TreeWalker , typescript_type = "TreeWalker" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = TreeWalker , typescript_type = "TreeWalker")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `TreeWalker` class."] #[doc = ""] @@ -12,14 +12,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -35,7 +35,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `NodeFilter`, `TreeWalker`*"] pub fn filter(this: &TreeWalker) -> Option; #[cfg(feature = "Node")] - # [ wasm_bindgen ( structural , method , getter , js_class = "TreeWalker" , js_name = currentNode ) ] + # [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)"] @@ -43,7 +43,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -51,7 +51,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -59,7 +59,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"] pub fn first_child(this: &TreeWalker) -> Result, JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeWalker" , js_name = lastChild ) ] + # [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)"] @@ -67,7 +67,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"] pub fn last_child(this: &TreeWalker) -> Result, JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeWalker" , js_name = nextNode ) ] + # [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)"] @@ -75,7 +75,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"] pub fn next_node(this: &TreeWalker) -> Result, JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeWalker" , js_name = nextSibling ) ] + # [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)"] @@ -83,7 +83,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"] pub fn next_sibling(this: &TreeWalker) -> Result, JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeWalker" , js_name = parentNode ) ] + # [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)"] @@ -91,7 +91,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"] pub fn parent_node(this: &TreeWalker) -> Result, JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeWalker" , js_name = previousNode ) ] + # [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)"] @@ -99,7 +99,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Node`, `TreeWalker`*"] pub fn previous_node(this: &TreeWalker) -> Result, JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "TreeWalker" , js_name = previousSibling ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_U2f.rs b/crates/web-sys/src/features/gen_U2f.rs index 575d573a91c..775377d12c2 100644 --- a/crates/web-sys/src/features/gen_U2f.rs +++ b/crates/web-sys/src/features/gen_U2f.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = U2F , typescript_type = "U2F" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = U2F , typescript_type = "U2F")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `U2f` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -24,7 +24,7 @@ extern "C" { registered_keys: &::wasm_bindgen::JsValue, callback: &::js_sys::Function, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "U2F" , js_name = register ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { callback: &::js_sys::Function, opt_timeout_seconds: Option, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "U2F" , js_name = sign ) ] + # [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)"] @@ -51,7 +51,7 @@ extern "C" { registered_keys: &::wasm_bindgen::JsValue, callback: &::js_sys::Function, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "U2F" , js_name = sign ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_U2fClientData.rs b/crates/web-sys/src/features/gen_U2fClientData.rs index 2995a8cc0a5..9d48d21b532 100644 --- a/crates/web-sys/src/features/gen_U2fClientData.rs +++ b/crates/web-sys/src/features/gen_U2fClientData.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = U2FClientData ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = U2FClientData)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `U2fClientData` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_UdpMessageEventInit.rs b/crates/web-sys/src/features/gen_UdpMessageEventInit.rs index 1dffd621256..f5d28e0ea8f 100644 --- a/crates/web-sys/src/features/gen_UdpMessageEventInit.rs +++ b/crates/web-sys/src/features/gen_UdpMessageEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = UDPMessageEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = UDPMessageEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `UdpMessageEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_UdpOptions.rs b/crates/web-sys/src/features/gen_UdpOptions.rs index 382801a8b13..289c22db8ce 100644 --- a/crates/web-sys/src/features/gen_UdpOptions.rs +++ b/crates/web-sys/src/features/gen_UdpOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = UDPOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = UDPOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `UdpOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_UiEvent.rs b/crates/web-sys/src/features/gen_UiEvent.rs index b829709e36a..5c2120b6c75 100644 --- a/crates/web-sys/src/features/gen_UiEvent.rs +++ b/crates/web-sys/src/features/gen_UiEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = UIEvent , typescript_type = "UIEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = UIEvent , typescript_type = "UIEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `UiEvent` class."] #[doc = ""] @@ -12,49 +12,49 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "UIEvent" , js_name = detail ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -62,14 +62,14 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "UIEvent" , js_name = rangeOffset ) ] + # [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)"] @@ -94,21 +94,21 @@ extern "C" { type_: &str, event_init_dict: &UiEventInit, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "UIEvent" , js_name = initUIEvent ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -121,7 +121,7 @@ extern "C" { a_cancelable: bool, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "UIEvent" , js_name = initUIEvent ) ] + # [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)"] @@ -135,7 +135,7 @@ extern "C" { a_view: Option<&Window>, ); #[cfg(feature = "Window")] - # [ wasm_bindgen ( method , structural , js_class = "UIEvent" , js_name = initUIEvent ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_UiEventInit.rs b/crates/web-sys/src/features/gen_UiEventInit.rs index 6b0a75db86f..d1d191a335b 100644 --- a/crates/web-sys/src/features/gen_UiEventInit.rs +++ b/crates/web-sys/src/features/gen_UiEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = UIEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = UIEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `UiEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Url.rs b/crates/web-sys/src/features/gen_Url.rs index afa93f441ec..b4ad91dbc24 100644 --- a/crates/web-sys/src/features/gen_Url.rs +++ b/crates/web-sys/src/features/gen_Url.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = URL , typescript_type = "URL" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = URL , typescript_type = "URL")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Url` class."] #[doc = ""] @@ -11,133 +11,133 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -145,21 +145,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -181,7 +181,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Url`*"] pub fn new_with_base(url: &str, base: &str) -> Result; #[cfg(feature = "Blob")] - # [ wasm_bindgen ( catch , static_method_of = Url , js_class = "URL" , js_name = createObjectURL ) ] + # [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)"] @@ -189,21 +189,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Blob`, `Url`*"] pub fn create_object_url_with_blob(blob: &Blob) -> Result; #[cfg(feature = "MediaSource")] - # [ wasm_bindgen ( catch , static_method_of = Url , js_class = "URL" , js_name = createObjectURL ) ] + # [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; - # [ wasm_bindgen ( catch , static_method_of = Url , js_class = "URL" , js_name = revokeObjectURL ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_UrlSearchParams.rs b/crates/web-sys/src/features/gen_UrlSearchParams.rs index 1942fd5c899..4c4f1e3518e 100644 --- a/crates/web-sys/src/features/gen_UrlSearchParams.rs +++ b/crates/web-sys/src/features/gen_UrlSearchParams.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = URLSearchParams , typescript_type = "URLSearchParams" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = URLSearchParams , typescript_type = "URLSearchParams")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `UrlSearchParams` class."] #[doc = ""] @@ -34,49 +34,49 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `UrlSearchParams`*"] pub fn new_with_str(init: &str) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "URLSearchParams" , js_name = append ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "URLSearchParams" , js_name = getAll ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_UserProximityEvent.rs b/crates/web-sys/src/features/gen_UserProximityEvent.rs index 09049e8eb30..5b949247604 100644 --- a/crates/web-sys/src/features/gen_UserProximityEvent.rs +++ b/crates/web-sys/src/features/gen_UserProximityEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = UserProximityEvent , typescript_type = "UserProximityEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = UserProximityEvent , typescript_type = "UserProximityEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `UserProximityEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_UserProximityEventInit.rs b/crates/web-sys/src/features/gen_UserProximityEventInit.rs index 36d8754e2f6..5078461d5ec 100644 --- a/crates/web-sys/src/features/gen_UserProximityEventInit.rs +++ b/crates/web-sys/src/features/gen_UserProximityEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = UserProximityEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = UserProximityEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `UserProximityEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_ValidityState.rs b/crates/web-sys/src/features/gen_ValidityState.rs index b484217eabb..4550a3de489 100644 --- a/crates/web-sys/src/features/gen_ValidityState.rs +++ b/crates/web-sys/src/features/gen_ValidityState.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = ValidityState , typescript_type = "ValidityState" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ValidityState , typescript_type = "ValidityState")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `ValidityState` class."] #[doc = ""] @@ -11,77 +11,77 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VideoConfiguration.rs b/crates/web-sys/src/features/gen_VideoConfiguration.rs index b1babee66fe..630d9b5c556 100644 --- a/crates/web-sys/src/features/gen_VideoConfiguration.rs +++ b/crates/web-sys/src/features/gen_VideoConfiguration.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VideoConfiguration ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoConfiguration)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VideoConfiguration` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_VideoPlaybackQuality.rs b/crates/web-sys/src/features/gen_VideoPlaybackQuality.rs index f60826c4ada..6556f12225a 100644 --- a/crates/web-sys/src/features/gen_VideoPlaybackQuality.rs +++ b/crates/web-sys/src/features/gen_VideoPlaybackQuality.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VideoPlaybackQuality , typescript_type = "VideoPlaybackQuality" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoPlaybackQuality , typescript_type = "VideoPlaybackQuality")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VideoPlaybackQuality` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VideoStreamTrack.rs b/crates/web-sys/src/features/gen_VideoStreamTrack.rs index 553143b9081..de248ce5f83 100644 --- a/crates/web-sys/src/features/gen_VideoStreamTrack.rs +++ b/crates/web-sys/src/features/gen_VideoStreamTrack.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_VideoTrack.rs b/crates/web-sys/src/features/gen_VideoTrack.rs index cf6f0c96ded..535f7f9cf9b 100644 --- a/crates/web-sys/src/features/gen_VideoTrack.rs +++ b/crates/web-sys/src/features/gen_VideoTrack.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VideoTrack , typescript_type = "VideoTrack" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VideoTrack , typescript_type = "VideoTrack")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VideoTrack` class."] #[doc = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VideoTrackList.rs b/crates/web-sys/src/features/gen_VideoTrackList.rs index 3e8af936ae0..8a743d5e7b9 100644 --- a/crates/web-sys/src/features/gen_VideoTrackList.rs +++ b/crates/web-sys/src/features/gen_VideoTrackList.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = VideoTrackList , typescript_type = "VideoTrackList" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = VideoTrackList , typescript_type = "VideoTrackList")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VideoTrackList` class."] #[doc = ""] @@ -11,56 +11,56 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -68,7 +68,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VoidCallback.rs b/crates/web-sys/src/features/gen_VoidCallback.rs index b96b21072e9..5e235074221 100644 --- a/crates/web-sys/src/features/gen_VoidCallback.rs +++ b/crates/web-sys/src/features/gen_VoidCallback.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VoidCallback ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VoidCallback)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VoidCallback` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_VrDisplay.rs b/crates/web-sys/src/features/gen_VrDisplay.rs index d8df4ad5c71..f4f100e869d 100644 --- a/crates/web-sys/src/features/gen_VrDisplay.rs +++ b/crates/web-sys/src/features/gen_VrDisplay.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = VRDisplay , typescript_type = "VRDisplay" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = VRDisplay , typescript_type = "VRDisplay")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VrDisplay` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -34,63 +34,63 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "VRDisplay" , js_name = displayId ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -98,7 +98,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -106,14 +106,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -121,7 +121,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -129,14 +129,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -146,7 +146,7 @@ extern "C" { this: &VrDisplay, callback: &::js_sys::Function, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "VRDisplay" , js_name = requestPresent ) ] + # [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)"] @@ -156,14 +156,14 @@ extern "C" { this: &VrDisplay, layers: &::wasm_bindgen::JsValue, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "VRDisplay" , js_name = resetPose ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VrDisplayCapabilities.rs b/crates/web-sys/src/features/gen_VrDisplayCapabilities.rs index 961239071b5..1f02ad81f44 100644 --- a/crates/web-sys/src/features/gen_VrDisplayCapabilities.rs +++ b/crates/web-sys/src/features/gen_VrDisplayCapabilities.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VRDisplayCapabilities , typescript_type = "VRDisplayCapabilities" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRDisplayCapabilities , typescript_type = "VRDisplayCapabilities")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VrDisplayCapabilities` class."] #[doc = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VrEyeParameters.rs b/crates/web-sys/src/features/gen_VrEyeParameters.rs index 446c045e94d..6a351c26a31 100644 --- a/crates/web-sys/src/features/gen_VrEyeParameters.rs +++ b/crates/web-sys/src/features/gen_VrEyeParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VREyeParameters , typescript_type = "VREyeParameters" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VREyeParameters , typescript_type = "VREyeParameters")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VrEyeParameters` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,21 +19,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `VrEyeParameters`*"] pub fn offset(this: &VrEyeParameters) -> Result, JsValue>; #[cfg(feature = "VrFieldOfView")] - # [ wasm_bindgen ( structural , method , getter , js_class = "VREyeParameters" , js_name = fieldOfView ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VrFieldOfView.rs b/crates/web-sys/src/features/gen_VrFieldOfView.rs index cacd86e74ec..45621b219f3 100644 --- a/crates/web-sys/src/features/gen_VrFieldOfView.rs +++ b/crates/web-sys/src/features/gen_VrFieldOfView.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VRFieldOfView , typescript_type = "VRFieldOfView" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRFieldOfView , typescript_type = "VRFieldOfView")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VrFieldOfView` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VrFrameData.rs b/crates/web-sys/src/features/gen_VrFrameData.rs index e13052d1e50..697997dbdce 100644 --- a/crates/web-sys/src/features/gen_VrFrameData.rs +++ b/crates/web-sys/src/features/gen_VrFrameData.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VRFrameData , typescript_type = "VRFrameData" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRFrameData , typescript_type = "VRFrameData")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VrFrameData` class."] #[doc = ""] @@ -11,35 +11,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "VRFrameData" , js_name = leftViewMatrix ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "VRFrameData" , js_name = rightProjectionMatrix ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "VRFrameData" , js_name = rightViewMatrix ) ] + # [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)"] @@ -47,7 +47,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `VrFrameData`*"] pub fn right_view_matrix(this: &VrFrameData) -> Result, JsValue>; #[cfg(feature = "VrPose")] - # [ wasm_bindgen ( structural , method , getter , js_class = "VRFrameData" , js_name = pose ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VrLayer.rs b/crates/web-sys/src/features/gen_VrLayer.rs index c99dba7f2ad..d3e3206d467 100644 --- a/crates/web-sys/src/features/gen_VrLayer.rs +++ b/crates/web-sys/src/features/gen_VrLayer.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VRLayer ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRLayer)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VrLayer` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_VrMockController.rs b/crates/web-sys/src/features/gen_VrMockController.rs index caf36ebc740..23676c7ef8f 100644 --- a/crates/web-sys/src/features/gen_VrMockController.rs +++ b/crates/web-sys/src/features/gen_VrMockController.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VRMockController , typescript_type = "VRMockController" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRMockController , typescript_type = "VRMockController")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VrMockController` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VrMockDisplay.rs b/crates/web-sys/src/features/gen_VrMockDisplay.rs index 6bd13a78964..5f503ba12fe 100644 --- a/crates/web-sys/src/features/gen_VrMockDisplay.rs +++ b/crates/web-sys/src/features/gen_VrMockDisplay.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VRMockDisplay , typescript_type = "VRMockDisplay" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRMockDisplay , typescript_type = "VRMockDisplay")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VrMockDisplay` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -29,21 +29,21 @@ extern "C" { down_degree: f64, left_degree: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "VRMockDisplay" , js_name = setEyeResolution ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -58,7 +58,7 @@ extern "C" { angular_velocity: Option<&mut [f32]>, angular_acceleration: Option<&mut [f32]>, ); - # [ wasm_bindgen ( method , structural , js_class = "VRMockDisplay" , js_name = update ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VrPose.rs b/crates/web-sys/src/features/gen_VrPose.rs index 51cebf7cd73..c7e03eea5e4 100644 --- a/crates/web-sys/src/features/gen_VrPose.rs +++ b/crates/web-sys/src/features/gen_VrPose.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VRPose , typescript_type = "VRPose" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRPose , typescript_type = "VRPose")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VrPose` class."] #[doc = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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>, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "VRPose" , js_name = linearVelocity ) ] + # [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>, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "VRPose" , js_name = linearAcceleration ) ] + # [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>, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "VRPose" , js_name = orientation ) ] + # [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>, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "VRPose" , js_name = angularVelocity ) ] + # [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>, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "VRPose" , js_name = angularAcceleration ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VrServiceTest.rs b/crates/web-sys/src/features/gen_VrServiceTest.rs index 06d42f7b668..7becadb161a 100644 --- a/crates/web-sys/src/features/gen_VrServiceTest.rs +++ b/crates/web-sys/src/features/gen_VrServiceTest.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VRServiceTest , typescript_type = "VRServiceTest" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRServiceTest , typescript_type = "VRServiceTest")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VrServiceTest` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -21,7 +21,7 @@ extern "C" { this: &VrServiceTest, id: &str, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "VRServiceTest" , js_name = attachVRDisplay ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VrStageParameters.rs b/crates/web-sys/src/features/gen_VrStageParameters.rs index 90c0e4a6e1c..081ff053557 100644 --- a/crates/web-sys/src/features/gen_VrStageParameters.rs +++ b/crates/web-sys/src/features/gen_VrStageParameters.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VRStageParameters , typescript_type = "VRStageParameters" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRStageParameters , typescript_type = "VRStageParameters")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VrStageParameters` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , method , getter , js_class = "VRStageParameters" , js_name = sizeX ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VrSubmitFrameResult.rs b/crates/web-sys/src/features/gen_VrSubmitFrameResult.rs index c206620cf15..b0dd1aebedd 100644 --- a/crates/web-sys/src/features/gen_VrSubmitFrameResult.rs +++ b/crates/web-sys/src/features/gen_VrSubmitFrameResult.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VRSubmitFrameResult , typescript_type = "VRSubmitFrameResult" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRSubmitFrameResult , typescript_type = "VRSubmitFrameResult")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VrSubmitFrameResult` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VttCue.rs b/crates/web-sys/src/features/gen_VttCue.rs index 98ff63bb33e..a232704b0d1 100644 --- a/crates/web-sys/src/features/gen_VttCue.rs +++ b/crates/web-sys/src/features/gen_VttCue.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `VttCue`, `VttRegion`*"] pub fn region(this: &VttCue) -> Option; #[cfg(feature = "VttRegion")] - # [ wasm_bindgen ( structural , method , setter , js_class = "VTTCue" , js_name = region ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -36,35 +36,35 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -72,7 +72,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -80,21 +80,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -102,7 +102,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -110,21 +110,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -132,7 +132,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -140,21 +140,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -169,7 +169,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `VttCue`*"] pub fn new(start_time: f64, end_time: f64, text: &str) -> Result; #[cfg(feature = "DocumentFragment")] - # [ wasm_bindgen ( method , structural , js_class = "VTTCue" , js_name = getCueAsHTML ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_VttRegion.rs b/crates/web-sys/src/features/gen_VttRegion.rs index c004fac6387..71e3fb3d06d 100644 --- a/crates/web-sys/src/features/gen_VttRegion.rs +++ b/crates/web-sys/src/features/gen_VttRegion.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = VTTRegion , typescript_type = "VTTRegion" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VTTRegion , typescript_type = "VTTRegion")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `VttRegion` class."] #[doc = ""] @@ -11,98 +11,98 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -110,7 +110,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -118,7 +118,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WaveShaperNode.rs b/crates/web-sys/src/features/gen_WaveShaperNode.rs index 763006d6426..4c3b8c31ce5 100644 --- a/crates/web-sys/src/features/gen_WaveShaperNode.rs +++ b/crates/web-sys/src/features/gen_WaveShaperNode.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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>; - # [ wasm_bindgen ( structural , method , setter , js_class = "WaveShaperNode" , js_name = curve ) ] + # [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)"] @@ -26,7 +26,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -34,7 +34,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WaveShaperOptions.rs b/crates/web-sys/src/features/gen_WaveShaperOptions.rs index 1bb7fa26ae2..453c509f251 100644 --- a/crates/web-sys/src/features/gen_WaveShaperOptions.rs +++ b/crates/web-sys/src/features/gen_WaveShaperOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WaveShaperOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WaveShaperOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WaveShaperOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGl2RenderingContext.rs b/crates/web-sys/src/features/gen_WebGl2RenderingContext.rs index a2e849b224b..ddaa46f2c68 100644 --- a/crates/web-sys/src/features/gen_WebGl2RenderingContext.rs +++ b/crates/web-sys/src/features/gen_WebGl2RenderingContext.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGL2RenderingContext , typescript_type = "WebGL2RenderingContext" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGL2RenderingContext , typescript_type = "WebGL2RenderingContext")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGl2RenderingContext` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -33,14 +33,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -48,7 +48,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -61,7 +61,7 @@ extern "C" { buffer: Option<&WebGlBuffer>, ); #[cfg(feature = "WebGlBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange ) ] + # [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)"] @@ -76,7 +76,7 @@ extern "C" { size: i32, ); #[cfg(feature = "WebGlBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange ) ] + # [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)"] @@ -91,7 +91,7 @@ extern "C" { size: i32, ); #[cfg(feature = "WebGlBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange ) ] + # [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)"] @@ -106,7 +106,7 @@ extern "C" { size: f64, ); #[cfg(feature = "WebGlBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBufferRange ) ] + # [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)"] @@ -121,7 +121,7 @@ extern "C" { size: f64, ); #[cfg(feature = "WebGlSampler")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bindSampler ) ] + # [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)"] @@ -129,7 +129,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -141,14 +141,14 @@ extern "C" { tf: Option<&WebGlTransformFeedback>, ); #[cfg(feature = "WebGlVertexArrayObject")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bindVertexArray ) ] + # [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 ) ] + # [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)"] @@ -167,21 +167,21 @@ extern "C" { mask: u32, filter: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -193,7 +193,7 @@ extern "C" { src_data: Option<&::js_sys::ArrayBuffer>, usage: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData ) ] + # [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)"] @@ -205,7 +205,7 @@ extern "C" { src_data: &::js_sys::Object, usage: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData ) ] + # [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)"] @@ -217,7 +217,7 @@ extern "C" { src_data: &[u8], usage: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData ) ] + # [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)"] @@ -230,7 +230,7 @@ extern "C" { usage: u32, src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData ) ] + # [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)"] @@ -243,7 +243,7 @@ extern "C" { usage: u32, src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData ) ] + # [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)"] @@ -257,7 +257,7 @@ extern "C" { src_offset: u32, length: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferData ) ] + # [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)"] @@ -271,7 +271,7 @@ extern "C" { src_offset: u32, length: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -283,7 +283,7 @@ extern "C" { offset: i32, src_data: &::js_sys::ArrayBuffer, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -295,7 +295,7 @@ extern "C" { offset: f64, src_data: &::js_sys::ArrayBuffer, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -307,7 +307,7 @@ extern "C" { offset: i32, src_data: &::js_sys::Object, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -319,7 +319,7 @@ extern "C" { offset: f64, src_data: &::js_sys::Object, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -331,7 +331,7 @@ extern "C" { offset: i32, src_data: &[u8], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -343,7 +343,7 @@ extern "C" { offset: f64, src_data: &[u8], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -356,7 +356,7 @@ extern "C" { src_data: &::js_sys::Object, src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -369,7 +369,7 @@ extern "C" { src_data: &::js_sys::Object, src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -382,7 +382,7 @@ extern "C" { src_data: &[u8], src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -395,7 +395,7 @@ extern "C" { src_data: &[u8], src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -409,7 +409,7 @@ extern "C" { src_offset: u32, length: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -423,7 +423,7 @@ extern "C" { src_offset: u32, length: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -437,7 +437,7 @@ extern "C" { src_offset: u32, length: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -451,7 +451,7 @@ extern "C" { src_offset: u32, length: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfi ) ] + # [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)"] @@ -464,7 +464,7 @@ extern "C" { depth: f32, stencil: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv ) ] + # [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)"] @@ -476,7 +476,7 @@ extern "C" { drawbuffer: i32, values: &[f32], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv ) ] + # [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)"] @@ -488,7 +488,7 @@ extern "C" { drawbuffer: i32, values: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv ) ] + # [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)"] @@ -501,7 +501,7 @@ extern "C" { values: &[f32], src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferfv ) ] + # [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)"] @@ -514,7 +514,7 @@ extern "C" { values: &::wasm_bindgen::JsValue, src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv ) ] + # [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)"] @@ -526,7 +526,7 @@ extern "C" { drawbuffer: i32, values: &[i32], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv ) ] + # [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)"] @@ -538,7 +538,7 @@ extern "C" { drawbuffer: i32, values: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv ) ] + # [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)"] @@ -551,7 +551,7 @@ extern "C" { values: &[i32], src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferiv ) ] + # [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)"] @@ -564,7 +564,7 @@ extern "C" { values: &::wasm_bindgen::JsValue, src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv ) ] + # [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)"] @@ -576,7 +576,7 @@ extern "C" { drawbuffer: i32, values: &[u32], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv ) ] + # [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)"] @@ -588,7 +588,7 @@ extern "C" { drawbuffer: i32, values: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv ) ] + # [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)"] @@ -601,7 +601,7 @@ extern "C" { values: &[u32], src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clearBufferuiv ) ] + # [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)"] @@ -615,7 +615,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlSync")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clientWaitSync ) ] + # [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)"] @@ -628,7 +628,7 @@ extern "C" { timeout: u32, ) -> u32; #[cfg(feature = "WebGlSync")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = clientWaitSync ) ] + # [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)"] @@ -640,7 +640,7 @@ extern "C" { flags: u32, timeout: f64, ) -> u32; - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D ) ] + # [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)"] @@ -657,7 +657,7 @@ extern "C" { image_size: i32, offset: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D ) ] + # [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)"] @@ -674,7 +674,7 @@ extern "C" { image_size: i32, offset: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D ) ] + # [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)"] @@ -690,7 +690,7 @@ extern "C" { border: i32, src_data: &::js_sys::Object, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D ) ] + # [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)"] @@ -706,7 +706,7 @@ extern "C" { border: i32, src_data: &[u8], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D ) ] + # [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)"] @@ -723,7 +723,7 @@ extern "C" { src_data: &::js_sys::Object, src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D ) ] + # [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)"] @@ -740,7 +740,7 @@ extern "C" { src_data: &[u8], src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D ) ] + # [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)"] @@ -758,7 +758,7 @@ extern "C" { src_offset: u32, src_length_override: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage2D ) ] + # [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)"] @@ -776,7 +776,7 @@ extern "C" { src_offset: u32, src_length_override: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D ) ] + # [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)"] @@ -794,7 +794,7 @@ extern "C" { image_size: i32, offset: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D ) ] + # [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)"] @@ -812,7 +812,7 @@ extern "C" { image_size: i32, offset: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D ) ] + # [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)"] @@ -829,7 +829,7 @@ extern "C" { border: i32, src_data: &::js_sys::Object, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D ) ] + # [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)"] @@ -846,7 +846,7 @@ extern "C" { border: i32, src_data: &[u8], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D ) ] + # [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)"] @@ -864,7 +864,7 @@ extern "C" { src_data: &::js_sys::Object, src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D ) ] + # [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)"] @@ -882,7 +882,7 @@ extern "C" { src_data: &[u8], src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D ) ] + # [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)"] @@ -901,7 +901,7 @@ extern "C" { src_offset: u32, src_length_override: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexImage3D ) ] + # [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)"] @@ -920,7 +920,7 @@ extern "C" { src_offset: u32, src_length_override: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D ) ] + # [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)"] @@ -938,7 +938,7 @@ extern "C" { image_size: i32, offset: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D ) ] + # [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)"] @@ -956,7 +956,7 @@ extern "C" { image_size: i32, offset: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D ) ] + # [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)"] @@ -973,7 +973,7 @@ extern "C" { format: u32, src_data: &::js_sys::Object, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D ) ] + # [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)"] @@ -990,7 +990,7 @@ extern "C" { format: u32, src_data: &mut [u8], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D ) ] + # [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)"] @@ -1008,7 +1008,7 @@ extern "C" { src_data: &::js_sys::Object, src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D ) ] + # [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)"] @@ -1026,7 +1026,7 @@ extern "C" { src_data: &mut [u8], src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D ) ] + # [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)"] @@ -1045,7 +1045,7 @@ extern "C" { src_offset: u32, src_length_override: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage2D ) ] + # [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)"] @@ -1064,7 +1064,7 @@ extern "C" { src_offset: u32, src_length_override: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D ) ] + # [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)"] @@ -1084,7 +1084,7 @@ extern "C" { image_size: i32, offset: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D ) ] + # [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)"] @@ -1104,7 +1104,7 @@ extern "C" { image_size: i32, offset: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D ) ] + # [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)"] @@ -1123,7 +1123,7 @@ extern "C" { format: u32, src_data: &::js_sys::Object, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D ) ] + # [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)"] @@ -1142,7 +1142,7 @@ extern "C" { format: u32, src_data: &mut [u8], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D ) ] + # [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)"] @@ -1162,7 +1162,7 @@ extern "C" { src_data: &::js_sys::Object, src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D ) ] + # [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)"] @@ -1182,7 +1182,7 @@ extern "C" { src_data: &mut [u8], src_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D ) ] + # [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)"] @@ -1203,7 +1203,7 @@ extern "C" { src_offset: u32, src_length_override: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compressedTexSubImage3D ) ] + # [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)"] @@ -1224,7 +1224,7 @@ extern "C" { src_offset: u32, src_length_override: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData ) ] + # [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)"] @@ -1238,7 +1238,7 @@ extern "C" { write_offset: i32, size: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData ) ] + # [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)"] @@ -1252,7 +1252,7 @@ extern "C" { write_offset: i32, size: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData ) ] + # [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)"] @@ -1266,7 +1266,7 @@ extern "C" { write_offset: f64, size: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData ) ] + # [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)"] @@ -1280,7 +1280,7 @@ extern "C" { write_offset: f64, size: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData ) ] + # [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)"] @@ -1294,7 +1294,7 @@ extern "C" { write_offset: i32, size: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData ) ] + # [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)"] @@ -1308,7 +1308,7 @@ extern "C" { write_offset: i32, size: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData ) ] + # [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)"] @@ -1322,7 +1322,7 @@ extern "C" { write_offset: f64, size: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = copyBufferSubData ) ] + # [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)"] @@ -1336,7 +1336,7 @@ extern "C" { write_offset: f64, size: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexSubImage3D ) ] + # [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)"] @@ -1355,7 +1355,7 @@ extern "C" { height: i32, ); #[cfg(feature = "WebGlQuery")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = createQuery ) ] + # [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)"] @@ -1363,7 +1363,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*"] pub fn create_query(this: &WebGl2RenderingContext) -> Option; #[cfg(feature = "WebGlSampler")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = createSampler ) ] + # [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)"] @@ -1371,7 +1371,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*"] pub fn create_sampler(this: &WebGl2RenderingContext) -> Option; #[cfg(feature = "WebGlTransformFeedback")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = createTransformFeedback ) ] + # [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)"] @@ -1381,7 +1381,7 @@ extern "C" { this: &WebGl2RenderingContext, ) -> Option; #[cfg(feature = "WebGlVertexArrayObject")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = createVertexArray ) ] + # [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)"] @@ -1389,7 +1389,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*"] pub fn create_vertex_array(this: &WebGl2RenderingContext) -> Option; #[cfg(feature = "WebGlQuery")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteQuery ) ] + # [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)"] @@ -1397,7 +1397,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1405,7 +1405,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1413,7 +1413,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1424,7 +1424,7 @@ extern "C" { tf: Option<&WebGlTransformFeedback>, ); #[cfg(feature = "WebGlVertexArrayObject")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteVertexArray ) ] + # [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)"] @@ -1434,7 +1434,7 @@ extern "C" { this: &WebGl2RenderingContext, vertex_array: Option<&WebGlVertexArrayObject>, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = drawArraysInstanced ) ] + # [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)"] @@ -1447,14 +1447,14 @@ extern "C" { count: i32, instance_count: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = drawBuffers ) ] + # [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 ) ] + # [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)"] @@ -1468,7 +1468,7 @@ extern "C" { offset: i32, instance_count: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElementsInstanced ) ] + # [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)"] @@ -1482,7 +1482,7 @@ extern "C" { offset: f64, instance_count: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = drawRangeElements ) ] + # [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)"] @@ -1497,7 +1497,7 @@ extern "C" { type_: u32, offset: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = drawRangeElements ) ] + # [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)"] @@ -1512,14 +1512,14 @@ extern "C" { type_: u32, offset: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = endQuery ) ] + # [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 ) ] + # [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)"] @@ -1527,7 +1527,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1539,7 +1539,7 @@ extern "C" { flags: u32, ) -> Option; #[cfg(feature = "WebGlTexture")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferTextureLayer ) ] + # [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)"] @@ -1554,7 +1554,7 @@ extern "C" { layer: i32, ); #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniformBlockName ) ] + # [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)"] @@ -1566,7 +1566,7 @@ extern "C" { uniform_block_index: u32, ) -> Option; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniformBlockParameter ) ] + # [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)"] @@ -1579,7 +1579,7 @@ extern "C" { pname: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniforms ) ] + # [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)"] @@ -1591,7 +1591,7 @@ extern "C" { uniform_indices: &::wasm_bindgen::JsValue, pname: u32, ) -> ::wasm_bindgen::JsValue; - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData ) ] + # [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)"] @@ -1603,7 +1603,7 @@ extern "C" { src_byte_offset: i32, dst_data: &::js_sys::Object, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData ) ] + # [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)"] @@ -1615,7 +1615,7 @@ extern "C" { src_byte_offset: f64, dst_data: &::js_sys::Object, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData ) ] + # [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)"] @@ -1627,7 +1627,7 @@ extern "C" { src_byte_offset: i32, dst_data: &mut [u8], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData ) ] + # [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)"] @@ -1639,7 +1639,7 @@ extern "C" { src_byte_offset: f64, dst_data: &mut [u8], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData ) ] + # [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)"] @@ -1652,7 +1652,7 @@ extern "C" { dst_data: &::js_sys::Object, dst_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData ) ] + # [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)"] @@ -1665,7 +1665,7 @@ extern "C" { dst_data: &::js_sys::Object, dst_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData ) ] + # [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)"] @@ -1678,7 +1678,7 @@ extern "C" { dst_data: &mut [u8], dst_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData ) ] + # [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)"] @@ -1691,7 +1691,7 @@ extern "C" { dst_data: &mut [u8], dst_offset: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData ) ] + # [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)"] @@ -1705,7 +1705,7 @@ extern "C" { dst_offset: u32, length: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData ) ] + # [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)"] @@ -1719,7 +1719,7 @@ extern "C" { dst_offset: u32, length: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData ) ] + # [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)"] @@ -1733,7 +1733,7 @@ extern "C" { dst_offset: u32, length: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferSubData ) ] + # [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)"] @@ -1748,7 +1748,7 @@ extern "C" { length: u32, ); #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getFragDataLocation ) ] + # [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)"] @@ -1759,7 +1759,7 @@ extern "C" { program: &WebGlProgram, name: &str, ) -> i32; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getIndexedParameter ) ] + # [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)"] @@ -1770,7 +1770,7 @@ extern "C" { target: u32, index: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getInternalformatParameter ) ] + # [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)"] @@ -1782,7 +1782,7 @@ extern "C" { internalformat: u32, pname: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getQuery ) ] + # [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)"] @@ -1794,7 +1794,7 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(feature = "WebGlQuery")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getQueryParameter ) ] + # [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)"] @@ -1806,7 +1806,7 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(feature = "WebGlSampler")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getSamplerParameter ) ] + # [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)"] @@ -1818,7 +1818,7 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(feature = "WebGlSync")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getSyncParameter ) ] + # [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)"] @@ -1830,7 +1830,7 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getTransformFeedbackVarying ) ] + # [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)"] @@ -1842,7 +1842,7 @@ extern "C" { index: u32, ) -> Option; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformBlockIndex ) ] + # [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)"] @@ -1854,7 +1854,7 @@ extern "C" { uniform_block_name: &str, ) -> u32; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformIndices ) ] + # [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)"] @@ -1865,7 +1865,7 @@ extern "C" { program: &WebGlProgram, uniform_names: &::wasm_bindgen::JsValue, ) -> Option<::js_sys::Array>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = invalidateFramebuffer ) ] + # [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)"] @@ -1876,7 +1876,7 @@ extern "C" { target: u32, attachments: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = invalidateSubFramebuffer ) ] + # [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)"] @@ -1892,7 +1892,7 @@ extern "C" { height: i32, ) -> Result<(), JsValue>; #[cfg(feature = "WebGlQuery")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = isQuery ) ] + # [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)"] @@ -1900,7 +1900,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1908,7 +1908,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1916,7 +1916,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1927,7 +1927,7 @@ extern "C" { tf: Option<&WebGlTransformFeedback>, ) -> bool; #[cfg(feature = "WebGlVertexArrayObject")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = isVertexArray ) ] + # [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)"] @@ -1937,21 +1937,21 @@ extern "C" { this: &WebGl2RenderingContext, vertex_array: Option<&WebGlVertexArrayObject>, ) -> bool; - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = pauseTransformFeedback ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1967,7 +1967,7 @@ extern "C" { type_: u32, dst_data: Option<&::js_sys::Object>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels ) ] + # [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)"] @@ -1983,7 +1983,7 @@ extern "C" { type_: u32, dst_data: Option<&mut [u8]>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels ) ] + # [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)"] @@ -1999,7 +1999,7 @@ extern "C" { type_: u32, offset: i32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels ) ] + # [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)"] @@ -2015,7 +2015,7 @@ extern "C" { type_: u32, offset: f64, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels ) ] + # [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)"] @@ -2032,7 +2032,7 @@ extern "C" { dst_data: &::js_sys::Object, dst_offset: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = readPixels ) ] + # [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)"] @@ -2049,7 +2049,7 @@ extern "C" { dst_data: &mut [u8], dst_offset: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = renderbufferStorageMultisample ) ] + # [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)"] @@ -2063,7 +2063,7 @@ extern "C" { width: i32, height: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = resumeTransformFeedback ) ] + # [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)"] @@ -2071,7 +2071,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -2084,7 +2084,7 @@ extern "C" { param: f32, ); #[cfg(feature = "WebGlSampler")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = samplerParameteri ) ] + # [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)"] @@ -2096,7 +2096,7 @@ extern "C" { pname: u32, param: i32, ); - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2114,7 +2114,7 @@ extern "C" { type_: u32, pixels: Option<&::js_sys::Object>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2133,7 +2133,7 @@ extern "C" { pixels: Option<&[u8]>, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2149,7 +2149,7 @@ extern "C" { source: &HtmlCanvasElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2165,7 +2165,7 @@ extern "C" { source: &HtmlImageElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2181,7 +2181,7 @@ extern "C" { source: &HtmlVideoElement, ) -> Result<(), JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2197,7 +2197,7 @@ extern "C" { source: &ImageBitmap, ) -> Result<(), JsValue>; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2212,7 +2212,7 @@ extern "C" { type_: u32, source: &ImageData, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2230,7 +2230,7 @@ extern "C" { type_: u32, pbo_offset: i32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2249,7 +2249,7 @@ extern "C" { pbo_offset: f64, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2268,7 +2268,7 @@ extern "C" { source: &HtmlCanvasElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2287,7 +2287,7 @@ extern "C" { source: &HtmlImageElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2306,7 +2306,7 @@ extern "C" { source: &HtmlVideoElement, ) -> Result<(), JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2325,7 +2325,7 @@ extern "C" { source: &ImageBitmap, ) -> Result<(), JsValue>; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2343,7 +2343,7 @@ extern "C" { type_: u32, source: &ImageData, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2362,7 +2362,7 @@ extern "C" { src_data: &::js_sys::Object, src_offset: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -2381,7 +2381,7 @@ extern "C" { src_data: &[u8], src_offset: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D ) ] + # [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)"] @@ -2400,7 +2400,7 @@ extern "C" { type_: u32, pbo_offset: i32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D ) ] + # [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)"] @@ -2420,7 +2420,7 @@ extern "C" { pbo_offset: f64, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D ) ] + # [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)"] @@ -2440,7 +2440,7 @@ extern "C" { source: &HtmlCanvasElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D ) ] + # [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)"] @@ -2460,7 +2460,7 @@ extern "C" { source: &HtmlImageElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D ) ] + # [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)"] @@ -2480,7 +2480,7 @@ extern "C" { source: &HtmlVideoElement, ) -> Result<(), JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D ) ] + # [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)"] @@ -2500,7 +2500,7 @@ extern "C" { source: &ImageBitmap, ) -> Result<(), JsValue>; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D ) ] + # [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)"] @@ -2519,7 +2519,7 @@ extern "C" { type_: u32, source: &ImageData, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D ) ] + # [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)"] @@ -2538,7 +2538,7 @@ extern "C" { type_: u32, src_data: Option<&::js_sys::Object>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D ) ] + # [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)"] @@ -2557,7 +2557,7 @@ extern "C" { type_: u32, src_data: Option<&[u8]>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D ) ] + # [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)"] @@ -2577,7 +2577,7 @@ extern "C" { src_data: &::js_sys::Object, src_offset: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texImage3D ) ] + # [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)"] @@ -2597,7 +2597,7 @@ extern "C" { src_data: &[u8], src_offset: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = texStorage2D ) ] + # [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)"] @@ -2611,7 +2611,7 @@ extern "C" { width: i32, height: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = texStorage3D ) ] + # [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)"] @@ -2626,7 +2626,7 @@ extern "C" { height: i32, depth: i32, ); - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2644,7 +2644,7 @@ extern "C" { type_: u32, pixels: Option<&::js_sys::Object>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2663,7 +2663,7 @@ extern "C" { pixels: Option<&[u8]>, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2680,7 +2680,7 @@ extern "C" { source: &HtmlCanvasElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2697,7 +2697,7 @@ extern "C" { source: &HtmlImageElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2714,7 +2714,7 @@ extern "C" { source: &HtmlVideoElement, ) -> Result<(), JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2731,7 +2731,7 @@ extern "C" { source: &ImageBitmap, ) -> Result<(), JsValue>; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2747,7 +2747,7 @@ extern "C" { type_: u32, source: &ImageData, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2765,7 +2765,7 @@ extern "C" { type_: u32, pbo_offset: i32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2784,7 +2784,7 @@ extern "C" { pbo_offset: f64, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2803,7 +2803,7 @@ extern "C" { source: &HtmlCanvasElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2822,7 +2822,7 @@ extern "C" { source: &HtmlImageElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2841,7 +2841,7 @@ extern "C" { source: &HtmlVideoElement, ) -> Result<(), JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2860,7 +2860,7 @@ extern "C" { source: &ImageBitmap, ) -> Result<(), JsValue>; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2878,7 +2878,7 @@ extern "C" { type_: u32, source: &ImageData, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2897,7 +2897,7 @@ extern "C" { src_data: &::js_sys::Object, src_offset: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -2916,7 +2916,7 @@ extern "C" { src_data: &[u8], src_offset: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D ) ] + # [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)"] @@ -2936,7 +2936,7 @@ extern "C" { type_: u32, pbo_offset: i32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D ) ] + # [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)"] @@ -2957,7 +2957,7 @@ extern "C" { pbo_offset: f64, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D ) ] + # [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)"] @@ -2978,7 +2978,7 @@ extern "C" { source: &HtmlCanvasElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D ) ] + # [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)"] @@ -2999,7 +2999,7 @@ extern "C" { source: &HtmlImageElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D ) ] + # [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)"] @@ -3020,7 +3020,7 @@ extern "C" { source: &HtmlVideoElement, ) -> Result<(), JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D ) ] + # [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)"] @@ -3041,7 +3041,7 @@ extern "C" { source: &ImageBitmap, ) -> Result<(), JsValue>; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D ) ] + # [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)"] @@ -3061,7 +3061,7 @@ extern "C" { type_: u32, source: &ImageData, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D ) ] + # [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)"] @@ -3081,7 +3081,7 @@ extern "C" { type_: u32, src_data: Option<&::js_sys::Object>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D ) ] + # [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)"] @@ -3101,7 +3101,7 @@ extern "C" { type_: u32, src_data: Option<&[u8]>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D ) ] + # [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)"] @@ -3122,7 +3122,7 @@ extern "C" { src_data: Option<&::js_sys::Object>, src_offset: u32, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = texSubImage3D ) ] + # [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)"] @@ -3144,7 +3144,7 @@ extern "C" { src_offset: u32, ) -> Result<(), JsValue>; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = transformFeedbackVaryings ) ] + # [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)"] @@ -3157,7 +3157,7 @@ extern "C" { buffer_mode: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv ) ] + # [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)"] @@ -3169,7 +3169,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv ) ] + # [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)"] @@ -3181,7 +3181,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv ) ] + # [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)"] @@ -3194,7 +3194,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv ) ] + # [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)"] @@ -3207,7 +3207,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv ) ] + # [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)"] @@ -3221,7 +3221,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1fv ) ] + # [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)"] @@ -3235,7 +3235,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv ) ] + # [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)"] @@ -3247,7 +3247,7 @@ extern "C" { data: &[i32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv ) ] + # [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)"] @@ -3259,7 +3259,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv ) ] + # [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)"] @@ -3272,7 +3272,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv ) ] + # [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)"] @@ -3285,7 +3285,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv ) ] + # [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)"] @@ -3299,7 +3299,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1iv ) ] + # [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)"] @@ -3313,7 +3313,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1ui ) ] + # [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)"] @@ -3325,7 +3325,7 @@ extern "C" { v0: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv ) ] + # [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)"] @@ -3337,7 +3337,7 @@ extern "C" { data: &[u32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv ) ] + # [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)"] @@ -3349,7 +3349,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv ) ] + # [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)"] @@ -3362,7 +3362,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv ) ] + # [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)"] @@ -3375,7 +3375,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv ) ] + # [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)"] @@ -3389,7 +3389,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1uiv ) ] + # [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)"] @@ -3403,7 +3403,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv ) ] + # [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)"] @@ -3415,7 +3415,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv ) ] + # [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)"] @@ -3427,7 +3427,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv ) ] + # [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)"] @@ -3440,7 +3440,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv ) ] + # [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)"] @@ -3453,7 +3453,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv ) ] + # [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)"] @@ -3467,7 +3467,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2fv ) ] + # [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)"] @@ -3481,7 +3481,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv ) ] + # [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)"] @@ -3493,7 +3493,7 @@ extern "C" { data: &[i32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv ) ] + # [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)"] @@ -3505,7 +3505,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv ) ] + # [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)"] @@ -3518,7 +3518,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv ) ] + # [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)"] @@ -3531,7 +3531,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv ) ] + # [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)"] @@ -3545,7 +3545,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2iv ) ] + # [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)"] @@ -3559,7 +3559,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2ui ) ] + # [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)"] @@ -3572,7 +3572,7 @@ extern "C" { v1: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv ) ] + # [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)"] @@ -3584,7 +3584,7 @@ extern "C" { data: &[u32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv ) ] + # [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)"] @@ -3596,7 +3596,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv ) ] + # [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)"] @@ -3609,7 +3609,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv ) ] + # [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)"] @@ -3622,7 +3622,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv ) ] + # [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)"] @@ -3636,7 +3636,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2uiv ) ] + # [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)"] @@ -3650,7 +3650,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv ) ] + # [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)"] @@ -3662,7 +3662,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv ) ] + # [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)"] @@ -3674,7 +3674,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv ) ] + # [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)"] @@ -3687,7 +3687,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv ) ] + # [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)"] @@ -3700,7 +3700,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv ) ] + # [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)"] @@ -3714,7 +3714,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3fv ) ] + # [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)"] @@ -3728,7 +3728,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv ) ] + # [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)"] @@ -3740,7 +3740,7 @@ extern "C" { data: &[i32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv ) ] + # [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)"] @@ -3752,7 +3752,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv ) ] + # [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)"] @@ -3765,7 +3765,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv ) ] + # [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)"] @@ -3778,7 +3778,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv ) ] + # [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)"] @@ -3792,7 +3792,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3iv ) ] + # [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)"] @@ -3806,7 +3806,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3ui ) ] + # [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)"] @@ -3820,7 +3820,7 @@ extern "C" { v2: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv ) ] + # [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)"] @@ -3832,7 +3832,7 @@ extern "C" { data: &[u32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv ) ] + # [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)"] @@ -3844,7 +3844,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv ) ] + # [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)"] @@ -3857,7 +3857,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv ) ] + # [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)"] @@ -3870,7 +3870,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv ) ] + # [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)"] @@ -3884,7 +3884,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3uiv ) ] + # [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)"] @@ -3898,7 +3898,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv ) ] + # [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)"] @@ -3910,7 +3910,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv ) ] + # [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)"] @@ -3922,7 +3922,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv ) ] + # [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)"] @@ -3935,7 +3935,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv ) ] + # [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)"] @@ -3948,7 +3948,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv ) ] + # [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)"] @@ -3962,7 +3962,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4fv ) ] + # [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)"] @@ -3976,7 +3976,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv ) ] + # [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)"] @@ -3988,7 +3988,7 @@ extern "C" { data: &[i32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv ) ] + # [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)"] @@ -4000,7 +4000,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv ) ] + # [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)"] @@ -4013,7 +4013,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv ) ] + # [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)"] @@ -4026,7 +4026,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv ) ] + # [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)"] @@ -4040,7 +4040,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4iv ) ] + # [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)"] @@ -4054,7 +4054,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4ui ) ] + # [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)"] @@ -4069,7 +4069,7 @@ extern "C" { v3: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv ) ] + # [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)"] @@ -4081,7 +4081,7 @@ extern "C" { data: &[u32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv ) ] + # [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)"] @@ -4093,7 +4093,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv ) ] + # [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)"] @@ -4106,7 +4106,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv ) ] + # [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)"] @@ -4119,7 +4119,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv ) ] + # [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)"] @@ -4133,7 +4133,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4uiv ) ] + # [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)"] @@ -4147,7 +4147,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformBlockBinding ) ] + # [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)"] @@ -4160,7 +4160,7 @@ extern "C" { uniform_block_binding: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv ) ] + # [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)"] @@ -4173,7 +4173,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv ) ] + # [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)"] @@ -4186,7 +4186,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv ) ] + # [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)"] @@ -4200,7 +4200,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv ) ] + # [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)"] @@ -4214,7 +4214,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv ) ] + # [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)"] @@ -4229,7 +4229,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2fv ) ] + # [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)"] @@ -4244,7 +4244,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv ) ] + # [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)"] @@ -4257,7 +4257,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv ) ] + # [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)"] @@ -4270,7 +4270,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv ) ] + # [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)"] @@ -4284,7 +4284,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv ) ] + # [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)"] @@ -4298,7 +4298,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv ) ] + # [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)"] @@ -4313,7 +4313,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x3fv ) ] + # [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)"] @@ -4328,7 +4328,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv ) ] + # [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)"] @@ -4341,7 +4341,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv ) ] + # [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)"] @@ -4354,7 +4354,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv ) ] + # [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)"] @@ -4368,7 +4368,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv ) ] + # [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)"] @@ -4382,7 +4382,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv ) ] + # [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)"] @@ -4397,7 +4397,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix2x4fv ) ] + # [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)"] @@ -4412,7 +4412,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv ) ] + # [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)"] @@ -4425,7 +4425,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv ) ] + # [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)"] @@ -4438,7 +4438,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv ) ] + # [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)"] @@ -4452,7 +4452,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv ) ] + # [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)"] @@ -4466,7 +4466,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv ) ] + # [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)"] @@ -4481,7 +4481,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3fv ) ] + # [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)"] @@ -4496,7 +4496,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv ) ] + # [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)"] @@ -4509,7 +4509,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv ) ] + # [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)"] @@ -4522,7 +4522,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv ) ] + # [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)"] @@ -4536,7 +4536,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv ) ] + # [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)"] @@ -4550,7 +4550,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv ) ] + # [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)"] @@ -4565,7 +4565,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x2fv ) ] + # [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)"] @@ -4580,7 +4580,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv ) ] + # [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)"] @@ -4593,7 +4593,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv ) ] + # [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)"] @@ -4606,7 +4606,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv ) ] + # [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)"] @@ -4620,7 +4620,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv ) ] + # [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)"] @@ -4634,7 +4634,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv ) ] + # [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)"] @@ -4649,7 +4649,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix3x4fv ) ] + # [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)"] @@ -4664,7 +4664,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv ) ] + # [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)"] @@ -4677,7 +4677,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv ) ] + # [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)"] @@ -4690,7 +4690,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv ) ] + # [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)"] @@ -4704,7 +4704,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv ) ] + # [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)"] @@ -4718,7 +4718,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv ) ] + # [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)"] @@ -4733,7 +4733,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4fv ) ] + # [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)"] @@ -4748,7 +4748,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv ) ] + # [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)"] @@ -4761,7 +4761,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv ) ] + # [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)"] @@ -4774,7 +4774,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv ) ] + # [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)"] @@ -4788,7 +4788,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv ) ] + # [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)"] @@ -4802,7 +4802,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv ) ] + # [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)"] @@ -4817,7 +4817,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x2fv ) ] + # [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)"] @@ -4832,7 +4832,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv ) ] + # [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)"] @@ -4845,7 +4845,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv ) ] + # [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)"] @@ -4858,7 +4858,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv ) ] + # [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)"] @@ -4872,7 +4872,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv ) ] + # [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)"] @@ -4886,7 +4886,7 @@ extern "C" { src_offset: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv ) ] + # [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)"] @@ -4901,7 +4901,7 @@ extern "C" { src_length: u32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniformMatrix4x3fv ) ] + # [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)"] @@ -4915,14 +4915,14 @@ extern "C" { src_offset: u32, src_length: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribDivisor ) ] + # [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 ) ] + # [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)"] @@ -4936,7 +4936,7 @@ extern "C" { z: i32, w: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv ) ] + # [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)"] @@ -4947,7 +4947,7 @@ extern "C" { index: u32, values: &mut [i32], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4iv ) ] + # [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)"] @@ -4958,7 +4958,7 @@ extern "C" { index: u32, values: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4ui ) ] + # [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)"] @@ -4972,7 +4972,7 @@ extern "C" { z: u32, w: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv ) ] + # [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)"] @@ -4983,7 +4983,7 @@ extern "C" { index: u32, values: &mut [u32], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribI4uiv ) ] + # [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)"] @@ -4994,7 +4994,7 @@ extern "C" { index: u32, values: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribIPointer ) ] + # [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)"] @@ -5008,7 +5008,7 @@ extern "C" { stride: i32, offset: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribIPointer ) ] + # [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)"] @@ -5023,7 +5023,7 @@ extern "C" { offset: f64, ); #[cfg(feature = "WebGlSync")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = waitSync ) ] + # [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)"] @@ -5036,7 +5036,7 @@ extern "C" { timeout: i32, ); #[cfg(feature = "WebGlSync")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = waitSync ) ] + # [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)"] @@ -5048,7 +5048,7 @@ extern "C" { flags: u32, timeout: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = activeTexture ) ] + # [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)"] @@ -5056,7 +5056,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -5068,7 +5068,7 @@ extern "C" { shader: &WebGlShader, ); #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bindAttribLocation ) ] + # [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)"] @@ -5081,7 +5081,7 @@ extern "C" { name: &str, ); #[cfg(feature = "WebGlBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bindBuffer ) ] + # [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)"] @@ -5089,7 +5089,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -5101,7 +5101,7 @@ extern "C" { framebuffer: Option<&WebGlFramebuffer>, ); #[cfg(feature = "WebGlRenderbuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bindRenderbuffer ) ] + # [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)"] @@ -5113,42 +5113,42 @@ extern "C" { renderbuffer: Option<&WebGlRenderbuffer>, ); #[cfg(feature = "WebGlTexture")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = bindTexture ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -5161,42 +5161,42 @@ extern "C" { src_alpha: u32, dst_alpha: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = checkFramebufferStatus ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -5210,14 +5210,14 @@ extern "C" { alpha: bool, ); #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = compileShader ) ] + # [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 ) ] + # [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)"] @@ -5234,7 +5234,7 @@ extern "C" { height: i32, border: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = copyTexSubImage2D ) ] + # [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)"] @@ -5252,7 +5252,7 @@ extern "C" { height: i32, ); #[cfg(feature = "WebGlBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = createBuffer ) ] + # [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)"] @@ -5260,7 +5260,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*"] pub fn create_buffer(this: &WebGl2RenderingContext) -> Option; #[cfg(feature = "WebGlFramebuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = createFramebuffer ) ] + # [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)"] @@ -5268,7 +5268,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*"] pub fn create_framebuffer(this: &WebGl2RenderingContext) -> Option; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = createProgram ) ] + # [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)"] @@ -5276,7 +5276,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*"] pub fn create_program(this: &WebGl2RenderingContext) -> Option; #[cfg(feature = "WebGlRenderbuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = createRenderbuffer ) ] + # [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)"] @@ -5284,7 +5284,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*"] pub fn create_renderbuffer(this: &WebGl2RenderingContext) -> Option; #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = createShader ) ] + # [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)"] @@ -5292,14 +5292,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"] pub fn create_shader(this: &WebGl2RenderingContext, type_: u32) -> Option; #[cfg(feature = "WebGlTexture")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = createTexture ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = cullFace ) ] + # [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)"] @@ -5307,7 +5307,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -5315,7 +5315,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -5326,7 +5326,7 @@ extern "C" { framebuffer: Option<&WebGlFramebuffer>, ); #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteProgram ) ] + # [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)"] @@ -5334,7 +5334,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -5345,7 +5345,7 @@ extern "C" { renderbuffer: Option<&WebGlRenderbuffer>, ); #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = deleteShader ) ] + # [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)"] @@ -5353,28 +5353,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -5382,7 +5382,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -5393,28 +5393,28 @@ extern "C" { program: &WebGlProgram, shader: &WebGlShader, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = disable ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -5427,7 +5427,7 @@ extern "C" { type_: u32, offset: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = drawElements ) ] + # [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)"] @@ -5440,28 +5440,28 @@ extern "C" { type_: u32, offset: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = enable ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -5469,7 +5469,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -5483,7 +5483,7 @@ extern "C" { renderbuffer: Option<&WebGlRenderbuffer>, ); #[cfg(feature = "WebGlTexture")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = framebufferTexture2D ) ] + # [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)"] @@ -5497,14 +5497,14 @@ extern "C" { texture: Option<&WebGlTexture>, level: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = frontFace ) ] + # [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 ) ] + # [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)"] @@ -5512,7 +5512,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -5524,7 +5524,7 @@ extern "C" { index: u32, ) -> Option; #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getActiveUniform ) ] + # [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)"] @@ -5536,7 +5536,7 @@ extern "C" { index: u32, ) -> Option; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getAttachedShaders ) ] + # [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)"] @@ -5547,7 +5547,7 @@ extern "C" { program: &WebGlProgram, ) -> Option<::js_sys::Array>; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getAttribLocation ) ] + # [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)"] @@ -5558,7 +5558,7 @@ extern "C" { program: &WebGlProgram, name: &str, ) -> i32; - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getBufferParameter ) ] + # [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)"] @@ -5570,21 +5570,21 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(feature = "WebGlContextAttributes")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getContextAttributes ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getError ) ] + # [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 ) ] + # [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)"] @@ -5594,7 +5594,7 @@ extern "C" { this: &WebGl2RenderingContext, name: &str, ) -> Result, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getFramebufferAttachmentParameter ) ] + # [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)"] @@ -5606,7 +5606,7 @@ extern "C" { attachment: u32, pname: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getParameter ) ] + # [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)"] @@ -5617,7 +5617,7 @@ extern "C" { pname: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getProgramInfoLog ) ] + # [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)"] @@ -5628,7 +5628,7 @@ extern "C" { program: &WebGlProgram, ) -> Option; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getProgramParameter ) ] + # [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)"] @@ -5639,7 +5639,7 @@ extern "C" { program: &WebGlProgram, pname: u32, ) -> ::wasm_bindgen::JsValue; - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getRenderbufferParameter ) ] + # [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)"] @@ -5651,7 +5651,7 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderInfoLog ) ] + # [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)"] @@ -5662,7 +5662,7 @@ extern "C" { shader: &WebGlShader, ) -> Option; #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderParameter ) ] + # [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)"] @@ -5674,7 +5674,7 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(feature = "WebGlShaderPrecisionFormat")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderPrecisionFormat ) ] + # [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)"] @@ -5686,7 +5686,7 @@ extern "C" { precisiontype: u32, ) -> Option; #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getShaderSource ) ] + # [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)"] @@ -5694,14 +5694,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*"] pub fn get_shader_source(this: &WebGl2RenderingContext, shader: &WebGlShader) -> Option; - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getSupportedExtensions ) ] + # [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 ) ] + # [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)"] @@ -5713,7 +5713,7 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniform ) ] + # [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)"] @@ -5725,7 +5725,7 @@ extern "C" { location: &WebGlUniformLocation, ) -> ::wasm_bindgen::JsValue; #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getUniformLocation ) ] + # [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)"] @@ -5736,7 +5736,7 @@ extern "C" { program: &WebGlProgram, name: &str, ) -> Option; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGL2RenderingContext" , js_name = getVertexAttrib ) ] + # [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)"] @@ -5747,14 +5747,14 @@ extern "C" { index: u32, pname: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = getVertexAttribOffset ) ] + # [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 ) ] + # [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)"] @@ -5762,21 +5762,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -5784,7 +5784,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -5795,7 +5795,7 @@ extern "C" { framebuffer: Option<&WebGlFramebuffer>, ) -> bool; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = isProgram ) ] + # [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)"] @@ -5803,7 +5803,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -5814,7 +5814,7 @@ extern "C" { renderbuffer: Option<&WebGlRenderbuffer>, ) -> bool; #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = isShader ) ] + # [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)"] @@ -5822,14 +5822,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -5837,35 +5837,35 @@ extern "C" { #[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 ) ] + # [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); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = makeXRCompatible ) ] + # [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`*"] pub fn make_xr_compatible(this: &WebGl2RenderingContext) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = pixelStorei ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -5878,14 +5878,14 @@ extern "C" { width: i32, height: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = sampleCoverage ) ] + # [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 ) ] + # [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)"] @@ -5893,21 +5893,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -5920,28 +5920,28 @@ extern "C" { ref_: i32, mask: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = stencilMask ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -5954,14 +5954,14 @@ extern "C" { zfail: u32, zpass: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = texParameterf ) ] + # [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 ) ] + # [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)"] @@ -5969,7 +5969,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -5981,7 +5981,7 @@ extern "C" { x: f32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform1i ) ] + # [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)"] @@ -5993,7 +5993,7 @@ extern "C" { x: i32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2f ) ] + # [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)"] @@ -6006,7 +6006,7 @@ extern "C" { y: f32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform2i ) ] + # [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)"] @@ -6019,7 +6019,7 @@ extern "C" { y: i32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3f ) ] + # [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)"] @@ -6033,7 +6033,7 @@ extern "C" { z: f32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform3i ) ] + # [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)"] @@ -6047,7 +6047,7 @@ extern "C" { z: i32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4f ) ] + # [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)"] @@ -6062,7 +6062,7 @@ extern "C" { w: f32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = uniform4i ) ] + # [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)"] @@ -6077,7 +6077,7 @@ extern "C" { w: i32, ); #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = useProgram ) ] + # [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)"] @@ -6085,21 +6085,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -6110,7 +6110,7 @@ extern "C" { indx: u32, values: &[f32], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib1fv ) ] + # [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)"] @@ -6121,14 +6121,14 @@ extern "C" { indx: u32, values: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2f ) ] + # [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 ) ] + # [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)"] @@ -6139,7 +6139,7 @@ extern "C" { indx: u32, values: &[f32], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib2fv ) ] + # [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)"] @@ -6150,14 +6150,14 @@ extern "C" { indx: u32, values: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3f ) ] + # [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 ) ] + # [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)"] @@ -6168,7 +6168,7 @@ extern "C" { indx: u32, values: &[f32], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib3fv ) ] + # [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)"] @@ -6179,7 +6179,7 @@ extern "C" { indx: u32, values: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4f ) ] + # [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)"] @@ -6193,7 +6193,7 @@ extern "C" { z: f32, w: f32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv ) ] + # [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)"] @@ -6204,7 +6204,7 @@ extern "C" { indx: u32, values: &[f32], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttrib4fv ) ] + # [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)"] @@ -6215,7 +6215,7 @@ extern "C" { indx: u32, values: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer ) ] + # [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)"] @@ -6230,7 +6230,7 @@ extern "C" { stride: i32, offset: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer ) ] + # [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)"] @@ -6245,7 +6245,7 @@ extern "C" { stride: i32, offset: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGL2RenderingContext" , js_name = viewport ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WebGlActiveInfo.rs b/crates/web-sys/src/features/gen_WebGlActiveInfo.rs index dc1094e8a50..985a83b7d17 100644 --- a/crates/web-sys/src/features/gen_WebGlActiveInfo.rs +++ b/crates/web-sys/src/features/gen_WebGlActiveInfo.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLActiveInfo , typescript_type = "WebGLActiveInfo" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLActiveInfo , typescript_type = "WebGLActiveInfo")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlActiveInfo` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WebGlBuffer.rs b/crates/web-sys/src/features/gen_WebGlBuffer.rs index f51946d27fa..43f1dfb296c 100644 --- a/crates/web-sys/src/features/gen_WebGlBuffer.rs +++ b/crates/web-sys/src/features/gen_WebGlBuffer.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLBuffer , typescript_type = "WebGLBuffer" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLBuffer , typescript_type = "WebGLBuffer")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlBuffer` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGlContextAttributes.rs b/crates/web-sys/src/features/gen_WebGlContextAttributes.rs index 0832e53763f..fce06ed3066 100644 --- a/crates/web-sys/src/features/gen_WebGlContextAttributes.rs +++ b/crates/web-sys/src/features/gen_WebGlContextAttributes.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLContextAttributes ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLContextAttributes)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlContextAttributes` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGlContextEvent.rs b/crates/web-sys/src/features/gen_WebGlContextEvent.rs index c01ca40ffe8..0c328adbdd3 100644 --- a/crates/web-sys/src/features/gen_WebGlContextEvent.rs +++ b/crates/web-sys/src/features/gen_WebGlContextEvent.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Event , extends = :: js_sys :: Object , js_name = WebGLContextEvent , typescript_type = "WebGLContextEvent" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = WebGLContextEvent , typescript_type = "WebGLContextEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlContextEvent` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WebGlContextEventInit.rs b/crates/web-sys/src/features/gen_WebGlContextEventInit.rs index ef39dbab96d..9c9cca24104 100644 --- a/crates/web-sys/src/features/gen_WebGlContextEventInit.rs +++ b/crates/web-sys/src/features/gen_WebGlContextEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLContextEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLContextEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlContextEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGlFramebuffer.rs b/crates/web-sys/src/features/gen_WebGlFramebuffer.rs index 3eb786939a5..87c9a60f639 100644 --- a/crates/web-sys/src/features/gen_WebGlFramebuffer.rs +++ b/crates/web-sys/src/features/gen_WebGlFramebuffer.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLFramebuffer , typescript_type = "WebGLFramebuffer" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLFramebuffer , typescript_type = "WebGLFramebuffer")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlFramebuffer` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGlProgram.rs b/crates/web-sys/src/features/gen_WebGlProgram.rs index 8abc4f2fc11..8ed0017872c 100644 --- a/crates/web-sys/src/features/gen_WebGlProgram.rs +++ b/crates/web-sys/src/features/gen_WebGlProgram.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLProgram , typescript_type = "WebGLProgram" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLProgram , typescript_type = "WebGLProgram")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlProgram` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGlQuery.rs b/crates/web-sys/src/features/gen_WebGlQuery.rs index 4e4009dc317..1d2fb0aacb3 100644 --- a/crates/web-sys/src/features/gen_WebGlQuery.rs +++ b/crates/web-sys/src/features/gen_WebGlQuery.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLQuery , typescript_type = "WebGLQuery" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLQuery , typescript_type = "WebGLQuery")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlQuery` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGlRenderbuffer.rs b/crates/web-sys/src/features/gen_WebGlRenderbuffer.rs index 1f3bcd6bb7d..3efdd967d89 100644 --- a/crates/web-sys/src/features/gen_WebGlRenderbuffer.rs +++ b/crates/web-sys/src/features/gen_WebGlRenderbuffer.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLRenderbuffer , typescript_type = "WebGLRenderbuffer" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLRenderbuffer , typescript_type = "WebGLRenderbuffer")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlRenderbuffer` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGlRenderingContext.rs b/crates/web-sys/src/features/gen_WebGlRenderingContext.rs index 5a3e68338cc..5239284b63a 100644 --- a/crates/web-sys/src/features/gen_WebGlRenderingContext.rs +++ b/crates/web-sys/src/features/gen_WebGlRenderingContext.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLRenderingContext , typescript_type = "WebGLRenderingContext" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLRenderingContext , typescript_type = "WebGLRenderingContext")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlRenderingContext` class."] #[doc = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -58,7 +58,7 @@ extern "C" { data: Option<&::js_sys::ArrayBuffer>, usage: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData ) ] + # [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)"] @@ -70,7 +70,7 @@ extern "C" { data: &::js_sys::Object, usage: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = bufferData ) ] + # [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)"] @@ -82,7 +82,7 @@ extern "C" { data: &[u8], usage: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -94,7 +94,7 @@ extern "C" { offset: i32, data: &::js_sys::ArrayBuffer, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -106,7 +106,7 @@ extern "C" { offset: f64, data: &::js_sys::ArrayBuffer, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -118,7 +118,7 @@ extern "C" { offset: i32, data: &::js_sys::Object, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -130,7 +130,7 @@ extern "C" { offset: f64, data: &::js_sys::Object, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -142,7 +142,7 @@ extern "C" { offset: i32, data: &[u8], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = bufferSubData ) ] + # [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)"] @@ -154,14 +154,14 @@ extern "C" { offset: f64, data: &[u8], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = commit ) ] + # [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 ) ] + # [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)"] @@ -177,7 +177,7 @@ extern "C" { border: i32, data: &::js_sys::Object, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexImage2D ) ] + # [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)"] @@ -193,7 +193,7 @@ extern "C" { border: i32, data: &[u8], ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexSubImage2D ) ] + # [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)"] @@ -210,7 +210,7 @@ extern "C" { format: u32, data: &::js_sys::Object, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = compressedTexSubImage2D ) ] + # [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)"] @@ -227,7 +227,7 @@ extern "C" { format: u32, data: &mut [u8], ); - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = readPixels ) ] + # [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)"] @@ -243,7 +243,7 @@ extern "C" { type_: u32, pixels: Option<&::js_sys::Object>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = readPixels ) ] + # [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)"] @@ -259,7 +259,7 @@ extern "C" { type_: u32, pixels: Option<&mut [u8]>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -277,7 +277,7 @@ extern "C" { type_: u32, pixels: Option<&::js_sys::Object>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -296,7 +296,7 @@ extern "C" { pixels: Option<&[u8]>, ) -> Result<(), JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -312,7 +312,7 @@ extern "C" { pixels: &ImageBitmap, ) -> Result<(), JsValue>; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -328,7 +328,7 @@ extern "C" { pixels: &ImageData, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -344,7 +344,7 @@ extern "C" { image: &HtmlImageElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -360,7 +360,7 @@ extern "C" { canvas: &HtmlCanvasElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texImage2D ) ] + # [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)"] @@ -375,7 +375,7 @@ extern "C" { type_: u32, video: &HtmlVideoElement, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -393,7 +393,7 @@ extern "C" { type_: u32, pixels: Option<&::js_sys::Object>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -412,7 +412,7 @@ extern "C" { pixels: Option<&[u8]>, ) -> Result<(), JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -429,7 +429,7 @@ extern "C" { pixels: &ImageBitmap, ) -> Result<(), JsValue>; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -446,7 +446,7 @@ extern "C" { pixels: &ImageData, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -463,7 +463,7 @@ extern "C" { image: &HtmlImageElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -480,7 +480,7 @@ extern "C" { canvas: &HtmlCanvasElement, ) -> Result<(), JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = texSubImage2D ) ] + # [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)"] @@ -497,7 +497,7 @@ extern "C" { video: &HtmlVideoElement, ) -> Result<(), JsValue>; #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1fv ) ] + # [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)"] @@ -509,7 +509,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1fv ) ] + # [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)"] @@ -521,7 +521,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1iv ) ] + # [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)"] @@ -533,7 +533,7 @@ extern "C" { data: &[i32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform1iv ) ] + # [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)"] @@ -545,7 +545,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2fv ) ] + # [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)"] @@ -557,7 +557,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2fv ) ] + # [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)"] @@ -569,7 +569,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2iv ) ] + # [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)"] @@ -581,7 +581,7 @@ extern "C" { data: &[i32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2iv ) ] + # [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)"] @@ -593,7 +593,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3fv ) ] + # [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)"] @@ -605,7 +605,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3fv ) ] + # [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)"] @@ -617,7 +617,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3iv ) ] + # [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)"] @@ -629,7 +629,7 @@ extern "C" { data: &[i32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3iv ) ] + # [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)"] @@ -641,7 +641,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4fv ) ] + # [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)"] @@ -653,7 +653,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4fv ) ] + # [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)"] @@ -665,7 +665,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4iv ) ] + # [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)"] @@ -677,7 +677,7 @@ extern "C" { data: &[i32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4iv ) ] + # [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)"] @@ -689,7 +689,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix2fv ) ] + # [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)"] @@ -702,7 +702,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix2fv ) ] + # [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)"] @@ -715,7 +715,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix3fv ) ] + # [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)"] @@ -728,7 +728,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix3fv ) ] + # [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)"] @@ -741,7 +741,7 @@ extern "C" { data: &::wasm_bindgen::JsValue, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix4fv ) ] + # [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)"] @@ -754,7 +754,7 @@ extern "C" { data: &[f32], ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniformMatrix4fv ) ] + # [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)"] @@ -766,7 +766,7 @@ extern "C" { transpose: bool, data: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = activeTexture ) ] + # [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)"] @@ -774,7 +774,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -786,7 +786,7 @@ extern "C" { shader: &WebGlShader, ); #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = bindAttribLocation ) ] + # [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)"] @@ -799,7 +799,7 @@ extern "C" { name: &str, ); #[cfg(feature = "WebGlBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = bindBuffer ) ] + # [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)"] @@ -807,7 +807,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -819,7 +819,7 @@ extern "C" { framebuffer: Option<&WebGlFramebuffer>, ); #[cfg(feature = "WebGlRenderbuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = bindRenderbuffer ) ] + # [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)"] @@ -831,42 +831,42 @@ extern "C" { renderbuffer: Option<&WebGlRenderbuffer>, ); #[cfg(feature = "WebGlTexture")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = bindTexture ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -879,42 +879,42 @@ extern "C" { src_alpha: u32, dst_alpha: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = checkFramebufferStatus ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -928,14 +928,14 @@ extern "C" { alpha: bool, ); #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = compileShader ) ] + # [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 ) ] + # [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)"] @@ -952,7 +952,7 @@ extern "C" { height: i32, border: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = copyTexSubImage2D ) ] + # [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)"] @@ -970,7 +970,7 @@ extern "C" { height: i32, ); #[cfg(feature = "WebGlBuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = createBuffer ) ] + # [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)"] @@ -978,7 +978,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*"] pub fn create_buffer(this: &WebGlRenderingContext) -> Option; #[cfg(feature = "WebGlFramebuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = createFramebuffer ) ] + # [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)"] @@ -986,7 +986,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*"] pub fn create_framebuffer(this: &WebGlRenderingContext) -> Option; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = createProgram ) ] + # [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)"] @@ -994,7 +994,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*"] pub fn create_program(this: &WebGlRenderingContext) -> Option; #[cfg(feature = "WebGlRenderbuffer")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = createRenderbuffer ) ] + # [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)"] @@ -1002,7 +1002,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*"] pub fn create_renderbuffer(this: &WebGlRenderingContext) -> Option; #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = createShader ) ] + # [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)"] @@ -1010,14 +1010,14 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*"] pub fn create_shader(this: &WebGlRenderingContext, type_: u32) -> Option; #[cfg(feature = "WebGlTexture")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = createTexture ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = cullFace ) ] + # [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)"] @@ -1025,7 +1025,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1033,7 +1033,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1041,7 +1041,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1049,7 +1049,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1060,7 +1060,7 @@ extern "C" { renderbuffer: Option<&WebGlRenderbuffer>, ); #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = deleteShader ) ] + # [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)"] @@ -1068,28 +1068,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1097,7 +1097,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1108,28 +1108,28 @@ extern "C" { program: &WebGlProgram, shader: &WebGlShader, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = disable ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1142,7 +1142,7 @@ extern "C" { type_: u32, offset: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = drawElements ) ] + # [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)"] @@ -1155,28 +1155,28 @@ extern "C" { type_: u32, offset: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = enable ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1184,7 +1184,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1198,7 +1198,7 @@ extern "C" { renderbuffer: Option<&WebGlRenderbuffer>, ); #[cfg(feature = "WebGlTexture")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = framebufferTexture2D ) ] + # [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)"] @@ -1212,14 +1212,14 @@ extern "C" { texture: Option<&WebGlTexture>, level: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = frontFace ) ] + # [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 ) ] + # [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)"] @@ -1227,7 +1227,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1239,7 +1239,7 @@ extern "C" { index: u32, ) -> Option; #[cfg(all(feature = "WebGlActiveInfo", feature = "WebGlProgram",))] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getActiveUniform ) ] + # [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)"] @@ -1251,7 +1251,7 @@ extern "C" { index: u32, ) -> Option; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getAttachedShaders ) ] + # [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)"] @@ -1262,7 +1262,7 @@ extern "C" { program: &WebGlProgram, ) -> Option<::js_sys::Array>; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getAttribLocation ) ] + # [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)"] @@ -1273,7 +1273,7 @@ extern "C" { program: &WebGlProgram, name: &str, ) -> i32; - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getBufferParameter ) ] + # [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)"] @@ -1285,21 +1285,21 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(feature = "WebGlContextAttributes")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getContextAttributes ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getError ) ] + # [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 ) ] + # [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)"] @@ -1309,7 +1309,7 @@ extern "C" { this: &WebGlRenderingContext, name: &str, ) -> Result, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = getFramebufferAttachmentParameter ) ] + # [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)"] @@ -1321,7 +1321,7 @@ extern "C" { attachment: u32, pname: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = getParameter ) ] + # [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)"] @@ -1332,7 +1332,7 @@ extern "C" { pname: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getProgramInfoLog ) ] + # [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)"] @@ -1343,7 +1343,7 @@ extern "C" { program: &WebGlProgram, ) -> Option; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getProgramParameter ) ] + # [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)"] @@ -1354,7 +1354,7 @@ extern "C" { program: &WebGlProgram, pname: u32, ) -> ::wasm_bindgen::JsValue; - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getRenderbufferParameter ) ] + # [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)"] @@ -1366,7 +1366,7 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getShaderInfoLog ) ] + # [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)"] @@ -1377,7 +1377,7 @@ extern "C" { shader: &WebGlShader, ) -> Option; #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getShaderParameter ) ] + # [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)"] @@ -1389,7 +1389,7 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(feature = "WebGlShaderPrecisionFormat")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getShaderPrecisionFormat ) ] + # [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)"] @@ -1401,21 +1401,21 @@ extern "C" { precisiontype: u32, ) -> Option; #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getShaderSource ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getSupportedExtensions ) ] + # [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 ) ] + # [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)"] @@ -1427,7 +1427,7 @@ extern "C" { pname: u32, ) -> ::wasm_bindgen::JsValue; #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getUniform ) ] + # [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)"] @@ -1439,7 +1439,7 @@ extern "C" { location: &WebGlUniformLocation, ) -> ::wasm_bindgen::JsValue; #[cfg(all(feature = "WebGlProgram", feature = "WebGlUniformLocation",))] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getUniformLocation ) ] + # [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)"] @@ -1450,7 +1450,7 @@ extern "C" { program: &WebGlProgram, name: &str, ) -> Option; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebGLRenderingContext" , js_name = getVertexAttrib ) ] + # [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)"] @@ -1461,14 +1461,14 @@ extern "C" { index: u32, pname: u32, ) -> Result<::wasm_bindgen::JsValue, JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = getVertexAttribOffset ) ] + # [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 ) ] + # [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)"] @@ -1476,21 +1476,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1498,7 +1498,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1509,7 +1509,7 @@ extern "C" { framebuffer: Option<&WebGlFramebuffer>, ) -> bool; #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = isProgram ) ] + # [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)"] @@ -1517,7 +1517,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1528,7 +1528,7 @@ extern "C" { renderbuffer: Option<&WebGlRenderbuffer>, ) -> bool; #[cfg(feature = "WebGlShader")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = isShader ) ] + # [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)"] @@ -1536,14 +1536,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -1551,35 +1551,35 @@ extern "C" { #[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 ) ] + # [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); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = makeXRCompatible ) ] + # [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`*"] pub fn make_xr_compatible(this: &WebGlRenderingContext) -> ::js_sys::Promise; - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = pixelStorei ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1592,14 +1592,14 @@ extern "C" { width: i32, height: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = sampleCoverage ) ] + # [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 ) ] + # [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)"] @@ -1607,21 +1607,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1634,28 +1634,28 @@ extern "C" { ref_: i32, mask: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = stencilMask ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1668,14 +1668,14 @@ extern "C" { zfail: u32, zpass: u32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = texParameterf ) ] + # [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 ) ] + # [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)"] @@ -1683,7 +1683,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1691,7 +1691,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1699,7 +1699,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1712,7 +1712,7 @@ extern "C" { y: f32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform2i ) ] + # [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)"] @@ -1725,7 +1725,7 @@ extern "C" { y: i32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3f ) ] + # [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)"] @@ -1739,7 +1739,7 @@ extern "C" { z: f32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform3i ) ] + # [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)"] @@ -1753,7 +1753,7 @@ extern "C" { z: i32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4f ) ] + # [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)"] @@ -1768,7 +1768,7 @@ extern "C" { w: f32, ); #[cfg(feature = "WebGlUniformLocation")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = uniform4i ) ] + # [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)"] @@ -1783,7 +1783,7 @@ extern "C" { w: i32, ); #[cfg(feature = "WebGlProgram")] - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = useProgram ) ] + # [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)"] @@ -1791,28 +1791,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1823,21 +1823,21 @@ extern "C" { indx: u32, values: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib2f ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1848,21 +1848,21 @@ extern "C" { indx: u32, values: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib3f ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1873,21 +1873,21 @@ extern "C" { indx: u32, values: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttrib4f ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1898,7 +1898,7 @@ extern "C" { indx: u32, values: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttribPointer ) ] + # [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)"] @@ -1913,7 +1913,7 @@ extern "C" { stride: i32, offset: i32, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = vertexAttribPointer ) ] + # [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)"] @@ -1928,7 +1928,7 @@ extern "C" { stride: i32, offset: f64, ); - # [ wasm_bindgen ( method , structural , js_class = "WebGLRenderingContext" , js_name = viewport ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WebGlSampler.rs b/crates/web-sys/src/features/gen_WebGlSampler.rs index b4faf3c9a3a..6f28463b179 100644 --- a/crates/web-sys/src/features/gen_WebGlSampler.rs +++ b/crates/web-sys/src/features/gen_WebGlSampler.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLSampler , typescript_type = "WebGLSampler" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLSampler , typescript_type = "WebGLSampler")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlSampler` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGlShader.rs b/crates/web-sys/src/features/gen_WebGlShader.rs index 28fac2d93da..1d4aa826847 100644 --- a/crates/web-sys/src/features/gen_WebGlShader.rs +++ b/crates/web-sys/src/features/gen_WebGlShader.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLShader , typescript_type = "WebGLShader" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLShader , typescript_type = "WebGLShader")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlShader` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGlShaderPrecisionFormat.rs b/crates/web-sys/src/features/gen_WebGlShaderPrecisionFormat.rs index 48cb0651547..16e869914ad 100644 --- a/crates/web-sys/src/features/gen_WebGlShaderPrecisionFormat.rs +++ b/crates/web-sys/src/features/gen_WebGlShaderPrecisionFormat.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLShaderPrecisionFormat , typescript_type = "WebGLShaderPrecisionFormat" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLShaderPrecisionFormat , typescript_type = "WebGLShaderPrecisionFormat")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlShaderPrecisionFormat` class."] #[doc = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WebGlSync.rs b/crates/web-sys/src/features/gen_WebGlSync.rs index d3e5d264754..6c8b2e356b7 100644 --- a/crates/web-sys/src/features/gen_WebGlSync.rs +++ b/crates/web-sys/src/features/gen_WebGlSync.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLSync , typescript_type = "WebGLSync" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLSync , typescript_type = "WebGLSync")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlSync` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGlTexture.rs b/crates/web-sys/src/features/gen_WebGlTexture.rs index ef839e688d5..14d7b8e13cf 100644 --- a/crates/web-sys/src/features/gen_WebGlTexture.rs +++ b/crates/web-sys/src/features/gen_WebGlTexture.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLTexture , typescript_type = "WebGLTexture" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLTexture , typescript_type = "WebGLTexture")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlTexture` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGlTransformFeedback.rs b/crates/web-sys/src/features/gen_WebGlTransformFeedback.rs index 850ae210a98..edfabfb3ae8 100644 --- a/crates/web-sys/src/features/gen_WebGlTransformFeedback.rs +++ b/crates/web-sys/src/features/gen_WebGlTransformFeedback.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLTransformFeedback , typescript_type = "WebGLTransformFeedback" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLTransformFeedback , typescript_type = "WebGLTransformFeedback")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlTransformFeedback` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGlUniformLocation.rs b/crates/web-sys/src/features/gen_WebGlUniformLocation.rs index 6df29fa53e1..545667f6853 100644 --- a/crates/web-sys/src/features/gen_WebGlUniformLocation.rs +++ b/crates/web-sys/src/features/gen_WebGlUniformLocation.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLUniformLocation , typescript_type = "WebGLUniformLocation" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLUniformLocation , typescript_type = "WebGLUniformLocation")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlUniformLocation` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebGlVertexArrayObject.rs b/crates/web-sys/src/features/gen_WebGlVertexArrayObject.rs index beafab2c8ad..1929efa7e48 100644 --- a/crates/web-sys/src/features/gen_WebGlVertexArrayObject.rs +++ b/crates/web-sys/src/features/gen_WebGlVertexArrayObject.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebGLVertexArrayObject , typescript_type = "WebGLVertexArrayObject" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLVertexArrayObject , typescript_type = "WebGLVertexArrayObject")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebGlVertexArrayObject` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebKitCssMatrix.rs b/crates/web-sys/src/features/gen_WebKitCssMatrix.rs index f45c5dc360e..a8f024ca690 100644 --- a/crates/web-sys/src/features/gen_WebKitCssMatrix.rs +++ b/crates/web-sys/src/features/gen_WebKitCssMatrix.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -32,35 +32,35 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"] pub fn new_with_other(other: &WebKitCssMatrix) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebKitCSSMatrix" , js_name = inverse ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "WebKitCSSMatrix" , js_name = multiply ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -71,7 +71,7 @@ extern "C" { rot_x: f64, rot_y: f64, ) -> WebKitCssMatrix; - # [ wasm_bindgen ( method , structural , js_class = "WebKitCSSMatrix" , js_name = rotate ) ] + # [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)"] @@ -83,21 +83,21 @@ extern "C" { rot_y: f64, rot_z: f64, ) -> WebKitCssMatrix; - # [ wasm_bindgen ( method , structural , js_class = "WebKitCSSMatrix" , js_name = rotateAxisAngle ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -108,7 +108,7 @@ extern "C" { x: f64, y: f64, ) -> WebKitCssMatrix; - # [ wasm_bindgen ( method , structural , js_class = "WebKitCSSMatrix" , js_name = rotateAxisAngle ) ] + # [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)"] @@ -120,7 +120,7 @@ extern "C" { y: f64, z: f64, ) -> WebKitCssMatrix; - # [ wasm_bindgen ( method , structural , js_class = "WebKitCSSMatrix" , js_name = rotateAxisAngle ) ] + # [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)"] @@ -133,21 +133,21 @@ extern "C" { z: f64, angle: f64, ) -> WebKitCssMatrix; - # [ wasm_bindgen ( method , structural , js_class = "WebKitCSSMatrix" , js_name = scale ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -158,7 +158,7 @@ extern "C" { scale_x: f64, scale_y: f64, ) -> WebKitCssMatrix; - # [ wasm_bindgen ( method , structural , js_class = "WebKitCSSMatrix" , js_name = scale ) ] + # [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)"] @@ -170,7 +170,7 @@ extern "C" { scale_y: f64, scale_z: f64, ) -> WebKitCssMatrix; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebKitCSSMatrix" , js_name = setMatrixValue ) ] + # [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)"] @@ -180,56 +180,56 @@ extern "C" { this: &WebKitCssMatrix, transform_list: &str, ) -> Result; - # [ wasm_bindgen ( method , structural , js_class = "WebKitCSSMatrix" , js_name = skewX ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WebSocket.rs b/crates/web-sys/src/features/gen_WebSocket.rs index 2afb2dca069..03143f17f86 100644 --- a/crates/web-sys/src/features/gen_WebSocket.rs +++ b/crates/web-sys/src/features/gen_WebSocket.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = WebSocket , typescript_type = "WebSocket" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = WebSocket , typescript_type = "WebSocket")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebSocket` class."] #[doc = ""] @@ -11,91 +11,91 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -103,7 +103,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -111,7 +111,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -142,21 +142,21 @@ extern "C" { url: &str, protocols: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebSocket" , js_name = close ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -167,7 +167,7 @@ extern "C" { code: u16, reason: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebSocket" , js_name = send ) ] + # [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)"] @@ -175,14 +175,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -192,7 +192,7 @@ extern "C" { this: &WebSocket, data: &::js_sys::ArrayBuffer, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebSocket" , js_name = send ) ] + # [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)"] @@ -202,7 +202,7 @@ extern "C" { this: &WebSocket, data: &::js_sys::Object, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WebSocket" , js_name = send ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WebSocketDict.rs b/crates/web-sys/src/features/gen_WebSocketDict.rs index 259e719e806..d17cccf0631 100644 --- a/crates/web-sys/src/features/gen_WebSocketDict.rs +++ b/crates/web-sys/src/features/gen_WebSocketDict.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebSocketDict ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebSocketDict)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebSocketDict` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebSocketElement.rs b/crates/web-sys/src/features/gen_WebSocketElement.rs index beae86b7d20..d0f1f9de188 100644 --- a/crates/web-sys/src/features/gen_WebSocketElement.rs +++ b/crates/web-sys/src/features/gen_WebSocketElement.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebSocketElement ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebSocketElement)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebSocketElement` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WebglColorBufferFloat.rs b/crates/web-sys/src/features/gen_WebglColorBufferFloat.rs index 974db818f62..d16789ab5de 100644 --- a/crates/web-sys/src/features/gen_WebglColorBufferFloat.rs +++ b/crates/web-sys/src/features/gen_WebglColorBufferFloat.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_WebglCompressedTextureAstc.rs b/crates/web-sys/src/features/gen_WebglCompressedTextureAstc.rs index 4de802220ff..fb369c2838c 100644 --- a/crates/web-sys/src/features/gen_WebglCompressedTextureAstc.rs +++ b/crates/web-sys/src/features/gen_WebglCompressedTextureAstc.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WebglCompressedTextureAtc.rs b/crates/web-sys/src/features/gen_WebglCompressedTextureAtc.rs index b5f57dd72eb..403a2329f57 100644 --- a/crates/web-sys/src/features/gen_WebglCompressedTextureAtc.rs +++ b/crates/web-sys/src/features/gen_WebglCompressedTextureAtc.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_WebglCompressedTextureEtc.rs b/crates/web-sys/src/features/gen_WebglCompressedTextureEtc.rs index d0a5ff5320a..37d7323a834 100644 --- a/crates/web-sys/src/features/gen_WebglCompressedTextureEtc.rs +++ b/crates/web-sys/src/features/gen_WebglCompressedTextureEtc.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_WebglCompressedTextureEtc1.rs b/crates/web-sys/src/features/gen_WebglCompressedTextureEtc1.rs index 27e5ac2ff35..52dc55734d8 100644 --- a/crates/web-sys/src/features/gen_WebglCompressedTextureEtc1.rs +++ b/crates/web-sys/src/features/gen_WebglCompressedTextureEtc1.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_WebglCompressedTexturePvrtc.rs b/crates/web-sys/src/features/gen_WebglCompressedTexturePvrtc.rs index 9162dcf0e15..ec34d191464 100644 --- a/crates/web-sys/src/features/gen_WebglCompressedTexturePvrtc.rs +++ b/crates/web-sys/src/features/gen_WebglCompressedTexturePvrtc.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_WebglCompressedTextureS3tc.rs b/crates/web-sys/src/features/gen_WebglCompressedTextureS3tc.rs index 86228f312a4..450b1a73050 100644 --- a/crates/web-sys/src/features/gen_WebglCompressedTextureS3tc.rs +++ b/crates/web-sys/src/features/gen_WebglCompressedTextureS3tc.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_WebglCompressedTextureS3tcSrgb.rs b/crates/web-sys/src/features/gen_WebglCompressedTextureS3tcSrgb.rs index f641463ffb8..94141e7720a 100644 --- a/crates/web-sys/src/features/gen_WebglCompressedTextureS3tcSrgb.rs +++ b/crates/web-sys/src/features/gen_WebglCompressedTextureS3tcSrgb.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_WebglDebugRendererInfo.rs b/crates/web-sys/src/features/gen_WebglDebugRendererInfo.rs index 4f41b24fe17..2ef3172d3e5 100644 --- a/crates/web-sys/src/features/gen_WebglDebugRendererInfo.rs +++ b/crates/web-sys/src/features/gen_WebglDebugRendererInfo.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_WebglDebugShaders.rs b/crates/web-sys/src/features/gen_WebglDebugShaders.rs index 0a4c57192db..01f5403a497 100644 --- a/crates/web-sys/src/features/gen_WebglDebugShaders.rs +++ b/crates/web-sys/src/features/gen_WebglDebugShaders.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WebglDepthTexture.rs b/crates/web-sys/src/features/gen_WebglDepthTexture.rs index d77db90ce8e..301f58bb6f4 100644 --- a/crates/web-sys/src/features/gen_WebglDepthTexture.rs +++ b/crates/web-sys/src/features/gen_WebglDepthTexture.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_WebglDrawBuffers.rs b/crates/web-sys/src/features/gen_WebglDrawBuffers.rs index 3bba5560127..a12d67b52ff 100644 --- a/crates/web-sys/src/features/gen_WebglDrawBuffers.rs +++ b/crates/web-sys/src/features/gen_WebglDrawBuffers.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WebglLoseContext.rs b/crates/web-sys/src/features/gen_WebglLoseContext.rs index ebed1a292ff..5bf059b555b 100644 --- a/crates/web-sys/src/features/gen_WebglLoseContext.rs +++ b/crates/web-sys/src/features/gen_WebglLoseContext.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WebrtcGlobalStatisticsReport.rs b/crates/web-sys/src/features/gen_WebrtcGlobalStatisticsReport.rs index 5bbf6fb0045..909c6ef0145 100644 --- a/crates/web-sys/src/features/gen_WebrtcGlobalStatisticsReport.rs +++ b/crates/web-sys/src/features/gen_WebrtcGlobalStatisticsReport.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WebrtcGlobalStatisticsReport ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebrtcGlobalStatisticsReport)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WebrtcGlobalStatisticsReport` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WheelEvent.rs b/crates/web-sys/src/features/gen_WheelEvent.rs index fc67015c5dd..cbf9365d280 100644 --- a/crates/web-sys/src/features/gen_WheelEvent.rs +++ b/crates/web-sys/src/features/gen_WheelEvent.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WheelEventInit.rs b/crates/web-sys/src/features/gen_WheelEventInit.rs index 1116664c726..e2b8c63c84a 100644 --- a/crates/web-sys/src/features/gen_WheelEventInit.rs +++ b/crates/web-sys/src/features/gen_WheelEventInit.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WheelEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WheelEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WheelEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WidevineCdmManifest.rs b/crates/web-sys/src/features/gen_WidevineCdmManifest.rs index c38e68d7e9b..cd5e0cdafa8 100644 --- a/crates/web-sys/src/features/gen_WidevineCdmManifest.rs +++ b/crates/web-sys/src/features/gen_WidevineCdmManifest.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WidevineCDMManifest ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WidevineCDMManifest)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WidevineCdmManifest` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Window.rs b/crates/web-sys/src/features/gen_Window.rs index d461ddc100e..5b9a7512f2d 100644 --- a/crates/web-sys/src/features/gen_Window.rs +++ b/crates/web-sys/src/features/gen_Window.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = Window , typescript_type = "Window" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Window , typescript_type = "Window")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Window` class."] #[doc = ""] @@ -11,14 +11,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -26,21 +26,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = name ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "Window" , js_name = name ) ] + # [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)"] @@ -48,7 +48,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -56,7 +56,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -64,7 +64,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `History`, `Window`*"] pub fn history(this: &Window) -> Result; #[cfg(feature = "CustomElementRegistry")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Window" , js_name = customElements ) ] + # [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)"] @@ -72,7 +72,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -80,7 +80,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"] pub fn locationbar(this: &Window) -> Result; #[cfg(feature = "BarProp")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = menubar ) ] + # [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)"] @@ -88,7 +88,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"] pub fn menubar(this: &Window) -> Result; #[cfg(feature = "BarProp")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = personalbar ) ] + # [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)"] @@ -96,7 +96,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"] pub fn personalbar(this: &Window) -> Result; #[cfg(feature = "BarProp")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = scrollbars ) ] + # [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)"] @@ -104,7 +104,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"] pub fn scrollbars(this: &Window) -> Result; #[cfg(feature = "BarProp")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = statusbar ) ] + # [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)"] @@ -112,77 +112,77 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"] pub fn statusbar(this: &Window) -> Result; #[cfg(feature = "BarProp")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = toolbar ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = status ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , setter , js_class = "Window" , js_name = status ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Window" , js_name = event ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Window" , js_name = length ) ] + # [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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = opener ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -190,7 +190,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Window`*"] pub fn parent(this: &Window) -> Result, JsValue>; #[cfg(feature = "Element")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = frameElement ) ] + # [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)"] @@ -198,7 +198,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Element`, `Window`*"] pub fn frame_element(this: &Window) -> Result, JsValue>; #[cfg(feature = "Navigator")] - # [ wasm_bindgen ( structural , method , getter , js_class = "Window" , js_name = 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)"] @@ -206,21 +206,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Window" , js_name = onappinstalled ) ] + # [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 ) ] + # [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)"] @@ -228,126 +228,126 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = innerWidth ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = pageXOffset ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = scrollY ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = pageYOffset ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = screenX ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -355,98 +355,98 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Window" , js_name = orientation ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -454,7 +454,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -462,1155 +462,1155 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Window`, `Worklet`*"] pub fn paint_worklet(this: &Window) -> Result; #[cfg(feature = "Crypto")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = 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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Window" , js_name = onabort ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1618,21 +1618,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Window" , js_name = onerror ) ] + # [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 ) ] + # [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)"] @@ -1640,259 +1640,259 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "Window" , js_name = ontouchstart ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1900,21 +1900,21 @@ extern "C" { #[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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , method , getter , js_class = "Window" , js_name = origin ) ] + # [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 ) ] + # [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)"] @@ -1922,7 +1922,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -1930,7 +1930,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `Window`*"] pub fn indexed_db(this: &Window) -> Result, JsValue>; #[cfg(feature = "CacheStorage")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = caches ) ] + # [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)"] @@ -1938,77 +1938,77 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `CacheStorage`, `Window`*"] pub fn caches(this: &Window) -> Result; #[cfg(feature = "Storage")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "Window" , js_name = sessionStorage ) ] + # [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, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = alert ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = confirm ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = focus ) ] + # [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)"] @@ -2016,7 +2016,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -2027,7 +2027,7 @@ extern "C" { elt: &Element, ) -> Result, JsValue>; #[cfg(all(feature = "CssStyleDeclaration", feature = "Element",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = getComputedStyle ) ] + # [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)"] @@ -2039,7 +2039,7 @@ extern "C" { pseudo_elt: &str, ) -> Result, JsValue>; #[cfg(feature = "Selection")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = getSelection ) ] + # [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)"] @@ -2047,42 +2047,42 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Selection`, `Window`*"] pub fn get_selection(this: &Window) -> Result, JsValue>; #[cfg(feature = "MediaQueryList")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = matchMedia ) ] + # [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, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = moveBy ) ] + # [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 ) ] + # [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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = open ) ] + # [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, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = open ) ] + # [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)"] @@ -2093,7 +2093,7 @@ extern "C" { url: &str, target: &str, ) -> Result, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = open ) ] + # [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)"] @@ -2105,7 +2105,7 @@ extern "C" { target: &str, features: &str, ) -> Result, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = postMessage ) ] + # [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)"] @@ -2116,7 +2116,7 @@ extern "C" { message: &::wasm_bindgen::JsValue, target_origin: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = postMessage ) ] + # [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)"] @@ -2128,28 +2128,28 @@ extern "C" { target_origin: &str, transfer: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = print ) ] + # [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 ) ] + # [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, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = prompt ) ] + # [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, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = prompt ) ] + # [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)"] @@ -2160,14 +2160,14 @@ extern "C" { message: &str, default: &str, ) -> Result, JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "Window" , js_name = releaseEvents ) ] + # [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 ) ] + # [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)"] @@ -2177,7 +2177,7 @@ extern "C" { this: &Window, callback: &::js_sys::Function, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = requestIdleCallback ) ] + # [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)"] @@ -2188,7 +2188,7 @@ extern "C" { callback: &::js_sys::Function, ) -> Result; #[cfg(feature = "IdleRequestOptions")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = requestIdleCallback ) ] + # [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)"] @@ -2199,28 +2199,28 @@ extern "C" { callback: &::js_sys::Function, options: &IdleRequestOptions, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = resizeBy ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -2228,21 +2228,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -2250,21 +2250,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -2272,14 +2272,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -2293,42 +2293,42 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = btoa ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "Window" , js_name = clearInterval ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -2336,7 +2336,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -2347,7 +2347,7 @@ extern "C" { a_image: &HtmlImageElement, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2358,7 +2358,7 @@ extern "C" { a_image: &HtmlVideoElement, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2369,7 +2369,7 @@ extern "C" { a_image: &HtmlCanvasElement, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "Blob")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2380,7 +2380,7 @@ extern "C" { a_image: &Blob, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2391,7 +2391,7 @@ extern "C" { a_image: &ImageData, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CanvasRenderingContext2d")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2402,7 +2402,7 @@ extern "C" { a_image: &CanvasRenderingContext2d, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2412,7 +2412,7 @@ extern "C" { this: &Window, a_image: &ImageBitmap, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2422,7 +2422,7 @@ extern "C" { this: &Window, a_image: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2433,7 +2433,7 @@ extern "C" { a_image: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "HtmlImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2448,7 +2448,7 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2463,7 +2463,7 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2478,7 +2478,7 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "Blob")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2493,7 +2493,7 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2508,7 +2508,7 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CanvasRenderingContext2d")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2523,7 +2523,7 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2537,7 +2537,7 @@ extern "C" { a_sw: i32, a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2551,7 +2551,7 @@ extern "C" { a_sw: i32, a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = createImageBitmap ) ] + # [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)"] @@ -2566,14 +2566,14 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "Request")] - # [ wasm_bindgen ( method , structural , js_class = "Window" , js_name = fetch ) ] + # [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 ) ] + # [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)"] @@ -2581,7 +2581,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -2593,7 +2593,7 @@ extern "C" { init: &RequestInit, ) -> ::js_sys::Promise; #[cfg(feature = "RequestInit")] - # [ wasm_bindgen ( method , structural , js_class = "Window" , js_name = fetch ) ] + # [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)"] @@ -2604,7 +2604,7 @@ extern "C" { input: &str, init: &RequestInit, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2614,7 +2614,7 @@ extern "C" { this: &Window, handler: &::js_sys::Function, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2626,7 +2626,7 @@ extern "C" { timeout: i32, arguments: &::js_sys::Array, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2637,7 +2637,7 @@ extern "C" { handler: &::js_sys::Function, timeout: i32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2649,7 +2649,7 @@ extern "C" { timeout: i32, arguments_1: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2662,7 +2662,7 @@ extern "C" { arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2676,7 +2676,7 @@ extern "C" { arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2691,7 +2691,7 @@ extern "C" { arguments_3: &::wasm_bindgen::JsValue, arguments_4: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2707,7 +2707,7 @@ extern "C" { arguments_4: &::wasm_bindgen::JsValue, arguments_5: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2724,7 +2724,7 @@ extern "C" { arguments_5: &::wasm_bindgen::JsValue, arguments_6: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2742,14 +2742,14 @@ extern "C" { arguments_6: &::wasm_bindgen::JsValue, arguments_7: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2761,7 +2761,7 @@ extern "C" { timeout: i32, unused: &::js_sys::Array, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2772,7 +2772,7 @@ extern "C" { handler: &str, timeout: i32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2784,7 +2784,7 @@ extern "C" { timeout: i32, unused_1: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2797,7 +2797,7 @@ extern "C" { unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2811,7 +2811,7 @@ extern "C" { unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2826,7 +2826,7 @@ extern "C" { unused_3: &::wasm_bindgen::JsValue, unused_4: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2842,7 +2842,7 @@ extern "C" { unused_4: &::wasm_bindgen::JsValue, unused_5: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2859,7 +2859,7 @@ extern "C" { unused_5: &::wasm_bindgen::JsValue, unused_6: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setInterval ) ] + # [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)"] @@ -2877,7 +2877,7 @@ extern "C" { unused_6: &::wasm_bindgen::JsValue, unused_7: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -2887,7 +2887,7 @@ extern "C" { this: &Window, handler: &::js_sys::Function, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -2899,7 +2899,7 @@ extern "C" { timeout: i32, arguments: &::js_sys::Array, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -2910,7 +2910,7 @@ extern "C" { handler: &::js_sys::Function, timeout: i32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -2922,7 +2922,7 @@ extern "C" { timeout: i32, arguments_1: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -2935,7 +2935,7 @@ extern "C" { arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -2949,7 +2949,7 @@ extern "C" { arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -2964,7 +2964,7 @@ extern "C" { arguments_3: &::wasm_bindgen::JsValue, arguments_4: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -2980,7 +2980,7 @@ extern "C" { arguments_4: &::wasm_bindgen::JsValue, arguments_5: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -2997,7 +2997,7 @@ extern "C" { arguments_5: &::wasm_bindgen::JsValue, arguments_6: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -3015,14 +3015,14 @@ extern "C" { arguments_6: &::wasm_bindgen::JsValue, arguments_7: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -3034,7 +3034,7 @@ extern "C" { timeout: i32, unused: &::js_sys::Array, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -3045,7 +3045,7 @@ extern "C" { handler: &str, timeout: i32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -3057,7 +3057,7 @@ extern "C" { timeout: i32, unused_1: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -3070,7 +3070,7 @@ extern "C" { unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -3084,7 +3084,7 @@ extern "C" { unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -3099,7 +3099,7 @@ extern "C" { unused_3: &::wasm_bindgen::JsValue, unused_4: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -3115,7 +3115,7 @@ extern "C" { unused_4: &::wasm_bindgen::JsValue, unused_5: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] @@ -3132,7 +3132,7 @@ extern "C" { unused_5: &::wasm_bindgen::JsValue, unused_6: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "Window" , js_name = setTimeout ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WindowClient.rs b/crates/web-sys/src/features/gen_WindowClient.rs index 7fb9ee5d449..883de35ed5a 100644 --- a/crates/web-sys/src/features/gen_WindowClient.rs +++ b/crates/web-sys/src/features/gen_WindowClient.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = Client , extends = :: js_sys :: Object , js_name = WindowClient , typescript_type = "WindowClient" ) ] + # [wasm_bindgen (extends = Client , extends = :: js_sys :: Object , js_name = WindowClient , typescript_type = "WindowClient")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WindowClient` class."] #[doc = ""] @@ -12,28 +12,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Worker.rs b/crates/web-sys/src/features/gen_Worker.rs index b6073bf4f00..ba9139f7023 100644 --- a/crates/web-sys/src/features/gen_Worker.rs +++ b/crates/web-sys/src/features/gen_Worker.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = Worker , typescript_type = "Worker" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Worker , typescript_type = "Worker")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Worker` class."] #[doc = ""] @@ -11,42 +11,42 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -68,14 +68,14 @@ extern "C" { #[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; - # [ wasm_bindgen ( catch , method , structural , js_class = "Worker" , js_name = postMessage ) ] + # [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 ) ] + # [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)"] @@ -86,7 +86,7 @@ extern "C" { message: &::wasm_bindgen::JsValue, transfer: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "Worker" , js_name = terminate ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WorkerDebuggerGlobalScope.rs b/crates/web-sys/src/features/gen_WorkerDebuggerGlobalScope.rs index 42474736127..e2bd8ee54dc 100644 --- a/crates/web-sys/src/features/gen_WorkerDebuggerGlobalScope.rs +++ b/crates/web-sys/src/features/gen_WorkerDebuggerGlobalScope.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = WorkerDebuggerGlobalScope , typescript_type = "WorkerDebuggerGlobalScope" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = WorkerDebuggerGlobalScope , typescript_type = "WorkerDebuggerGlobalScope")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WorkerDebuggerGlobalScope` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -43,42 +43,42 @@ extern "C" { name: &str, prototype: &::js_sys::Object, ) -> Result<::js_sys::Object, JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = dump ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -89,21 +89,21 @@ extern "C" { url: &str, sandbox: &::js_sys::Object, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = postMessage ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -112,7 +112,7 @@ extern "C" { pub fn retrieve_console_events( this: &WorkerDebuggerGlobalScope, ) -> Result<::js_sys::Array, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = setConsoleEventHandler ) ] + # [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)"] @@ -122,7 +122,7 @@ extern "C" { this: &WorkerDebuggerGlobalScope, handler: Option<&::js_sys::Function>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerDebuggerGlobalScope" , js_name = setImmediate ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WorkerGlobalScope.rs b/crates/web-sys/src/features/gen_WorkerGlobalScope.rs index 1f38be00cb2..3f51a6d0cf9 100644 --- a/crates/web-sys/src/features/gen_WorkerGlobalScope.rs +++ b/crates/web-sys/src/features/gen_WorkerGlobalScope.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = WorkerGlobalScope , typescript_type = "WorkerGlobalScope" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = WorkerGlobalScope , typescript_type = "WorkerGlobalScope")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WorkerGlobalScope` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,49 +27,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -77,21 +77,21 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "WorkerGlobalScope" , js_name = origin ) ] + # [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 ) ] + # [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)"] @@ -99,7 +99,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -107,35 +107,35 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `WorkerGlobalScope`*"] pub fn indexed_db(this: &WorkerGlobalScope) -> Result, JsValue>; #[cfg(feature = "CacheStorage")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "WorkerGlobalScope" , js_name = caches ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = importScripts ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -146,7 +146,7 @@ extern "C" { urls_1: &str, urls_2: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts ) ] + # [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)"] @@ -158,7 +158,7 @@ extern "C" { urls_2: &str, urls_3: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts ) ] + # [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)"] @@ -171,7 +171,7 @@ extern "C" { urls_3: &str, urls_4: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts ) ] + # [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)"] @@ -185,7 +185,7 @@ extern "C" { urls_4: &str, urls_5: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts ) ] + # [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)"] @@ -200,7 +200,7 @@ extern "C" { urls_5: &str, urls_6: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts ) ] + # [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)"] @@ -216,42 +216,42 @@ extern "C" { urls_6: &str, urls_7: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = atob ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = btoa ) ] + # [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; - # [ wasm_bindgen ( method , structural , js_class = "WorkerGlobalScope" , js_name = clearInterval ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -259,7 +259,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -270,7 +270,7 @@ extern "C" { a_image: &HtmlImageElement, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -281,7 +281,7 @@ extern "C" { a_image: &HtmlVideoElement, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -292,7 +292,7 @@ extern "C" { a_image: &HtmlCanvasElement, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "Blob")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -303,7 +303,7 @@ extern "C" { a_image: &Blob, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -314,7 +314,7 @@ extern "C" { a_image: &ImageData, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CanvasRenderingContext2d")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -325,7 +325,7 @@ extern "C" { a_image: &CanvasRenderingContext2d, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -335,7 +335,7 @@ extern "C" { this: &WorkerGlobalScope, a_image: &ImageBitmap, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -345,7 +345,7 @@ extern "C" { this: &WorkerGlobalScope, a_image: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -356,7 +356,7 @@ extern "C" { a_image: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "HtmlImageElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -371,7 +371,7 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "HtmlVideoElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -386,7 +386,7 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "HtmlCanvasElement")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -401,7 +401,7 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "Blob")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -416,7 +416,7 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "ImageData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -431,7 +431,7 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "CanvasRenderingContext2d")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -446,7 +446,7 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "ImageBitmap")] - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -460,7 +460,7 @@ extern "C" { a_sw: i32, a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -474,7 +474,7 @@ extern "C" { a_sw: i32, a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap ) ] + # [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)"] @@ -489,14 +489,14 @@ extern "C" { a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "Request")] - # [ wasm_bindgen ( method , structural , js_class = "WorkerGlobalScope" , js_name = fetch ) ] + # [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 ) ] + # [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)"] @@ -504,7 +504,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -516,7 +516,7 @@ extern "C" { init: &RequestInit, ) -> ::js_sys::Promise; #[cfg(feature = "RequestInit")] - # [ wasm_bindgen ( method , structural , js_class = "WorkerGlobalScope" , js_name = fetch ) ] + # [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)"] @@ -527,7 +527,7 @@ extern "C" { input: &str, init: &RequestInit, ) -> ::js_sys::Promise; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -537,7 +537,7 @@ extern "C" { this: &WorkerGlobalScope, handler: &::js_sys::Function, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -549,7 +549,7 @@ extern "C" { timeout: i32, arguments: &::js_sys::Array, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -560,7 +560,7 @@ extern "C" { handler: &::js_sys::Function, timeout: i32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -572,7 +572,7 @@ extern "C" { timeout: i32, arguments_1: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -585,7 +585,7 @@ extern "C" { arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -599,7 +599,7 @@ extern "C" { arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -614,7 +614,7 @@ extern "C" { arguments_3: &::wasm_bindgen::JsValue, arguments_4: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -630,7 +630,7 @@ extern "C" { arguments_4: &::wasm_bindgen::JsValue, arguments_5: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -647,7 +647,7 @@ extern "C" { arguments_5: &::wasm_bindgen::JsValue, arguments_6: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -665,14 +665,14 @@ extern "C" { arguments_6: &::wasm_bindgen::JsValue, arguments_7: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -684,7 +684,7 @@ extern "C" { timeout: i32, unused: &::js_sys::Array, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -695,7 +695,7 @@ extern "C" { handler: &str, timeout: i32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -707,7 +707,7 @@ extern "C" { timeout: i32, unused_1: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -720,7 +720,7 @@ extern "C" { unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -734,7 +734,7 @@ extern "C" { unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -749,7 +749,7 @@ extern "C" { unused_3: &::wasm_bindgen::JsValue, unused_4: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -765,7 +765,7 @@ extern "C" { unused_4: &::wasm_bindgen::JsValue, unused_5: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -782,7 +782,7 @@ extern "C" { unused_5: &::wasm_bindgen::JsValue, unused_6: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval ) ] + # [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)"] @@ -800,7 +800,7 @@ extern "C" { unused_6: &::wasm_bindgen::JsValue, unused_7: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -810,7 +810,7 @@ extern "C" { this: &WorkerGlobalScope, handler: &::js_sys::Function, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -822,7 +822,7 @@ extern "C" { timeout: i32, arguments: &::js_sys::Array, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -833,7 +833,7 @@ extern "C" { handler: &::js_sys::Function, timeout: i32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -845,7 +845,7 @@ extern "C" { timeout: i32, arguments_1: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -858,7 +858,7 @@ extern "C" { arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -872,7 +872,7 @@ extern "C" { arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -887,7 +887,7 @@ extern "C" { arguments_3: &::wasm_bindgen::JsValue, arguments_4: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -903,7 +903,7 @@ extern "C" { arguments_4: &::wasm_bindgen::JsValue, arguments_5: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -920,7 +920,7 @@ extern "C" { arguments_5: &::wasm_bindgen::JsValue, arguments_6: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -938,14 +938,14 @@ extern "C" { arguments_6: &::wasm_bindgen::JsValue, arguments_7: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -957,7 +957,7 @@ extern "C" { timeout: i32, unused: &::js_sys::Array, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -968,7 +968,7 @@ extern "C" { handler: &str, timeout: i32, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -980,7 +980,7 @@ extern "C" { timeout: i32, unused_1: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -993,7 +993,7 @@ extern "C" { unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -1007,7 +1007,7 @@ extern "C" { unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -1022,7 +1022,7 @@ extern "C" { unused_3: &::wasm_bindgen::JsValue, unused_4: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -1038,7 +1038,7 @@ extern "C" { unused_4: &::wasm_bindgen::JsValue, unused_5: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] @@ -1055,7 +1055,7 @@ extern "C" { unused_5: &::wasm_bindgen::JsValue, unused_6: &::wasm_bindgen::JsValue, ) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WorkerLocation.rs b/crates/web-sys/src/features/gen_WorkerLocation.rs index 00b10ce005f..643fd1d3671 100644 --- a/crates/web-sys/src/features/gen_WorkerLocation.rs +++ b/crates/web-sys/src/features/gen_WorkerLocation.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WorkerLocation , typescript_type = "WorkerLocation" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WorkerLocation , typescript_type = "WorkerLocation")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WorkerLocation` class."] #[doc = ""] @@ -11,63 +11,63 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WorkerNavigator.rs b/crates/web-sys/src/features/gen_WorkerNavigator.rs index c023edb38e4..4ef88c7fd20 100644 --- a/crates/web-sys/src/features/gen_WorkerNavigator.rs +++ b/crates/web-sys/src/features/gen_WorkerNavigator.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WorkerNavigator , typescript_type = "WorkerNavigator" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WorkerNavigator , typescript_type = "WorkerNavigator")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WorkerNavigator` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `NetworkInformation`, `WorkerNavigator`*"] pub fn connection(this: &WorkerNavigator) -> Result; #[cfg(feature = "MediaCapabilities")] - # [ wasm_bindgen ( structural , method , getter , js_class = "WorkerNavigator" , js_name = 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)"] @@ -29,7 +29,7 @@ extern "C" { pub fn media_capabilities(this: &WorkerNavigator) -> MediaCapabilities; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "Gpu")] - # [ wasm_bindgen ( structural , method , getter , js_class = "WorkerNavigator" , js_name = 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)"] @@ -39,70 +39,70 @@ extern "C" { #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to 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 , method , getter , js_class = "WorkerNavigator" , js_name = hardwareConcurrency ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "WorkerNavigator" , js_name = appCodeName ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "WorkerNavigator" , js_name = appName ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "WorkerNavigator" , js_name = platform ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "WorkerNavigator" , js_name = userAgent ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "WorkerNavigator" , js_name = product ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "WorkerNavigator" , js_name = languages ) ] + # [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 ) ] + # [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)"] @@ -110,14 +110,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WorkerOptions.rs b/crates/web-sys/src/features/gen_WorkerOptions.rs index e1c12ef0656..b3f4b74c5cc 100644 --- a/crates/web-sys/src/features/gen_WorkerOptions.rs +++ b/crates/web-sys/src/features/gen_WorkerOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WorkerOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WorkerOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WorkerOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_Worklet.rs b/crates/web-sys/src/features/gen_Worklet.rs index 2d4980db20d..fec6b6dcc05 100644 --- a/crates/web-sys/src/features/gen_Worklet.rs +++ b/crates/web-sys/src/features/gen_Worklet.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Worklet , typescript_type = "Worklet" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Worklet , typescript_type = "Worklet")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Worklet` class."] #[doc = ""] @@ -11,7 +11,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -19,7 +19,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_WorkletGlobalScope.rs b/crates/web-sys/src/features/gen_WorkletGlobalScope.rs index feab4621672..26931699c8e 100644 --- a/crates/web-sys/src/features/gen_WorkletGlobalScope.rs +++ b/crates/web-sys/src/features/gen_WorkletGlobalScope.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WorkletGlobalScope , typescript_type = "WorkletGlobalScope" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WorkletGlobalScope , typescript_type = "WorkletGlobalScope")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WorkletGlobalScope` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_WorkletOptions.rs b/crates/web-sys/src/features/gen_WorkletOptions.rs index 37f561ee521..1e0251dfa70 100644 --- a/crates/web-sys/src/features/gen_WorkletOptions.rs +++ b/crates/web-sys/src/features/gen_WorkletOptions.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = WorkletOptions ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WorkletOptions)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `WorkletOptions` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_XPathExpression.rs b/crates/web-sys/src/features/gen_XPathExpression.rs index a22c5bcf08c..6a09c700a7c 100644 --- a/crates/web-sys/src/features/gen_XPathExpression.rs +++ b/crates/web-sys/src/features/gen_XPathExpression.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = XPathExpression , typescript_type = "XPathExpression" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XPathExpression , typescript_type = "XPathExpression")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XPathExpression` class."] #[doc = ""] @@ -12,7 +12,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -20,7 +20,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Node`, `XPathExpression`, `XPathResult`*"] pub fn evaluate(this: &XPathExpression, context_node: &Node) -> Result; #[cfg(all(feature = "Node", feature = "XPathResult",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "XPathExpression" , js_name = evaluate ) ] + # [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)"] @@ -32,7 +32,7 @@ extern "C" { type_: u16, ) -> Result; #[cfg(all(feature = "Node", feature = "XPathResult",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "XPathExpression" , js_name = evaluate ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XPathNsResolver.rs b/crates/web-sys/src/features/gen_XPathNsResolver.rs index 078e10562d9..197575edc63 100644 --- a/crates/web-sys/src/features/gen_XPathNsResolver.rs +++ b/crates/web-sys/src/features/gen_XPathNsResolver.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = XPathNSResolver ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XPathNSResolver)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XPathNsResolver` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_XPathResult.rs b/crates/web-sys/src/features/gen_XPathResult.rs index 0df177adb8d..a006a893d73 100644 --- a/crates/web-sys/src/features/gen_XPathResult.rs +++ b/crates/web-sys/src/features/gen_XPathResult.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = XPathResult , typescript_type = "XPathResult" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XPathResult , typescript_type = "XPathResult")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XPathResult` class."] #[doc = ""] @@ -11,28 +11,28 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "XPathResult" , js_name = stringValue ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "XPathResult" , js_name = booleanValue ) ] + # [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)"] @@ -40,21 +40,21 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"] pub fn boolean_value(this: &XPathResult) -> Result; #[cfg(feature = "Node")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "XPathResult" , js_name = singleNodeValue ) ] + # [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, JsValue>; - # [ wasm_bindgen ( structural , method , getter , js_class = "XPathResult" , js_name = invalidIteratorState ) ] + # [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 ) ] + # [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)"] @@ -62,7 +62,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `XPathResult`*"] pub fn snapshot_length(this: &XPathResult) -> Result; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "XPathResult" , js_name = iterateNext ) ] + # [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)"] @@ -70,7 +70,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Node`, `XPathResult`*"] pub fn iterate_next(this: &XPathResult) -> Result, JsValue>; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "XPathResult" , js_name = snapshotItem ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XmlDocument.rs b/crates/web-sys/src/features/gen_XmlDocument.rs index 095087db2a6..d1f2c85859c 100644 --- a/crates/web-sys/src/features/gen_XmlDocument.rs +++ b/crates/web-sys/src/features/gen_XmlDocument.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,21 +11,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XmlHttpRequest.rs b/crates/web-sys/src/features/gen_XmlHttpRequest.rs index f4f9dc1275e..06522f888cd 100644 --- a/crates/web-sys/src/features/gen_XmlHttpRequest.rs +++ b/crates/web-sys/src/features/gen_XmlHttpRequest.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] @@ -11,49 +11,49 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -61,28 +61,28 @@ extern "C" { #[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 ) ] + # [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; - # [ wasm_bindgen ( structural , method , getter , js_class = "XMLHttpRequest" , js_name = responseURL ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "XMLHttpRequest" , js_name = statusText ) ] + # [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)"] @@ -90,7 +90,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"] pub fn status_text(this: &XmlHttpRequest) -> Result; #[cfg(feature = "XmlHttpRequestResponseType")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XMLHttpRequest" , js_name = responseType ) ] + # [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)"] @@ -98,21 +98,21 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -120,7 +120,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"] pub fn response_text(this: &XmlHttpRequest) -> Result, JsValue>; #[cfg(feature = "Document")] - # [ wasm_bindgen ( structural , catch , method , getter , js_class = "XMLHttpRequest" , js_name = responseXML ) ] + # [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)"] @@ -141,21 +141,21 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequest`*"] pub fn new_with_ignored(ignored: &str) -> Result; - # [ wasm_bindgen ( catch , method , structural , js_class = "XMLHttpRequest" , js_name = abort ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , method , structural , js_class = "XMLHttpRequest" , js_name = getResponseHeader ) ] + # [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)"] @@ -165,14 +165,14 @@ extern "C" { this: &XmlHttpRequest, header: &str, ) -> Result, JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "XMLHttpRequest" , js_name = open ) ] + # [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 ) ] + # [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)"] @@ -184,7 +184,7 @@ extern "C" { url: &str, r#async: bool, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "XMLHttpRequest" , js_name = open ) ] + # [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)"] @@ -197,7 +197,7 @@ extern "C" { r#async: bool, user: Option<&str>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "XMLHttpRequest" , js_name = open ) ] + # [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)"] @@ -211,14 +211,14 @@ extern "C" { user: Option<&str>, password: Option<&str>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "XMLHttpRequest" , js_name = overrideMimeType ) ] + # [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 ) ] + # [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)"] @@ -226,7 +226,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -237,14 +237,14 @@ extern "C" { body: Option<&Document>, ) -> Result<(), JsValue>; #[cfg(feature = "Blob")] - # [ wasm_bindgen ( catch , method , structural , js_class = "XMLHttpRequest" , js_name = send ) ] + # [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 ) ] + # [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)"] @@ -254,7 +254,7 @@ extern "C" { this: &XmlHttpRequest, body: Option<&::js_sys::Object>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "XMLHttpRequest" , js_name = send ) ] + # [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)"] @@ -265,7 +265,7 @@ extern "C" { body: Option<&[u8]>, ) -> Result<(), JsValue>; #[cfg(feature = "FormData")] - # [ wasm_bindgen ( catch , method , structural , js_class = "XMLHttpRequest" , js_name = send ) ] + # [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)"] @@ -276,7 +276,7 @@ extern "C" { body: Option<&FormData>, ) -> Result<(), JsValue>; #[cfg(feature = "UrlSearchParams")] - # [ wasm_bindgen ( catch , method , structural , js_class = "XMLHttpRequest" , js_name = send ) ] + # [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)"] @@ -286,7 +286,7 @@ extern "C" { this: &XmlHttpRequest, body: Option<&UrlSearchParams>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "XMLHttpRequest" , js_name = send ) ] + # [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)"] @@ -294,7 +294,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -304,7 +304,7 @@ extern "C" { this: &XmlHttpRequest, body: Option<&ReadableStream>, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( catch , method , structural , js_class = "XMLHttpRequest" , js_name = setRequestHeader ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XmlHttpRequestEventTarget.rs b/crates/web-sys/src/features/gen_XmlHttpRequestEventTarget.rs index 0f7bb8010bb..f4e90fd6ce8 100644 --- a/crates/web-sys/src/features/gen_XmlHttpRequestEventTarget.rs +++ b/crates/web-sys/src/features/gen_XmlHttpRequestEventTarget.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = XMLHttpRequestEventTarget , typescript_type = "XMLHttpRequestEventTarget" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = XMLHttpRequestEventTarget , typescript_type = "XMLHttpRequestEventTarget")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XmlHttpRequestEventTarget` class."] #[doc = ""] @@ -11,98 +11,98 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XmlHttpRequestUpload.rs b/crates/web-sys/src/features/gen_XmlHttpRequestUpload.rs index 419a03e758d..d21af9af460 100644 --- a/crates/web-sys/src/features/gen_XmlHttpRequestUpload.rs +++ b/crates/web-sys/src/features/gen_XmlHttpRequestUpload.rs @@ -3,7 +3,7 @@ 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" ) ] + # [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 = ""] diff --git a/crates/web-sys/src/features/gen_XmlSerializer.rs b/crates/web-sys/src/features/gen_XmlSerializer.rs index a6500fb1b21..8243e969624 100644 --- a/crates/web-sys/src/features/gen_XmlSerializer.rs +++ b/crates/web-sys/src/features/gen_XmlSerializer.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = XMLSerializer , typescript_type = "XMLSerializer" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XMLSerializer , typescript_type = "XMLSerializer")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XmlSerializer` class."] #[doc = ""] @@ -19,7 +19,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `XmlSerializer`*"] pub fn new() -> Result; #[cfg(feature = "Node")] - # [ wasm_bindgen ( catch , method , structural , js_class = "XMLSerializer" , js_name = serializeToString ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_Xr.rs b/crates/web-sys/src/features/gen_Xr.rs index c6316d2f774..f38397e69a8 100644 --- a/crates/web-sys/src/features/gen_Xr.rs +++ b/crates/web-sys/src/features/gen_Xr.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = XR , typescript_type = "XR" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = XR , typescript_type = "XR")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `Xr` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub type Xr; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , getter , js_class = "XR" , js_name = ondevicechange ) ] + # [wasm_bindgen (structural , method , getter , js_class = "XR" , 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/XR/ondevicechange)"] @@ -27,7 +27,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn ondevicechange(this: &Xr) -> Option<::js_sys::Function>; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , setter , js_class = "XR" , js_name = ondevicechange ) ] + # [wasm_bindgen (structural , method , setter , js_class = "XR" , 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/XR/ondevicechange)"] @@ -39,7 +39,7 @@ extern "C" { pub fn set_ondevicechange(this: &Xr, value: Option<&::js_sys::Function>); #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrSessionMode")] - # [ wasm_bindgen ( method , structural , js_class = "XR" , js_name = isSessionSupported ) ] + # [wasm_bindgen (method , structural , js_class = "XR" , js_name = isSessionSupported)] #[doc = "The `isSessionSupported()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XR/isSessionSupported)"] @@ -51,7 +51,7 @@ extern "C" { pub fn is_session_supported(this: &Xr, mode: XrSessionMode) -> ::js_sys::Promise; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrSessionMode")] - # [ wasm_bindgen ( method , structural , js_class = "XR" , js_name = requestSession ) ] + # [wasm_bindgen (method , structural , js_class = "XR" , js_name = requestSession)] #[doc = "The `requestSession()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XR/requestSession)"] @@ -63,7 +63,7 @@ extern "C" { pub fn request_session(this: &Xr, mode: XrSessionMode) -> ::js_sys::Promise; #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "XrSessionInit", feature = "XrSessionMode",))] - # [ wasm_bindgen ( method , structural , js_class = "XR" , js_name = requestSession ) ] + # [wasm_bindgen (method , structural , js_class = "XR" , js_name = requestSession)] #[doc = "The `requestSession()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XR/requestSession)"] diff --git a/crates/web-sys/src/features/gen_XrBoundedReferenceSpace.rs b/crates/web-sys/src/features/gen_XrBoundedReferenceSpace.rs index 31ad20e317d..79b217a08d8 100644 --- a/crates/web-sys/src/features/gen_XrBoundedReferenceSpace.rs +++ b/crates/web-sys/src/features/gen_XrBoundedReferenceSpace.rs @@ -4,7 +4,7 @@ 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" ) ] + # [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 = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrFrame.rs b/crates/web-sys/src/features/gen_XrFrame.rs index 8641b284ed8..9a4153e4c48 100644 --- a/crates/web-sys/src/features/gen_XrFrame.rs +++ b/crates/web-sys/src/features/gen_XrFrame.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRFrame , typescript_type = "XRFrame")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrFrame` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type XrFrame; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrSession")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRFrame" , js_name = session ) ] + # [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)"] @@ -29,7 +29,7 @@ extern "C" { pub fn session(this: &XrFrame) -> XrSession; #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "XrPose", feature = "XrSpace",))] - # [ wasm_bindgen ( method , structural , js_class = "XRFrame" , js_name = getPose ) ] + # [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)"] @@ -41,7 +41,7 @@ extern "C" { pub fn get_pose(this: &XrFrame, space: &XrSpace, base_space: &XrSpace) -> Option; #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "XrReferenceSpace", feature = "XrViewerPose",))] - # [ wasm_bindgen ( method , structural , js_class = "XRFrame" , js_name = getViewerPose ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrInputSource.rs b/crates/web-sys/src/features/gen_XrInputSource.rs index a2ffebaf398..739ea37a492 100644 --- a/crates/web-sys/src/features/gen_XrInputSource.rs +++ b/crates/web-sys/src/features/gen_XrInputSource.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRInputSource , typescript_type = "XRInputSource")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrInputSource` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type XrInputSource; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrHandedness")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRInputSource" , js_name = handedness ) ] + # [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)"] @@ -29,7 +29,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -41,7 +41,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -53,7 +53,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -64,7 +64,7 @@ extern "C" { #[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; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRInputSource" , js_name = profiles ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrInputSourceArray.rs b/crates/web-sys/src/features/gen_XrInputSourceArray.rs index 9f19437425e..72c723b2884 100644 --- a/crates/web-sys/src/features/gen_XrInputSourceArray.rs +++ b/crates/web-sys/src/features/gen_XrInputSourceArray.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRInputSourceArray , typescript_type = "XRInputSourceArray")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrInputSourceArray` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrInputSourceEvent.rs b/crates/web-sys/src/features/gen_XrInputSourceEvent.rs index ce4a1d25adc..2c2f1d7c744 100644 --- a/crates/web-sys/src/features/gen_XrInputSourceEvent.rs +++ b/crates/web-sys/src/features/gen_XrInputSourceEvent.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = XRInputSourceEvent , typescript_type = "XRInputSourceEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrInputSourceEvent` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type XrInputSourceEvent; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrFrame")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRInputSourceEvent" , js_name = frame ) ] + # [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)"] @@ -29,7 +29,7 @@ extern "C" { 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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrInputSourceEventInit.rs b/crates/web-sys/src/features/gen_XrInputSourceEventInit.rs index 66145eedbb3..64f9daf9407 100644 --- a/crates/web-sys/src/features/gen_XrInputSourceEventInit.rs +++ b/crates/web-sys/src/features/gen_XrInputSourceEventInit.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = XRInputSourceEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRInputSourceEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrInputSourceEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_XrInputSourcesChangeEvent.rs b/crates/web-sys/src/features/gen_XrInputSourcesChangeEvent.rs index d4ada007318..cf536e36ad3 100644 --- a/crates/web-sys/src/features/gen_XrInputSourcesChangeEvent.rs +++ b/crates/web-sys/src/features/gen_XrInputSourcesChangeEvent.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = XRInputSourcesChangeEvent , typescript_type = "XRInputSourcesChangeEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrInputSourcesChangeEvent` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type XrInputSourcesChangeEvent; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrSession")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRInputSourcesChangeEvent" , js_name = session ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrInputSourcesChangeEventInit.rs b/crates/web-sys/src/features/gen_XrInputSourcesChangeEventInit.rs index 374d5f4fbfa..e23c3df36bb 100644 --- a/crates/web-sys/src/features/gen_XrInputSourcesChangeEventInit.rs +++ b/crates/web-sys/src/features/gen_XrInputSourcesChangeEventInit.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = XRInputSourcesChangeEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRInputSourcesChangeEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrInputSourcesChangeEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_XrPose.rs b/crates/web-sys/src/features/gen_XrPose.rs index f921fbf96b8..f8a690fcdd5 100644 --- a/crates/web-sys/src/features/gen_XrPose.rs +++ b/crates/web-sys/src/features/gen_XrPose.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRPose , typescript_type = "XRPose")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrPose` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type XrPose; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrRigidTransform")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRPose" , js_name = transform ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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)] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRPose" , js_name = emulatedPosition ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrReferenceSpace.rs b/crates/web-sys/src/features/gen_XrReferenceSpace.rs index 618a7beccc5..3ca6d5a125f 100644 --- a/crates/web-sys/src/features/gen_XrReferenceSpace.rs +++ b/crates/web-sys/src/features/gen_XrReferenceSpace.rs @@ -4,7 +4,7 @@ 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" ) ] + # [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 = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { 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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrReferenceSpaceEvent.rs b/crates/web-sys/src/features/gen_XrReferenceSpaceEvent.rs index 2391165a132..c08cf8d0c12 100644 --- a/crates/web-sys/src/features/gen_XrReferenceSpaceEvent.rs +++ b/crates/web-sys/src/features/gen_XrReferenceSpaceEvent.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = XRReferenceSpaceEvent , typescript_type = "XRReferenceSpaceEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrReferenceSpaceEvent` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type XrReferenceSpaceEvent; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrReferenceSpace")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRReferenceSpaceEvent" , js_name = referenceSpace ) ] + # [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)"] @@ -29,7 +29,7 @@ extern "C" { 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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrReferenceSpaceEventInit.rs b/crates/web-sys/src/features/gen_XrReferenceSpaceEventInit.rs index a1f0ff48400..8ff8b96dd75 100644 --- a/crates/web-sys/src/features/gen_XrReferenceSpaceEventInit.rs +++ b/crates/web-sys/src/features/gen_XrReferenceSpaceEventInit.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = XRReferenceSpaceEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRReferenceSpaceEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrReferenceSpaceEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_XrRenderState.rs b/crates/web-sys/src/features/gen_XrRenderState.rs index 0d4a6b0378a..98781adb73b 100644 --- a/crates/web-sys/src/features/gen_XrRenderState.rs +++ b/crates/web-sys/src/features/gen_XrRenderState.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRRenderState , typescript_type = "XRRenderState")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrRenderState` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { pub fn inline_vertical_field_of_view(this: &XrRenderState) -> Option; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrWebGlLayer")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRRenderState" , js_name = baseLayer ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrRenderStateInit.rs b/crates/web-sys/src/features/gen_XrRenderStateInit.rs index 36566e4cc69..6290058aa09 100644 --- a/crates/web-sys/src/features/gen_XrRenderStateInit.rs +++ b/crates/web-sys/src/features/gen_XrRenderStateInit.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = XRRenderStateInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRRenderStateInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrRenderStateInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_XrRigidTransform.rs b/crates/web-sys/src/features/gen_XrRigidTransform.rs index 43785322597..76797714259 100644 --- a/crates/web-sys/src/features/gen_XrRigidTransform.rs +++ b/crates/web-sys/src/features/gen_XrRigidTransform.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRRigidTransform , typescript_type = "XRRigidTransform")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrRigidTransform` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type XrRigidTransform; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "DomPointReadOnly")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRRigidTransform" , js_name = position ) ] + # [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)"] @@ -29,7 +29,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -51,7 +51,7 @@ extern "C" { #[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; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRRigidTransform" , js_name = inverse ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrSession.rs b/crates/web-sys/src/features/gen_XrSession.rs index 255446b972b..fd54bb99fb0 100644 --- a/crates/web-sys/src/features/gen_XrSession.rs +++ b/crates/web-sys/src/features/gen_XrSession.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = XRSession , typescript_type = "XRSession")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrSession` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type XrSession; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrVisibilityState")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRSession" , js_name = visibilityState ) ] + # [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)"] @@ -29,7 +29,7 @@ extern "C" { pub fn visibility_state(this: &XrSession) -> XrVisibilityState; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrRenderState")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRSession" , js_name = renderState ) ] + # [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)"] @@ -41,7 +41,7 @@ extern "C" { 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 ) ] + # [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)"] @@ -52,7 +52,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -63,7 +63,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -74,7 +74,7 @@ extern "C" { #[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 = onselect ) ] + # [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)"] @@ -85,7 +85,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -96,7 +96,7 @@ extern "C" { #[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 = oninputsourceschange ) ] + # [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)"] @@ -107,7 +107,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -118,7 +118,7 @@ extern "C" { #[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 = onselectstart ) ] + # [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)"] @@ -129,7 +129,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -140,7 +140,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -151,7 +151,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -162,7 +162,7 @@ extern "C" { #[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 = onvisibilitychange ) ] + # [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)"] @@ -173,7 +173,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -184,7 +184,7 @@ extern "C" { #[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 ( method , structural , js_class = "XRSession" , js_name = cancelAnimationFrame ) ] + # [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)"] @@ -195,7 +195,7 @@ extern "C" { #[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: i32); #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "XRSession" , js_name = end ) ] + # [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)"] @@ -206,7 +206,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -218,7 +218,7 @@ extern "C" { pub fn request_animation_frame(this: &XrSession, callback: &::js_sys::Function) -> i32; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrReferenceSpaceType")] - # [ wasm_bindgen ( method , structural , js_class = "XRSession" , js_name = requestReferenceSpace ) ] + # [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)"] @@ -232,7 +232,7 @@ extern "C" { type_: XrReferenceSpaceType, ) -> ::js_sys::Promise; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( method , structural , js_class = "XRSession" , js_name = updateRenderState ) ] + # [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)"] @@ -244,7 +244,7 @@ extern "C" { 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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrSessionEvent.rs b/crates/web-sys/src/features/gen_XrSessionEvent.rs index 931d43312e9..bc7279a784c 100644 --- a/crates/web-sys/src/features/gen_XrSessionEvent.rs +++ b/crates/web-sys/src/features/gen_XrSessionEvent.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = XRSessionEvent , typescript_type = "XRSessionEvent")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrSessionEvent` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type XrSessionEvent; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrSession")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRSessionEvent" , js_name = session ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrSessionEventInit.rs b/crates/web-sys/src/features/gen_XrSessionEventInit.rs index 44c36dc3a19..fbe6cf2831c 100644 --- a/crates/web-sys/src/features/gen_XrSessionEventInit.rs +++ b/crates/web-sys/src/features/gen_XrSessionEventInit.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = XRSessionEventInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRSessionEventInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrSessionEventInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_XrSessionInit.rs b/crates/web-sys/src/features/gen_XrSessionInit.rs index e4b10edd517..fa368f71be0 100644 --- a/crates/web-sys/src/features/gen_XrSessionInit.rs +++ b/crates/web-sys/src/features/gen_XrSessionInit.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = XRSessionInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRSessionInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrSessionInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_XrSpace.rs b/crates/web-sys/src/features/gen_XrSpace.rs index 1a774775458..e04941c050d 100644 --- a/crates/web-sys/src/features/gen_XrSpace.rs +++ b/crates/web-sys/src/features/gen_XrSpace.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = XRSpace , typescript_type = "XRSpace")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrSpace` class."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_XrView.rs b/crates/web-sys/src/features/gen_XrView.rs index b3cd87c689b..1e5a3a3e379 100644 --- a/crates/web-sys/src/features/gen_XrView.rs +++ b/crates/web-sys/src/features/gen_XrView.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRView , typescript_type = "XRView")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrView` class."] #[doc = ""] @@ -17,7 +17,7 @@ extern "C" { pub type XrView; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrEye")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRView" , js_name = eye ) ] + # [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)"] @@ -28,7 +28,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -40,7 +40,7 @@ extern "C" { pub fn projection_matrix(this: &XrView) -> Vec; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrRigidTransform")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRView" , js_name = transform ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrViewerPose.rs b/crates/web-sys/src/features/gen_XrViewerPose.rs index f5fbbeaa20b..2e53ea6a40d 100644 --- a/crates/web-sys/src/features/gen_XrViewerPose.rs +++ b/crates/web-sys/src/features/gen_XrViewerPose.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = XrPose , extends = :: js_sys :: Object , js_name = XRViewerPose , typescript_type = "XRViewerPose")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrViewerPose` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrViewport.rs b/crates/web-sys/src/features/gen_XrViewport.rs index 53b32e22eff..7ffdabd83d0 100644 --- a/crates/web-sys/src/features/gen_XrViewport.rs +++ b/crates/web-sys/src/features/gen_XrViewport.rs @@ -4,7 +4,7 @@ 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" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRViewport , typescript_type = "XRViewport")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrViewport` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -38,7 +38,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -49,7 +49,7 @@ extern "C" { #[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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrWebGlLayer.rs b/crates/web-sys/src/features/gen_XrWebGlLayer.rs index b0a7bc531c4..dca0a71a541 100644 --- a/crates/web-sys/src/features/gen_XrWebGlLayer.rs +++ b/crates/web-sys/src/features/gen_XrWebGlLayer.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = XRWebGLLayer , typescript_type = "XRWebGLLayer" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRWebGLLayer , typescript_type = "XRWebGLLayer")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrWebGlLayer` class."] #[doc = ""] @@ -16,7 +16,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -27,7 +27,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -39,7 +39,7 @@ extern "C" { pub fn ignore_depth_values(this: &XrWebGlLayer) -> bool; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "WebGlFramebuffer")] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRWebGLLayer" , js_name = framebuffer ) ] + # [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)"] @@ -50,7 +50,7 @@ extern "C" { #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn framebuffer(this: &XrWebGlLayer) -> WebGlFramebuffer; #[cfg(web_sys_unstable_apis)] - # [ wasm_bindgen ( structural , method , getter , js_class = "XRWebGLLayer" , js_name = framebufferWidth ) ] + # [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)"] @@ -61,7 +61,7 @@ extern "C" { #[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 ) ] + # [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)"] @@ -143,7 +143,7 @@ extern "C" { ) -> Result; #[cfg(web_sys_unstable_apis)] #[cfg(feature = "XrSession")] - # [ wasm_bindgen ( static_method_of = XrWebGlLayer , js_class = "XRWebGLLayer" , js_name = getNativeFramebufferScaleFactor ) ] + # [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)"] @@ -155,7 +155,7 @@ extern "C" { 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 ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_XrWebGlLayerInit.rs b/crates/web-sys/src/features/gen_XrWebGlLayerInit.rs index b233d100600..2ec229229af 100644 --- a/crates/web-sys/src/features/gen_XrWebGlLayerInit.rs +++ b/crates/web-sys/src/features/gen_XrWebGlLayerInit.rs @@ -4,7 +4,7 @@ use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = XRWebGLLayerInit ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRWebGLLayerInit)] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XrWebGlLayerInit` dictionary."] #[doc = ""] diff --git a/crates/web-sys/src/features/gen_XsltProcessor.rs b/crates/web-sys/src/features/gen_XsltProcessor.rs index 8fdeb5c7e27..c730032d445 100644 --- a/crates/web-sys/src/features/gen_XsltProcessor.rs +++ b/crates/web-sys/src/features/gen_XsltProcessor.rs @@ -3,7 +3,7 @@ use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = XSLTProcessor , typescript_type = "XSLTProcessor" ) ] + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XSLTProcessor , typescript_type = "XSLTProcessor")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `XsltProcessor` class."] #[doc = ""] @@ -18,7 +18,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `XsltProcessor`*"] pub fn new() -> Result; - # [ wasm_bindgen ( method , structural , js_class = "XSLTProcessor" , js_name = clearParameters ) ] + # [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)"] @@ -26,14 +26,14 @@ extern "C" { #[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 ) ] + # [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 ) ] + # [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)"] @@ -44,14 +44,14 @@ extern "C" { namespace_uri: &str, local_name: &str, ) -> Result<(), JsValue>; - # [ wasm_bindgen ( method , structural , js_class = "XSLTProcessor" , js_name = reset ) ] + # [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 ) ] + # [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)"] @@ -64,7 +64,7 @@ extern "C" { value: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; #[cfg(all(feature = "Document", feature = "Node",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "XSLTProcessor" , js_name = transformToDocument ) ] + # [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)"] @@ -72,7 +72,7 @@ extern "C" { #[doc = "*This API requires the following crate features to be activated: `Document`, `Node`, `XsltProcessor`*"] pub fn transform_to_document(this: &XsltProcessor, source: &Node) -> Result; #[cfg(all(feature = "Document", feature = "DocumentFragment", feature = "Node",))] - # [ wasm_bindgen ( catch , method , structural , js_class = "XSLTProcessor" , js_name = transformToFragment ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_console.rs b/crates/web-sys/src/features/gen_console.rs index f4abb8b7e33..a84ed2b4a5a 100644 --- a/crates/web-sys/src/features/gen_console.rs +++ b/crates/web-sys/src/features/gen_console.rs @@ -4,35 +4,35 @@ pub mod console { use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( js_namespace = console , js_name = assert ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -43,7 +43,7 @@ pub mod console { data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = assert ) ] + # [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)"] @@ -55,7 +55,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = assert ) ] + # [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)"] @@ -68,7 +68,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = assert ) ] + # [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)"] @@ -82,7 +82,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = assert ) ] + # [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)"] @@ -97,7 +97,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = assert ) ] + # [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)"] @@ -113,70 +113,70 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = clear ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -187,7 +187,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = debug ) ] + # [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)"] @@ -199,7 +199,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = debug ) ] + # [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)"] @@ -212,7 +212,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = debug ) ] + # [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)"] @@ -226,7 +226,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = debug ) ] + # [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)"] @@ -241,35 +241,35 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( variadic , js_namespace = console , js_name = dir ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -280,7 +280,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = dir ) ] + # [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)"] @@ -292,7 +292,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = dir ) ] + # [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)"] @@ -305,7 +305,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = dir ) ] + # [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)"] @@ -319,7 +319,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = dir ) ] + # [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)"] @@ -334,35 +334,35 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( variadic , js_namespace = console , js_name = dirxml ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -373,7 +373,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = dirxml ) ] + # [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)"] @@ -385,7 +385,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = dirxml ) ] + # [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)"] @@ -398,7 +398,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = dirxml ) ] + # [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)"] @@ -412,7 +412,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = dirxml ) ] + # [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)"] @@ -427,35 +427,35 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( variadic , js_namespace = console , js_name = error ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -466,7 +466,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = error ) ] + # [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)"] @@ -478,7 +478,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = error ) ] + # [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)"] @@ -491,7 +491,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = error ) ] + # [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)"] @@ -505,7 +505,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = error ) ] + # [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)"] @@ -520,35 +520,35 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( variadic , js_namespace = console , js_name = exception ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -559,7 +559,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = exception ) ] + # [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)"] @@ -571,7 +571,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = exception ) ] + # [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)"] @@ -584,7 +584,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = exception ) ] + # [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)"] @@ -598,7 +598,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = exception ) ] + # [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)"] @@ -613,35 +613,35 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( variadic , js_namespace = console , js_name = group ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -652,7 +652,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = group ) ] + # [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)"] @@ -664,7 +664,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = group ) ] + # [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)"] @@ -677,7 +677,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = group ) ] + # [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)"] @@ -691,7 +691,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = group ) ] + # [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)"] @@ -706,28 +706,28 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( variadic , js_namespace = console , js_name = groupCollapsed ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -737,7 +737,7 @@ pub mod console { data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = groupCollapsed ) ] + # [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)"] @@ -748,7 +748,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = groupCollapsed ) ] + # [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)"] @@ -760,7 +760,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = groupCollapsed ) ] + # [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)"] @@ -773,7 +773,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = groupCollapsed ) ] + # [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)"] @@ -787,7 +787,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = groupCollapsed ) ] + # [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)"] @@ -802,42 +802,42 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = groupEnd ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -848,7 +848,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = info ) ] + # [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)"] @@ -860,7 +860,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = info ) ] + # [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)"] @@ -873,7 +873,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = info ) ] + # [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)"] @@ -887,7 +887,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = info ) ] + # [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)"] @@ -902,35 +902,35 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( variadic , js_namespace = console , js_name = log ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -941,7 +941,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = log ) ] + # [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)"] @@ -953,7 +953,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = log ) ] + # [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)"] @@ -966,7 +966,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = log ) ] + # [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)"] @@ -980,7 +980,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = log ) ] + # [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)"] @@ -995,35 +995,35 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( variadic , js_namespace = console , js_name = profile ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1034,7 +1034,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = profile ) ] + # [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)"] @@ -1046,7 +1046,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = profile ) ] + # [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)"] @@ -1059,7 +1059,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = profile ) ] + # [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)"] @@ -1073,7 +1073,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = profile ) ] + # [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)"] @@ -1088,35 +1088,35 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( variadic , js_namespace = console , js_name = profileEnd ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1127,7 +1127,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = profileEnd ) ] + # [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)"] @@ -1139,7 +1139,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = profileEnd ) ] + # [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)"] @@ -1152,7 +1152,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = profileEnd ) ] + # [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)"] @@ -1166,7 +1166,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = profileEnd ) ] + # [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)"] @@ -1181,35 +1181,35 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( variadic , js_namespace = console , js_name = table ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1220,7 +1220,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = table ) ] + # [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)"] @@ -1232,7 +1232,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = table ) ] + # [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)"] @@ -1245,7 +1245,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = table ) ] + # [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)"] @@ -1259,7 +1259,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = table ) ] + # [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)"] @@ -1274,63 +1274,63 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = 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(); - # [ wasm_bindgen ( js_namespace = console , js_name = 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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1341,7 +1341,7 @@ pub mod console { data_1: &::wasm_bindgen::JsValue, data_2: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = timeLog ) ] + # [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)"] @@ -1353,7 +1353,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = timeLog ) ] + # [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)"] @@ -1366,7 +1366,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = timeLog ) ] + # [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)"] @@ -1380,7 +1380,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = timeLog ) ] + # [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)"] @@ -1395,7 +1395,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = timeLog ) ] + # [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)"] @@ -1411,49 +1411,49 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = timeStamp ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1464,7 +1464,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = trace ) ] + # [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)"] @@ -1476,7 +1476,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = trace ) ] + # [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)"] @@ -1489,7 +1489,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = trace ) ] + # [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)"] @@ -1503,7 +1503,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = trace ) ] + # [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)"] @@ -1518,35 +1518,35 @@ pub mod console { data_6: &::wasm_bindgen::JsValue, data_7: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( variadic , js_namespace = console , js_name = warn ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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 ) ] + # [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)"] @@ -1557,7 +1557,7 @@ pub mod console { data_2: &::wasm_bindgen::JsValue, data_3: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = warn ) ] + # [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)"] @@ -1569,7 +1569,7 @@ pub mod console { data_3: &::wasm_bindgen::JsValue, data_4: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = warn ) ] + # [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)"] @@ -1582,7 +1582,7 @@ pub mod console { data_4: &::wasm_bindgen::JsValue, data_5: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = warn ) ] + # [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)"] @@ -1596,7 +1596,7 @@ pub mod console { data_5: &::wasm_bindgen::JsValue, data_6: &::wasm_bindgen::JsValue, ); - # [ wasm_bindgen ( js_namespace = console , js_name = warn ) ] + # [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)"] diff --git a/crates/web-sys/src/features/gen_css.rs b/crates/web-sys/src/features/gen_css.rs index 7b49168a39f..f18a5dad20f 100644 --- a/crates/web-sys/src/features/gen_css.rs +++ b/crates/web-sys/src/features/gen_css.rs @@ -4,21 +4,21 @@ pub mod css { use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - # [ wasm_bindgen ( js_namespace = CSS , js_name = escape ) ] + # [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 ) ] + # [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; - # [ wasm_bindgen ( catch , js_namespace = CSS , js_name = supports ) ] + # [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)"]