diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:57:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:57:31 +0000 |
commit | dc0db358abe19481e475e10c32149b53370f1a1c (patch) | |
tree | ab8ce99c4b255ce46f99ef402c27916055b899ee /vendor/web-sys/src/features | |
parent | Releasing progress-linux version 1.71.1+dfsg1-2~progress7.99u1. (diff) | |
download | rustc-dc0db358abe19481e475e10c32149b53370f1a1c.tar.xz rustc-dc0db358abe19481e475e10c32149b53370f1a1c.zip |
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/web-sys/src/features')
1567 files changed, 7785 insertions, 139 deletions
diff --git a/vendor/web-sys/src/features/gen_AbortController.rs b/vendor/web-sys/src/features/gen_AbortController.rs index 95776f74a..ff01ba37e 100644 --- a/vendor/web-sys/src/features/gen_AbortController.rs +++ b/vendor/web-sys/src/features/gen_AbortController.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AbortSignal.rs b/vendor/web-sys/src/features/gen_AbortSignal.rs index 081fa5c49..ecf05a7bd 100644 --- a/vendor/web-sys/src/features/gen_AbortSignal.rs +++ b/vendor/web-sys/src/features/gen_AbortSignal.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AddEventListenerOptions.rs b/vendor/web-sys/src/features/gen_AddEventListenerOptions.rs index c2de0cad6..11041cbb8 100644 --- a/vendor/web-sys/src/features/gen_AddEventListenerOptions.rs +++ b/vendor/web-sys/src/features/gen_AddEventListenerOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AesCbcParams.rs b/vendor/web-sys/src/features/gen_AesCbcParams.rs index 475d94981..9fba20f28 100644 --- a/vendor/web-sys/src/features/gen_AesCbcParams.rs +++ b/vendor/web-sys/src/features/gen_AesCbcParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AesCtrParams.rs b/vendor/web-sys/src/features/gen_AesCtrParams.rs index ec60d3fd4..0dbaad9e1 100644 --- a/vendor/web-sys/src/features/gen_AesCtrParams.rs +++ b/vendor/web-sys/src/features/gen_AesCtrParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AesDerivedKeyParams.rs b/vendor/web-sys/src/features/gen_AesDerivedKeyParams.rs index 46bcc59a4..7212fc603 100644 --- a/vendor/web-sys/src/features/gen_AesDerivedKeyParams.rs +++ b/vendor/web-sys/src/features/gen_AesDerivedKeyParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AesGcmParams.rs b/vendor/web-sys/src/features/gen_AesGcmParams.rs index 8f361d1f5..55199b097 100644 --- a/vendor/web-sys/src/features/gen_AesGcmParams.rs +++ b/vendor/web-sys/src/features/gen_AesGcmParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AesKeyAlgorithm.rs b/vendor/web-sys/src/features/gen_AesKeyAlgorithm.rs index 380782f05..fd55a3a4c 100644 --- a/vendor/web-sys/src/features/gen_AesKeyAlgorithm.rs +++ b/vendor/web-sys/src/features/gen_AesKeyAlgorithm.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AesKeyGenParams.rs b/vendor/web-sys/src/features/gen_AesKeyGenParams.rs index 016d2b88f..829e6f596 100644 --- a/vendor/web-sys/src/features/gen_AesKeyGenParams.rs +++ b/vendor/web-sys/src/features/gen_AesKeyGenParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Algorithm.rs b/vendor/web-sys/src/features/gen_Algorithm.rs index d0263e74f..93efed89e 100644 --- a/vendor/web-sys/src/features/gen_Algorithm.rs +++ b/vendor/web-sys/src/features/gen_Algorithm.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AlignSetting.rs b/vendor/web-sys/src/features/gen_AlignSetting.rs index b80070997..e47fce5f0 100644 --- a/vendor/web-sys/src/features/gen_AlignSetting.rs +++ b/vendor/web-sys/src/features/gen_AlignSetting.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `AlignSetting` enum."] diff --git a/vendor/web-sys/src/features/gen_AllowedBluetoothDevice.rs b/vendor/web-sys/src/features/gen_AllowedBluetoothDevice.rs index 82f734e99..c5d76814a 100644 --- a/vendor/web-sys/src/features/gen_AllowedBluetoothDevice.rs +++ b/vendor/web-sys/src/features/gen_AllowedBluetoothDevice.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_AllowedUsbDevice.rs b/vendor/web-sys/src/features/gen_AllowedUsbDevice.rs index b4b082f13..bb47031df 100644 --- a/vendor/web-sys/src/features/gen_AllowedUsbDevice.rs +++ b/vendor/web-sys/src/features/gen_AllowedUsbDevice.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_AlphaOption.rs b/vendor/web-sys/src/features/gen_AlphaOption.rs index 1984e555e..82dbef2c1 100644 --- a/vendor/web-sys/src/features/gen_AlphaOption.rs +++ b/vendor/web-sys/src/features/gen_AlphaOption.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AnalyserNode.rs b/vendor/web-sys/src/features/gen_AnalyserNode.rs index a659b628c..32c74dbc0 100644 --- a/vendor/web-sys/src/features/gen_AnalyserNode.rs +++ b/vendor/web-sys/src/features/gen_AnalyserNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AnalyserOptions.rs b/vendor/web-sys/src/features/gen_AnalyserOptions.rs index a5a73c278..48a2bf153 100644 --- a/vendor/web-sys/src/features/gen_AnalyserOptions.rs +++ b/vendor/web-sys/src/features/gen_AnalyserOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AngleInstancedArrays.rs b/vendor/web-sys/src/features/gen_AngleInstancedArrays.rs index 2fd99e723..930bdaa2c 100644 --- a/vendor/web-sys/src/features/gen_AngleInstancedArrays.rs +++ b/vendor/web-sys/src/features/gen_AngleInstancedArrays.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Animation.rs b/vendor/web-sys/src/features/gen_Animation.rs index 9862eab32..fa0944717 100644 --- a/vendor/web-sys/src/features/gen_Animation.rs +++ b/vendor/web-sys/src/features/gen_Animation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AnimationEffect.rs b/vendor/web-sys/src/features/gen_AnimationEffect.rs index b57dc8ba4..d631907ef 100644 --- a/vendor/web-sys/src/features/gen_AnimationEffect.rs +++ b/vendor/web-sys/src/features/gen_AnimationEffect.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AnimationEvent.rs b/vendor/web-sys/src/features/gen_AnimationEvent.rs index b18d8f91a..78a3d97c2 100644 --- a/vendor/web-sys/src/features/gen_AnimationEvent.rs +++ b/vendor/web-sys/src/features/gen_AnimationEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AnimationEventInit.rs b/vendor/web-sys/src/features/gen_AnimationEventInit.rs index 163a55b43..2d83b6eec 100644 --- a/vendor/web-sys/src/features/gen_AnimationEventInit.rs +++ b/vendor/web-sys/src/features/gen_AnimationEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AnimationPlayState.rs b/vendor/web-sys/src/features/gen_AnimationPlayState.rs index 690e5eee3..70fc25c40 100644 --- a/vendor/web-sys/src/features/gen_AnimationPlayState.rs +++ b/vendor/web-sys/src/features/gen_AnimationPlayState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `AnimationPlayState` enum."] diff --git a/vendor/web-sys/src/features/gen_AnimationPlaybackEvent.rs b/vendor/web-sys/src/features/gen_AnimationPlaybackEvent.rs index 336e49a06..4aa31d123 100644 --- a/vendor/web-sys/src/features/gen_AnimationPlaybackEvent.rs +++ b/vendor/web-sys/src/features/gen_AnimationPlaybackEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AnimationPlaybackEventInit.rs b/vendor/web-sys/src/features/gen_AnimationPlaybackEventInit.rs index 2cdaf0702..4b6b8f99f 100644 --- a/vendor/web-sys/src/features/gen_AnimationPlaybackEventInit.rs +++ b/vendor/web-sys/src/features/gen_AnimationPlaybackEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AnimationPropertyDetails.rs b/vendor/web-sys/src/features/gen_AnimationPropertyDetails.rs index 7cf81edd9..05280ee16 100644 --- a/vendor/web-sys/src/features/gen_AnimationPropertyDetails.rs +++ b/vendor/web-sys/src/features/gen_AnimationPropertyDetails.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AnimationPropertyValueDetails.rs b/vendor/web-sys/src/features/gen_AnimationPropertyValueDetails.rs index 71b218c37..6d96f6223 100644 --- a/vendor/web-sys/src/features/gen_AnimationPropertyValueDetails.rs +++ b/vendor/web-sys/src/features/gen_AnimationPropertyValueDetails.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AnimationTimeline.rs b/vendor/web-sys/src/features/gen_AnimationTimeline.rs index 33c3fed39..339333465 100644 --- a/vendor/web-sys/src/features/gen_AnimationTimeline.rs +++ b/vendor/web-sys/src/features/gen_AnimationTimeline.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AssignedNodesOptions.rs b/vendor/web-sys/src/features/gen_AssignedNodesOptions.rs index 69471ffaa..6c2b66d1e 100644 --- a/vendor/web-sys/src/features/gen_AssignedNodesOptions.rs +++ b/vendor/web-sys/src/features/gen_AssignedNodesOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AttestationConveyancePreference.rs b/vendor/web-sys/src/features/gen_AttestationConveyancePreference.rs index 28ea13c46..268fd4ad8 100644 --- a/vendor/web-sys/src/features/gen_AttestationConveyancePreference.rs +++ b/vendor/web-sys/src/features/gen_AttestationConveyancePreference.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `AttestationConveyancePreference` enum."] diff --git a/vendor/web-sys/src/features/gen_Attr.rs b/vendor/web-sys/src/features/gen_Attr.rs index 6948e2427..5ca630569 100644 --- a/vendor/web-sys/src/features/gen_Attr.rs +++ b/vendor/web-sys/src/features/gen_Attr.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AttributeNameValue.rs b/vendor/web-sys/src/features/gen_AttributeNameValue.rs index d2088a9ed..1f614d1d6 100644 --- a/vendor/web-sys/src/features/gen_AttributeNameValue.rs +++ b/vendor/web-sys/src/features/gen_AttributeNameValue.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioBuffer.rs b/vendor/web-sys/src/features/gen_AudioBuffer.rs index 5f350bc6f..d609a165f 100644 --- a/vendor/web-sys/src/features/gen_AudioBuffer.rs +++ b/vendor/web-sys/src/features/gen_AudioBuffer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioBufferOptions.rs b/vendor/web-sys/src/features/gen_AudioBufferOptions.rs index dfa7f46ed..7cb813215 100644 --- a/vendor/web-sys/src/features/gen_AudioBufferOptions.rs +++ b/vendor/web-sys/src/features/gen_AudioBufferOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioBufferSourceNode.rs b/vendor/web-sys/src/features/gen_AudioBufferSourceNode.rs index e6cd32e1a..4ca107011 100644 --- a/vendor/web-sys/src/features/gen_AudioBufferSourceNode.rs +++ b/vendor/web-sys/src/features/gen_AudioBufferSourceNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioBufferSourceOptions.rs b/vendor/web-sys/src/features/gen_AudioBufferSourceOptions.rs index e8a0f2f83..ff42b5066 100644 --- a/vendor/web-sys/src/features/gen_AudioBufferSourceOptions.rs +++ b/vendor/web-sys/src/features/gen_AudioBufferSourceOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioConfiguration.rs b/vendor/web-sys/src/features/gen_AudioConfiguration.rs index 600464d9b..9d6347dee 100644 --- a/vendor/web-sys/src/features/gen_AudioConfiguration.rs +++ b/vendor/web-sys/src/features/gen_AudioConfiguration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioContext.rs b/vendor/web-sys/src/features/gen_AudioContext.rs index 2fc35092c..313a03d5f 100644 --- a/vendor/web-sys/src/features/gen_AudioContext.rs +++ b/vendor/web-sys/src/features/gen_AudioContext.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioContextOptions.rs b/vendor/web-sys/src/features/gen_AudioContextOptions.rs index 6583853de..514973d91 100644 --- a/vendor/web-sys/src/features/gen_AudioContextOptions.rs +++ b/vendor/web-sys/src/features/gen_AudioContextOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioContextState.rs b/vendor/web-sys/src/features/gen_AudioContextState.rs index 95ab2ca1a..4d15fd86a 100644 --- a/vendor/web-sys/src/features/gen_AudioContextState.rs +++ b/vendor/web-sys/src/features/gen_AudioContextState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `AudioContextState` enum."] diff --git a/vendor/web-sys/src/features/gen_AudioData.rs b/vendor/web-sys/src/features/gen_AudioData.rs index 0bd91f4a9..08875c779 100644 --- a/vendor/web-sys/src/features/gen_AudioData.rs +++ b/vendor/web-sys/src/features/gen_AudioData.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_AudioDataCopyToOptions.rs b/vendor/web-sys/src/features/gen_AudioDataCopyToOptions.rs index b1d3d8fbd..2d3132cba 100644 --- a/vendor/web-sys/src/features/gen_AudioDataCopyToOptions.rs +++ b/vendor/web-sys/src/features/gen_AudioDataCopyToOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_AudioDataInit.rs b/vendor/web-sys/src/features/gen_AudioDataInit.rs index 8a7dc9422..de51e8380 100644 --- a/vendor/web-sys/src/features/gen_AudioDataInit.rs +++ b/vendor/web-sys/src/features/gen_AudioDataInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_AudioDecoder.rs b/vendor/web-sys/src/features/gen_AudioDecoder.rs index b448dc2f1..709d0d1d0 100644 --- a/vendor/web-sys/src/features/gen_AudioDecoder.rs +++ b/vendor/web-sys/src/features/gen_AudioDecoder.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_AudioDecoderConfig.rs b/vendor/web-sys/src/features/gen_AudioDecoderConfig.rs index 2ba30966f..834141758 100644 --- a/vendor/web-sys/src/features/gen_AudioDecoderConfig.rs +++ b/vendor/web-sys/src/features/gen_AudioDecoderConfig.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_AudioDecoderInit.rs b/vendor/web-sys/src/features/gen_AudioDecoderInit.rs index d5149efd7..f1ee1a601 100644 --- a/vendor/web-sys/src/features/gen_AudioDecoderInit.rs +++ b/vendor/web-sys/src/features/gen_AudioDecoderInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_AudioDecoderSupport.rs b/vendor/web-sys/src/features/gen_AudioDecoderSupport.rs index 3640403e1..2f4b969fd 100644 --- a/vendor/web-sys/src/features/gen_AudioDecoderSupport.rs +++ b/vendor/web-sys/src/features/gen_AudioDecoderSupport.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_AudioDestinationNode.rs b/vendor/web-sys/src/features/gen_AudioDestinationNode.rs index a6f79cffc..ad06d3e42 100644 --- a/vendor/web-sys/src/features/gen_AudioDestinationNode.rs +++ b/vendor/web-sys/src/features/gen_AudioDestinationNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioEncoder.rs b/vendor/web-sys/src/features/gen_AudioEncoder.rs index 244e99707..9bd90317d 100644 --- a/vendor/web-sys/src/features/gen_AudioEncoder.rs +++ b/vendor/web-sys/src/features/gen_AudioEncoder.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_AudioEncoderConfig.rs b/vendor/web-sys/src/features/gen_AudioEncoderConfig.rs index 49194678c..5cc365558 100644 --- a/vendor/web-sys/src/features/gen_AudioEncoderConfig.rs +++ b/vendor/web-sys/src/features/gen_AudioEncoderConfig.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_AudioEncoderInit.rs b/vendor/web-sys/src/features/gen_AudioEncoderInit.rs index dba313bb4..074512257 100644 --- a/vendor/web-sys/src/features/gen_AudioEncoderInit.rs +++ b/vendor/web-sys/src/features/gen_AudioEncoderInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_AudioEncoderSupport.rs b/vendor/web-sys/src/features/gen_AudioEncoderSupport.rs index 0c7987bc6..1ca54d133 100644 --- a/vendor/web-sys/src/features/gen_AudioEncoderSupport.rs +++ b/vendor/web-sys/src/features/gen_AudioEncoderSupport.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_AudioListener.rs b/vendor/web-sys/src/features/gen_AudioListener.rs index 1dfdfbeea..baaa72c9c 100644 --- a/vendor/web-sys/src/features/gen_AudioListener.rs +++ b/vendor/web-sys/src/features/gen_AudioListener.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioNode.rs b/vendor/web-sys/src/features/gen_AudioNode.rs index bec7aa939..9d1ee99ca 100644 --- a/vendor/web-sys/src/features/gen_AudioNode.rs +++ b/vendor/web-sys/src/features/gen_AudioNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioNodeOptions.rs b/vendor/web-sys/src/features/gen_AudioNodeOptions.rs index b898ea3fe..369aba788 100644 --- a/vendor/web-sys/src/features/gen_AudioNodeOptions.rs +++ b/vendor/web-sys/src/features/gen_AudioNodeOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioParam.rs b/vendor/web-sys/src/features/gen_AudioParam.rs index 6cd0e1cd6..3cc533d2d 100644 --- a/vendor/web-sys/src/features/gen_AudioParam.rs +++ b/vendor/web-sys/src/features/gen_AudioParam.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioParamMap.rs b/vendor/web-sys/src/features/gen_AudioParamMap.rs index 043b0d1ff..9b7119878 100644 --- a/vendor/web-sys/src/features/gen_AudioParamMap.rs +++ b/vendor/web-sys/src/features/gen_AudioParamMap.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioProcessingEvent.rs b/vendor/web-sys/src/features/gen_AudioProcessingEvent.rs index e1ed4bb01..d9492d2b2 100644 --- a/vendor/web-sys/src/features/gen_AudioProcessingEvent.rs +++ b/vendor/web-sys/src/features/gen_AudioProcessingEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioSampleFormat.rs b/vendor/web-sys/src/features/gen_AudioSampleFormat.rs index 544998904..6c9c0d34f 100644 --- a/vendor/web-sys/src/features/gen_AudioSampleFormat.rs +++ b/vendor/web-sys/src/features/gen_AudioSampleFormat.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioScheduledSourceNode.rs b/vendor/web-sys/src/features/gen_AudioScheduledSourceNode.rs index 3d7644e12..949c5853b 100644 --- a/vendor/web-sys/src/features/gen_AudioScheduledSourceNode.rs +++ b/vendor/web-sys/src/features/gen_AudioScheduledSourceNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioStreamTrack.rs b/vendor/web-sys/src/features/gen_AudioStreamTrack.rs index 3c6eed631..20308c8c7 100644 --- a/vendor/web-sys/src/features/gen_AudioStreamTrack.rs +++ b/vendor/web-sys/src/features/gen_AudioStreamTrack.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioTrack.rs b/vendor/web-sys/src/features/gen_AudioTrack.rs index 7e1c9600d..7b04ddd0c 100644 --- a/vendor/web-sys/src/features/gen_AudioTrack.rs +++ b/vendor/web-sys/src/features/gen_AudioTrack.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioTrackList.rs b/vendor/web-sys/src/features/gen_AudioTrackList.rs index 44632432c..fa75bfbd3 100644 --- a/vendor/web-sys/src/features/gen_AudioTrackList.rs +++ b/vendor/web-sys/src/features/gen_AudioTrackList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioWorklet.rs b/vendor/web-sys/src/features/gen_AudioWorklet.rs index c160c5004..42816b3e9 100644 --- a/vendor/web-sys/src/features/gen_AudioWorklet.rs +++ b/vendor/web-sys/src/features/gen_AudioWorklet.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioWorkletGlobalScope.rs b/vendor/web-sys/src/features/gen_AudioWorkletGlobalScope.rs index 4057aeaa1..4e899fd29 100644 --- a/vendor/web-sys/src/features/gen_AudioWorkletGlobalScope.rs +++ b/vendor/web-sys/src/features/gen_AudioWorkletGlobalScope.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioWorkletNode.rs b/vendor/web-sys/src/features/gen_AudioWorkletNode.rs index 989bab544..481828929 100644 --- a/vendor/web-sys/src/features/gen_AudioWorkletNode.rs +++ b/vendor/web-sys/src/features/gen_AudioWorkletNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioWorkletNodeOptions.rs b/vendor/web-sys/src/features/gen_AudioWorkletNodeOptions.rs index e97330a36..99db4aa1d 100644 --- a/vendor/web-sys/src/features/gen_AudioWorkletNodeOptions.rs +++ b/vendor/web-sys/src/features/gen_AudioWorkletNodeOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AudioWorkletProcessor.rs b/vendor/web-sys/src/features/gen_AudioWorkletProcessor.rs index 8a537cd1a..eb5d971c8 100644 --- a/vendor/web-sys/src/features/gen_AudioWorkletProcessor.rs +++ b/vendor/web-sys/src/features/gen_AudioWorkletProcessor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientInputs.rs b/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientInputs.rs index cde43d20c..24237c5bb 100644 --- a/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientInputs.rs +++ b/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientInputs.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientOutputs.rs b/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientOutputs.rs index 4b59b3214..e2e038654 100644 --- a/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientOutputs.rs +++ b/vendor/web-sys/src/features/gen_AuthenticationExtensionsClientOutputs.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AuthenticatorAssertionResponse.rs b/vendor/web-sys/src/features/gen_AuthenticatorAssertionResponse.rs index dd6e10e7f..0969f46bf 100644 --- a/vendor/web-sys/src/features/gen_AuthenticatorAssertionResponse.rs +++ b/vendor/web-sys/src/features/gen_AuthenticatorAssertionResponse.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AuthenticatorAttachment.rs b/vendor/web-sys/src/features/gen_AuthenticatorAttachment.rs index f0776410d..1ba36251e 100644 --- a/vendor/web-sys/src/features/gen_AuthenticatorAttachment.rs +++ b/vendor/web-sys/src/features/gen_AuthenticatorAttachment.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `AuthenticatorAttachment` enum."] diff --git a/vendor/web-sys/src/features/gen_AuthenticatorAttestationResponse.rs b/vendor/web-sys/src/features/gen_AuthenticatorAttestationResponse.rs index 364ebc23b..97a826108 100644 --- a/vendor/web-sys/src/features/gen_AuthenticatorAttestationResponse.rs +++ b/vendor/web-sys/src/features/gen_AuthenticatorAttestationResponse.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AuthenticatorResponse.rs b/vendor/web-sys/src/features/gen_AuthenticatorResponse.rs index 2aa5468b2..0144e6d96 100644 --- a/vendor/web-sys/src/features/gen_AuthenticatorResponse.rs +++ b/vendor/web-sys/src/features/gen_AuthenticatorResponse.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AuthenticatorSelectionCriteria.rs b/vendor/web-sys/src/features/gen_AuthenticatorSelectionCriteria.rs index 1e4b5e900..a7bc5c5ab 100644 --- a/vendor/web-sys/src/features/gen_AuthenticatorSelectionCriteria.rs +++ b/vendor/web-sys/src/features/gen_AuthenticatorSelectionCriteria.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_AuthenticatorTransport.rs b/vendor/web-sys/src/features/gen_AuthenticatorTransport.rs index edafe5e11..2e1b2579c 100644 --- a/vendor/web-sys/src/features/gen_AuthenticatorTransport.rs +++ b/vendor/web-sys/src/features/gen_AuthenticatorTransport.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `AuthenticatorTransport` enum."] diff --git a/vendor/web-sys/src/features/gen_AutoKeyword.rs b/vendor/web-sys/src/features/gen_AutoKeyword.rs index d45de7a41..3ee39ad33 100644 --- a/vendor/web-sys/src/features/gen_AutoKeyword.rs +++ b/vendor/web-sys/src/features/gen_AutoKeyword.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `AutoKeyword` enum."] diff --git a/vendor/web-sys/src/features/gen_AutocompleteInfo.rs b/vendor/web-sys/src/features/gen_AutocompleteInfo.rs index 42150b51b..a87e5213e 100644 --- a/vendor/web-sys/src/features/gen_AutocompleteInfo.rs +++ b/vendor/web-sys/src/features/gen_AutocompleteInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BarProp.rs b/vendor/web-sys/src/features/gen_BarProp.rs index de029dcbc..4917e7e08 100644 --- a/vendor/web-sys/src/features/gen_BarProp.rs +++ b/vendor/web-sys/src/features/gen_BarProp.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BaseAudioContext.rs b/vendor/web-sys/src/features/gen_BaseAudioContext.rs index 9f18ee241..73fbefabb 100644 --- a/vendor/web-sys/src/features/gen_BaseAudioContext.rs +++ b/vendor/web-sys/src/features/gen_BaseAudioContext.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BaseComputedKeyframe.rs b/vendor/web-sys/src/features/gen_BaseComputedKeyframe.rs index eba64eee2..8a91e92ff 100644 --- a/vendor/web-sys/src/features/gen_BaseComputedKeyframe.rs +++ b/vendor/web-sys/src/features/gen_BaseComputedKeyframe.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BaseKeyframe.rs b/vendor/web-sys/src/features/gen_BaseKeyframe.rs index aef901284..692a8fc28 100644 --- a/vendor/web-sys/src/features/gen_BaseKeyframe.rs +++ b/vendor/web-sys/src/features/gen_BaseKeyframe.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BasePropertyIndexedKeyframe.rs b/vendor/web-sys/src/features/gen_BasePropertyIndexedKeyframe.rs index b6dbdf025..38eebc981 100644 --- a/vendor/web-sys/src/features/gen_BasePropertyIndexedKeyframe.rs +++ b/vendor/web-sys/src/features/gen_BasePropertyIndexedKeyframe.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BasicCardRequest.rs b/vendor/web-sys/src/features/gen_BasicCardRequest.rs index a0e60aa8c..6b029a46b 100644 --- a/vendor/web-sys/src/features/gen_BasicCardRequest.rs +++ b/vendor/web-sys/src/features/gen_BasicCardRequest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BasicCardResponse.rs b/vendor/web-sys/src/features/gen_BasicCardResponse.rs index b005d718c..1341341ab 100644 --- a/vendor/web-sys/src/features/gen_BasicCardResponse.rs +++ b/vendor/web-sys/src/features/gen_BasicCardResponse.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BasicCardType.rs b/vendor/web-sys/src/features/gen_BasicCardType.rs index 2a7b1c7be..87d45224e 100644 --- a/vendor/web-sys/src/features/gen_BasicCardType.rs +++ b/vendor/web-sys/src/features/gen_BasicCardType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `BasicCardType` enum."] diff --git a/vendor/web-sys/src/features/gen_BatteryManager.rs b/vendor/web-sys/src/features/gen_BatteryManager.rs index 1098d5c1f..2185efb51 100644 --- a/vendor/web-sys/src/features/gen_BatteryManager.rs +++ b/vendor/web-sys/src/features/gen_BatteryManager.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BeforeUnloadEvent.rs b/vendor/web-sys/src/features/gen_BeforeUnloadEvent.rs index 981323ed0..c5392a6e8 100644 --- a/vendor/web-sys/src/features/gen_BeforeUnloadEvent.rs +++ b/vendor/web-sys/src/features/gen_BeforeUnloadEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BinaryType.rs b/vendor/web-sys/src/features/gen_BinaryType.rs index d7ee13baf..aa7ab231d 100644 --- a/vendor/web-sys/src/features/gen_BinaryType.rs +++ b/vendor/web-sys/src/features/gen_BinaryType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `BinaryType` enum."] diff --git a/vendor/web-sys/src/features/gen_BiquadFilterNode.rs b/vendor/web-sys/src/features/gen_BiquadFilterNode.rs index 5c0dd01b7..a83d82768 100644 --- a/vendor/web-sys/src/features/gen_BiquadFilterNode.rs +++ b/vendor/web-sys/src/features/gen_BiquadFilterNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BiquadFilterOptions.rs b/vendor/web-sys/src/features/gen_BiquadFilterOptions.rs index af051cb2c..d8a4af290 100644 --- a/vendor/web-sys/src/features/gen_BiquadFilterOptions.rs +++ b/vendor/web-sys/src/features/gen_BiquadFilterOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BiquadFilterType.rs b/vendor/web-sys/src/features/gen_BiquadFilterType.rs index 21743d5f9..fbd455d26 100644 --- a/vendor/web-sys/src/features/gen_BiquadFilterType.rs +++ b/vendor/web-sys/src/features/gen_BiquadFilterType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `BiquadFilterType` enum."] diff --git a/vendor/web-sys/src/features/gen_Blob.rs b/vendor/web-sys/src/features/gen_Blob.rs index 3300b57d6..681bd089b 100644 --- a/vendor/web-sys/src/features/gen_Blob.rs +++ b/vendor/web-sys/src/features/gen_Blob.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BlobEvent.rs b/vendor/web-sys/src/features/gen_BlobEvent.rs index 2274dde0e..5fc56d5d9 100644 --- a/vendor/web-sys/src/features/gen_BlobEvent.rs +++ b/vendor/web-sys/src/features/gen_BlobEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BlobEventInit.rs b/vendor/web-sys/src/features/gen_BlobEventInit.rs index 10d381013..5abb9a6fb 100644 --- a/vendor/web-sys/src/features/gen_BlobEventInit.rs +++ b/vendor/web-sys/src/features/gen_BlobEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BlobPropertyBag.rs b/vendor/web-sys/src/features/gen_BlobPropertyBag.rs index e7d1f6f5a..80cf07ead 100644 --- a/vendor/web-sys/src/features/gen_BlobPropertyBag.rs +++ b/vendor/web-sys/src/features/gen_BlobPropertyBag.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BlockParsingOptions.rs b/vendor/web-sys/src/features/gen_BlockParsingOptions.rs index 9e0e4dbee..f12f03696 100644 --- a/vendor/web-sys/src/features/gen_BlockParsingOptions.rs +++ b/vendor/web-sys/src/features/gen_BlockParsingOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Bluetooth.rs b/vendor/web-sys/src/features/gen_Bluetooth.rs index 826ee01af..4bd36b23e 100644 --- a/vendor/web-sys/src/features/gen_Bluetooth.rs +++ b/vendor/web-sys/src/features/gen_Bluetooth.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothAdvertisingEvent.rs b/vendor/web-sys/src/features/gen_BluetoothAdvertisingEvent.rs index 5919467c2..1bb43d7d2 100644 --- a/vendor/web-sys/src/features/gen_BluetoothAdvertisingEvent.rs +++ b/vendor/web-sys/src/features/gen_BluetoothAdvertisingEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothAdvertisingEventInit.rs b/vendor/web-sys/src/features/gen_BluetoothAdvertisingEventInit.rs index cee141adc..4a1bf8b5e 100644 --- a/vendor/web-sys/src/features/gen_BluetoothAdvertisingEventInit.rs +++ b/vendor/web-sys/src/features/gen_BluetoothAdvertisingEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothCharacteristicProperties.rs b/vendor/web-sys/src/features/gen_BluetoothCharacteristicProperties.rs index 0c301b030..3105c4399 100644 --- a/vendor/web-sys/src/features/gen_BluetoothCharacteristicProperties.rs +++ b/vendor/web-sys/src/features/gen_BluetoothCharacteristicProperties.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothDataFilterInit.rs b/vendor/web-sys/src/features/gen_BluetoothDataFilterInit.rs index e8908b1c6..d98672467 100644 --- a/vendor/web-sys/src/features/gen_BluetoothDataFilterInit.rs +++ b/vendor/web-sys/src/features/gen_BluetoothDataFilterInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothDevice.rs b/vendor/web-sys/src/features/gen_BluetoothDevice.rs index 95dfae1a0..290effe3f 100644 --- a/vendor/web-sys/src/features/gen_BluetoothDevice.rs +++ b/vendor/web-sys/src/features/gen_BluetoothDevice.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothLeScanFilterInit.rs b/vendor/web-sys/src/features/gen_BluetoothLeScanFilterInit.rs index 4e8a4cb26..7c75bbcdc 100644 --- a/vendor/web-sys/src/features/gen_BluetoothLeScanFilterInit.rs +++ b/vendor/web-sys/src/features/gen_BluetoothLeScanFilterInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothManufacturerDataMap.rs b/vendor/web-sys/src/features/gen_BluetoothManufacturerDataMap.rs index 0c0aba9fa..4019b015c 100644 --- a/vendor/web-sys/src/features/gen_BluetoothManufacturerDataMap.rs +++ b/vendor/web-sys/src/features/gen_BluetoothManufacturerDataMap.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothPermissionDescriptor.rs b/vendor/web-sys/src/features/gen_BluetoothPermissionDescriptor.rs index 9f5f22af9..9ac1d174c 100644 --- a/vendor/web-sys/src/features/gen_BluetoothPermissionDescriptor.rs +++ b/vendor/web-sys/src/features/gen_BluetoothPermissionDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothPermissionResult.rs b/vendor/web-sys/src/features/gen_BluetoothPermissionResult.rs index 68bc1a244..036735a53 100644 --- a/vendor/web-sys/src/features/gen_BluetoothPermissionResult.rs +++ b/vendor/web-sys/src/features/gen_BluetoothPermissionResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothPermissionStorage.rs b/vendor/web-sys/src/features/gen_BluetoothPermissionStorage.rs index 28aab60d2..57190d3a9 100644 --- a/vendor/web-sys/src/features/gen_BluetoothPermissionStorage.rs +++ b/vendor/web-sys/src/features/gen_BluetoothPermissionStorage.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothRemoteGattCharacteristic.rs b/vendor/web-sys/src/features/gen_BluetoothRemoteGattCharacteristic.rs index 7858ac35a..bc6164995 100644 --- a/vendor/web-sys/src/features/gen_BluetoothRemoteGattCharacteristic.rs +++ b/vendor/web-sys/src/features/gen_BluetoothRemoteGattCharacteristic.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothRemoteGattDescriptor.rs b/vendor/web-sys/src/features/gen_BluetoothRemoteGattDescriptor.rs index 14375523a..0b264457c 100644 --- a/vendor/web-sys/src/features/gen_BluetoothRemoteGattDescriptor.rs +++ b/vendor/web-sys/src/features/gen_BluetoothRemoteGattDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothRemoteGattServer.rs b/vendor/web-sys/src/features/gen_BluetoothRemoteGattServer.rs index 76e8d833d..20c8dd604 100644 --- a/vendor/web-sys/src/features/gen_BluetoothRemoteGattServer.rs +++ b/vendor/web-sys/src/features/gen_BluetoothRemoteGattServer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothRemoteGattService.rs b/vendor/web-sys/src/features/gen_BluetoothRemoteGattService.rs index 852c88b1c..15dbccb8d 100644 --- a/vendor/web-sys/src/features/gen_BluetoothRemoteGattService.rs +++ b/vendor/web-sys/src/features/gen_BluetoothRemoteGattService.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothServiceDataMap.rs b/vendor/web-sys/src/features/gen_BluetoothServiceDataMap.rs index c378eb0bd..ebb918778 100644 --- a/vendor/web-sys/src/features/gen_BluetoothServiceDataMap.rs +++ b/vendor/web-sys/src/features/gen_BluetoothServiceDataMap.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BluetoothUuid.rs b/vendor/web-sys/src/features/gen_BluetoothUuid.rs index 65e150535..49e450141 100644 --- a/vendor/web-sys/src/features/gen_BluetoothUuid.rs +++ b/vendor/web-sys/src/features/gen_BluetoothUuid.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_BoxQuadOptions.rs b/vendor/web-sys/src/features/gen_BoxQuadOptions.rs index ce23e22fb..3b54ddb7b 100644 --- a/vendor/web-sys/src/features/gen_BoxQuadOptions.rs +++ b/vendor/web-sys/src/features/gen_BoxQuadOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BroadcastChannel.rs b/vendor/web-sys/src/features/gen_BroadcastChannel.rs index 1706b659e..5f607d07d 100644 --- a/vendor/web-sys/src/features/gen_BroadcastChannel.rs +++ b/vendor/web-sys/src/features/gen_BroadcastChannel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BrowserElementDownloadOptions.rs b/vendor/web-sys/src/features/gen_BrowserElementDownloadOptions.rs index 73882917b..6f91e51e4 100644 --- a/vendor/web-sys/src/features/gen_BrowserElementDownloadOptions.rs +++ b/vendor/web-sys/src/features/gen_BrowserElementDownloadOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BrowserElementExecuteScriptOptions.rs b/vendor/web-sys/src/features/gen_BrowserElementExecuteScriptOptions.rs index 358360ca4..065a954cc 100644 --- a/vendor/web-sys/src/features/gen_BrowserElementExecuteScriptOptions.rs +++ b/vendor/web-sys/src/features/gen_BrowserElementExecuteScriptOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BrowserFeedWriter.rs b/vendor/web-sys/src/features/gen_BrowserFeedWriter.rs index 8e0ad3646..e1fb9ec08 100644 --- a/vendor/web-sys/src/features/gen_BrowserFeedWriter.rs +++ b/vendor/web-sys/src/features/gen_BrowserFeedWriter.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_BrowserFindCaseSensitivity.rs b/vendor/web-sys/src/features/gen_BrowserFindCaseSensitivity.rs index 8191347df..7e5ad4fdd 100644 --- a/vendor/web-sys/src/features/gen_BrowserFindCaseSensitivity.rs +++ b/vendor/web-sys/src/features/gen_BrowserFindCaseSensitivity.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `BrowserFindCaseSensitivity` enum."] diff --git a/vendor/web-sys/src/features/gen_BrowserFindDirection.rs b/vendor/web-sys/src/features/gen_BrowserFindDirection.rs index d5b8b4678..a45e63cbb 100644 --- a/vendor/web-sys/src/features/gen_BrowserFindDirection.rs +++ b/vendor/web-sys/src/features/gen_BrowserFindDirection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `BrowserFindDirection` enum."] diff --git a/vendor/web-sys/src/features/gen_ByteLengthQueuingStrategy.rs b/vendor/web-sys/src/features/gen_ByteLengthQueuingStrategy.rs index c29737f53..a35ddad34 100644 --- a/vendor/web-sys/src/features/gen_ByteLengthQueuingStrategy.rs +++ b/vendor/web-sys/src/features/gen_ByteLengthQueuingStrategy.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Cache.rs b/vendor/web-sys/src/features/gen_Cache.rs index 3526097c0..b28809a9a 100644 --- a/vendor/web-sys/src/features/gen_Cache.rs +++ b/vendor/web-sys/src/features/gen_Cache.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CacheBatchOperation.rs b/vendor/web-sys/src/features/gen_CacheBatchOperation.rs index 8caf88112..8f5a31d02 100644 --- a/vendor/web-sys/src/features/gen_CacheBatchOperation.rs +++ b/vendor/web-sys/src/features/gen_CacheBatchOperation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CacheQueryOptions.rs b/vendor/web-sys/src/features/gen_CacheQueryOptions.rs index 061fc4964..527080eb2 100644 --- a/vendor/web-sys/src/features/gen_CacheQueryOptions.rs +++ b/vendor/web-sys/src/features/gen_CacheQueryOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CacheStorage.rs b/vendor/web-sys/src/features/gen_CacheStorage.rs index 46e9a8b57..14a04d034 100644 --- a/vendor/web-sys/src/features/gen_CacheStorage.rs +++ b/vendor/web-sys/src/features/gen_CacheStorage.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CacheStorageNamespace.rs b/vendor/web-sys/src/features/gen_CacheStorageNamespace.rs index ace039c44..fd3ee2874 100644 --- a/vendor/web-sys/src/features/gen_CacheStorageNamespace.rs +++ b/vendor/web-sys/src/features/gen_CacheStorageNamespace.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `CacheStorageNamespace` enum."] diff --git a/vendor/web-sys/src/features/gen_CanvasCaptureMediaStream.rs b/vendor/web-sys/src/features/gen_CanvasCaptureMediaStream.rs index 050555cda..73d0406aa 100644 --- a/vendor/web-sys/src/features/gen_CanvasCaptureMediaStream.rs +++ b/vendor/web-sys/src/features/gen_CanvasCaptureMediaStream.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CanvasCaptureMediaStreamTrack.rs b/vendor/web-sys/src/features/gen_CanvasCaptureMediaStreamTrack.rs new file mode 100644 index 000000000..55eb16525 --- /dev/null +++ b/vendor/web-sys/src/features/gen_CanvasCaptureMediaStreamTrack.rs @@ -0,0 +1,30 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = MediaStreamTrack , extends = EventTarget , extends = :: js_sys :: Object , js_name = CanvasCaptureMediaStreamTrack , typescript_type = "CanvasCaptureMediaStreamTrack")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `CanvasCaptureMediaStreamTrack` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStreamTrack)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasCaptureMediaStreamTrack`*"] + pub type CanvasCaptureMediaStreamTrack; + #[cfg(feature = "HtmlCanvasElement")] + # [wasm_bindgen (structural , method , getter , js_class = "CanvasCaptureMediaStreamTrack" , 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/CanvasCaptureMediaStreamTrack/canvas)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasCaptureMediaStreamTrack`, `HtmlCanvasElement`*"] + pub fn canvas(this: &CanvasCaptureMediaStreamTrack) -> HtmlCanvasElement; + # [wasm_bindgen (method , structural , js_class = "CanvasCaptureMediaStreamTrack" , js_name = requestFrame)] + #[doc = "The `requestFrame()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStreamTrack/requestFrame)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasCaptureMediaStreamTrack`*"] + pub fn request_frame(this: &CanvasCaptureMediaStreamTrack); +} diff --git a/vendor/web-sys/src/features/gen_CanvasGradient.rs b/vendor/web-sys/src/features/gen_CanvasGradient.rs index 007a39b71..0450067ab 100644 --- a/vendor/web-sys/src/features/gen_CanvasGradient.rs +++ b/vendor/web-sys/src/features/gen_CanvasGradient.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CanvasPattern.rs b/vendor/web-sys/src/features/gen_CanvasPattern.rs index 5ff06e260..bc939b0df 100644 --- a/vendor/web-sys/src/features/gen_CanvasPattern.rs +++ b/vendor/web-sys/src/features/gen_CanvasPattern.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs b/vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs index 886090b1d..335576870 100644 --- a/vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs +++ b/vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -1031,23 +1032,6 @@ extern "C" { dirty_width: f64, dirty_height: f64, ) -> Result<(), JsValue>; - # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = getLineDash)] - #[doc = "The `getLineDash()` method."] - #[doc = ""] - #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getLineDash)"] - #[doc = ""] - #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"] - pub fn get_line_dash(this: &CanvasRenderingContext2d) -> ::js_sys::Array; - # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = setLineDash)] - #[doc = "The `setLineDash()` method."] - #[doc = ""] - #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash)"] - #[doc = ""] - #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"] - pub fn set_line_dash( - this: &CanvasRenderingContext2d, - segments: &::wasm_bindgen::JsValue, - ) -> Result<(), JsValue>; # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = arc)] #[doc = "The `arc()` method."] #[doc = ""] @@ -1174,6 +1158,93 @@ extern "C" { #[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 (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"] + pub fn round_rect( + this: &CanvasRenderingContext2d, + x: f64, + y: f64, + w: f64, + h: f64, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"] + pub fn round_rect_with_f64( + this: &CanvasRenderingContext2d, + x: f64, + y: f64, + w: f64, + h: f64, + radii: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "DomPointInit")] + # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `DomPointInit`*"] + pub fn round_rect_with_dom_point_init( + this: &CanvasRenderingContext2d, + x: f64, + y: f64, + w: f64, + h: f64, + radii: &DomPointInit, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"] + pub fn round_rect_with_f64_sequence( + this: &CanvasRenderingContext2d, + x: f64, + y: f64, + w: f64, + h: f64, + radii: &::wasm_bindgen::JsValue, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"] + pub fn round_rect_with_dom_point_init_sequence( + this: &CanvasRenderingContext2d, + x: f64, + y: f64, + w: f64, + h: f64, + radii: &::wasm_bindgen::JsValue, + ) -> Result<(), JsValue>; + # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = getLineDash)] + #[doc = "The `getLineDash()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getLineDash)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"] + pub fn get_line_dash(this: &CanvasRenderingContext2d) -> ::js_sys::Array; + # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = setLineDash)] + #[doc = "The `setLineDash()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"] + pub fn set_line_dash( + this: &CanvasRenderingContext2d, + segments: &::wasm_bindgen::JsValue, + ) -> Result<(), JsValue>; # [wasm_bindgen (method , structural , js_class = "CanvasRenderingContext2D" , js_name = clearRect)] #[doc = "The `clearRect()` method."] #[doc = ""] diff --git a/vendor/web-sys/src/features/gen_CanvasWindingRule.rs b/vendor/web-sys/src/features/gen_CanvasWindingRule.rs index 35493d4d8..1ee94c14b 100644 --- a/vendor/web-sys/src/features/gen_CanvasWindingRule.rs +++ b/vendor/web-sys/src/features/gen_CanvasWindingRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `CanvasWindingRule` enum."] diff --git a/vendor/web-sys/src/features/gen_CaretChangedReason.rs b/vendor/web-sys/src/features/gen_CaretChangedReason.rs index 60d24f0d3..1782320d0 100644 --- a/vendor/web-sys/src/features/gen_CaretChangedReason.rs +++ b/vendor/web-sys/src/features/gen_CaretChangedReason.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `CaretChangedReason` enum."] diff --git a/vendor/web-sys/src/features/gen_CaretPosition.rs b/vendor/web-sys/src/features/gen_CaretPosition.rs index c6cfba2b4..f9e558bf7 100644 --- a/vendor/web-sys/src/features/gen_CaretPosition.rs +++ b/vendor/web-sys/src/features/gen_CaretPosition.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CaretStateChangedEventInit.rs b/vendor/web-sys/src/features/gen_CaretStateChangedEventInit.rs index 7a8015b58..cea0ebcd8 100644 --- a/vendor/web-sys/src/features/gen_CaretStateChangedEventInit.rs +++ b/vendor/web-sys/src/features/gen_CaretStateChangedEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CdataSection.rs b/vendor/web-sys/src/features/gen_CdataSection.rs index c47274668..a9b04ea3e 100644 --- a/vendor/web-sys/src/features/gen_CdataSection.rs +++ b/vendor/web-sys/src/features/gen_CdataSection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ChannelCountMode.rs b/vendor/web-sys/src/features/gen_ChannelCountMode.rs index f46463452..d80107400 100644 --- a/vendor/web-sys/src/features/gen_ChannelCountMode.rs +++ b/vendor/web-sys/src/features/gen_ChannelCountMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ChannelCountMode` enum."] diff --git a/vendor/web-sys/src/features/gen_ChannelInterpretation.rs b/vendor/web-sys/src/features/gen_ChannelInterpretation.rs index 2fe84632f..a45eeca27 100644 --- a/vendor/web-sys/src/features/gen_ChannelInterpretation.rs +++ b/vendor/web-sys/src/features/gen_ChannelInterpretation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ChannelInterpretation` enum."] diff --git a/vendor/web-sys/src/features/gen_ChannelMergerNode.rs b/vendor/web-sys/src/features/gen_ChannelMergerNode.rs index 0ce61ce18..3d53cc523 100644 --- a/vendor/web-sys/src/features/gen_ChannelMergerNode.rs +++ b/vendor/web-sys/src/features/gen_ChannelMergerNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ChannelMergerOptions.rs b/vendor/web-sys/src/features/gen_ChannelMergerOptions.rs index c259c8a66..314a2c24c 100644 --- a/vendor/web-sys/src/features/gen_ChannelMergerOptions.rs +++ b/vendor/web-sys/src/features/gen_ChannelMergerOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ChannelSplitterNode.rs b/vendor/web-sys/src/features/gen_ChannelSplitterNode.rs index c094aac41..21b52d481 100644 --- a/vendor/web-sys/src/features/gen_ChannelSplitterNode.rs +++ b/vendor/web-sys/src/features/gen_ChannelSplitterNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ChannelSplitterOptions.rs b/vendor/web-sys/src/features/gen_ChannelSplitterOptions.rs index 2c045ef4d..2dc888453 100644 --- a/vendor/web-sys/src/features/gen_ChannelSplitterOptions.rs +++ b/vendor/web-sys/src/features/gen_ChannelSplitterOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CharacterData.rs b/vendor/web-sys/src/features/gen_CharacterData.rs index 133163013..78820080b 100644 --- a/vendor/web-sys/src/features/gen_CharacterData.rs +++ b/vendor/web-sys/src/features/gen_CharacterData.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CheckerboardReason.rs b/vendor/web-sys/src/features/gen_CheckerboardReason.rs index a978a6c98..d8cbc534e 100644 --- a/vendor/web-sys/src/features/gen_CheckerboardReason.rs +++ b/vendor/web-sys/src/features/gen_CheckerboardReason.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `CheckerboardReason` enum."] diff --git a/vendor/web-sys/src/features/gen_CheckerboardReport.rs b/vendor/web-sys/src/features/gen_CheckerboardReport.rs index a79c8d18b..0e2f5c341 100644 --- a/vendor/web-sys/src/features/gen_CheckerboardReport.rs +++ b/vendor/web-sys/src/features/gen_CheckerboardReport.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CheckerboardReportService.rs b/vendor/web-sys/src/features/gen_CheckerboardReportService.rs index d5abcf81c..984b0999e 100644 --- a/vendor/web-sys/src/features/gen_CheckerboardReportService.rs +++ b/vendor/web-sys/src/features/gen_CheckerboardReportService.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ChromeFilePropertyBag.rs b/vendor/web-sys/src/features/gen_ChromeFilePropertyBag.rs index 0461954ca..234090cfd 100644 --- a/vendor/web-sys/src/features/gen_ChromeFilePropertyBag.rs +++ b/vendor/web-sys/src/features/gen_ChromeFilePropertyBag.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ChromeWorker.rs b/vendor/web-sys/src/features/gen_ChromeWorker.rs index 736f22561..f92cebbfa 100644 --- a/vendor/web-sys/src/features/gen_ChromeWorker.rs +++ b/vendor/web-sys/src/features/gen_ChromeWorker.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Client.rs b/vendor/web-sys/src/features/gen_Client.rs index ecf6a2aba..28af0c186 100644 --- a/vendor/web-sys/src/features/gen_Client.rs +++ b/vendor/web-sys/src/features/gen_Client.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ClientQueryOptions.rs b/vendor/web-sys/src/features/gen_ClientQueryOptions.rs index 84dbc077f..fdbb30dc4 100644 --- a/vendor/web-sys/src/features/gen_ClientQueryOptions.rs +++ b/vendor/web-sys/src/features/gen_ClientQueryOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ClientRectsAndTexts.rs b/vendor/web-sys/src/features/gen_ClientRectsAndTexts.rs index e8a8fec00..a063f0a56 100644 --- a/vendor/web-sys/src/features/gen_ClientRectsAndTexts.rs +++ b/vendor/web-sys/src/features/gen_ClientRectsAndTexts.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ClientType.rs b/vendor/web-sys/src/features/gen_ClientType.rs index fa617a529..43ea6b930 100644 --- a/vendor/web-sys/src/features/gen_ClientType.rs +++ b/vendor/web-sys/src/features/gen_ClientType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ClientType` enum."] diff --git a/vendor/web-sys/src/features/gen_Clients.rs b/vendor/web-sys/src/features/gen_Clients.rs index a33c001e4..30c05f499 100644 --- a/vendor/web-sys/src/features/gen_Clients.rs +++ b/vendor/web-sys/src/features/gen_Clients.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Clipboard.rs b/vendor/web-sys/src/features/gen_Clipboard.rs index b9029e3ad..66c456dda 100644 --- a/vendor/web-sys/src/features/gen_Clipboard.rs +++ b/vendor/web-sys/src/features/gen_Clipboard.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_ClipboardEvent.rs b/vendor/web-sys/src/features/gen_ClipboardEvent.rs index 38410d88d..18b46f634 100644 --- a/vendor/web-sys/src/features/gen_ClipboardEvent.rs +++ b/vendor/web-sys/src/features/gen_ClipboardEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_ClipboardEventInit.rs b/vendor/web-sys/src/features/gen_ClipboardEventInit.rs index 74290a80f..6bb0d8ab9 100644 --- a/vendor/web-sys/src/features/gen_ClipboardEventInit.rs +++ b/vendor/web-sys/src/features/gen_ClipboardEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_ClipboardItem.rs b/vendor/web-sys/src/features/gen_ClipboardItem.rs index ba3761296..435f1a474 100644 --- a/vendor/web-sys/src/features/gen_ClipboardItem.rs +++ b/vendor/web-sys/src/features/gen_ClipboardItem.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_ClipboardItemOptions.rs b/vendor/web-sys/src/features/gen_ClipboardItemOptions.rs index 00056db03..c83e7ae1e 100644 --- a/vendor/web-sys/src/features/gen_ClipboardItemOptions.rs +++ b/vendor/web-sys/src/features/gen_ClipboardItemOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_ClipboardPermissionDescriptor.rs b/vendor/web-sys/src/features/gen_ClipboardPermissionDescriptor.rs index 32568bb88..8028a269f 100644 --- a/vendor/web-sys/src/features/gen_ClipboardPermissionDescriptor.rs +++ b/vendor/web-sys/src/features/gen_ClipboardPermissionDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_CloseEvent.rs b/vendor/web-sys/src/features/gen_CloseEvent.rs index 0af95b5fb..5a4d40360 100644 --- a/vendor/web-sys/src/features/gen_CloseEvent.rs +++ b/vendor/web-sys/src/features/gen_CloseEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CloseEventInit.rs b/vendor/web-sys/src/features/gen_CloseEventInit.rs index c9125973f..f32e46ac0 100644 --- a/vendor/web-sys/src/features/gen_CloseEventInit.rs +++ b/vendor/web-sys/src/features/gen_CloseEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CodecState.rs b/vendor/web-sys/src/features/gen_CodecState.rs index 76b60e259..7648d53d1 100644 --- a/vendor/web-sys/src/features/gen_CodecState.rs +++ b/vendor/web-sys/src/features/gen_CodecState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CollectedClientData.rs b/vendor/web-sys/src/features/gen_CollectedClientData.rs index 6c06dfa76..19985910d 100644 --- a/vendor/web-sys/src/features/gen_CollectedClientData.rs +++ b/vendor/web-sys/src/features/gen_CollectedClientData.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ColorSpaceConversion.rs b/vendor/web-sys/src/features/gen_ColorSpaceConversion.rs index becd676d0..91409cd3c 100644 --- a/vendor/web-sys/src/features/gen_ColorSpaceConversion.rs +++ b/vendor/web-sys/src/features/gen_ColorSpaceConversion.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ColorSpaceConversion` enum."] diff --git a/vendor/web-sys/src/features/gen_Comment.rs b/vendor/web-sys/src/features/gen_Comment.rs index d061d9967..405c23fae 100644 --- a/vendor/web-sys/src/features/gen_Comment.rs +++ b/vendor/web-sys/src/features/gen_Comment.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CompositeOperation.rs b/vendor/web-sys/src/features/gen_CompositeOperation.rs index 97f603f07..246fc95ce 100644 --- a/vendor/web-sys/src/features/gen_CompositeOperation.rs +++ b/vendor/web-sys/src/features/gen_CompositeOperation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `CompositeOperation` enum."] diff --git a/vendor/web-sys/src/features/gen_CompositionEvent.rs b/vendor/web-sys/src/features/gen_CompositionEvent.rs index 550211e03..b68af4ec0 100644 --- a/vendor/web-sys/src/features/gen_CompositionEvent.rs +++ b/vendor/web-sys/src/features/gen_CompositionEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CompositionEventInit.rs b/vendor/web-sys/src/features/gen_CompositionEventInit.rs index 2c45e5fb5..d912089b0 100644 --- a/vendor/web-sys/src/features/gen_CompositionEventInit.rs +++ b/vendor/web-sys/src/features/gen_CompositionEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ComputedEffectTiming.rs b/vendor/web-sys/src/features/gen_ComputedEffectTiming.rs index 413540567..85ab85a00 100644 --- a/vendor/web-sys/src/features/gen_ComputedEffectTiming.rs +++ b/vendor/web-sys/src/features/gen_ComputedEffectTiming.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConnStatusDict.rs b/vendor/web-sys/src/features/gen_ConnStatusDict.rs index 64f8522f3..0a488ebb8 100644 --- a/vendor/web-sys/src/features/gen_ConnStatusDict.rs +++ b/vendor/web-sys/src/features/gen_ConnStatusDict.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConnectionType.rs b/vendor/web-sys/src/features/gen_ConnectionType.rs index 910915f72..559734947 100644 --- a/vendor/web-sys/src/features/gen_ConnectionType.rs +++ b/vendor/web-sys/src/features/gen_ConnectionType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ConnectionType` enum."] diff --git a/vendor/web-sys/src/features/gen_ConsoleCounter.rs b/vendor/web-sys/src/features/gen_ConsoleCounter.rs index 84afd5df0..e3a80a95e 100644 --- a/vendor/web-sys/src/features/gen_ConsoleCounter.rs +++ b/vendor/web-sys/src/features/gen_ConsoleCounter.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConsoleCounterError.rs b/vendor/web-sys/src/features/gen_ConsoleCounterError.rs index bfa25ad3d..91da438f7 100644 --- a/vendor/web-sys/src/features/gen_ConsoleCounterError.rs +++ b/vendor/web-sys/src/features/gen_ConsoleCounterError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConsoleEvent.rs b/vendor/web-sys/src/features/gen_ConsoleEvent.rs index a30cd3794..3f56778fc 100644 --- a/vendor/web-sys/src/features/gen_ConsoleEvent.rs +++ b/vendor/web-sys/src/features/gen_ConsoleEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConsoleInstance.rs b/vendor/web-sys/src/features/gen_ConsoleInstance.rs index c27a311d8..d50e1af1f 100644 --- a/vendor/web-sys/src/features/gen_ConsoleInstance.rs +++ b/vendor/web-sys/src/features/gen_ConsoleInstance.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConsoleInstanceOptions.rs b/vendor/web-sys/src/features/gen_ConsoleInstanceOptions.rs index 6a4f129d8..80bdfc54d 100644 --- a/vendor/web-sys/src/features/gen_ConsoleInstanceOptions.rs +++ b/vendor/web-sys/src/features/gen_ConsoleInstanceOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConsoleLevel.rs b/vendor/web-sys/src/features/gen_ConsoleLevel.rs index a60bbd0ef..fb7f6971c 100644 --- a/vendor/web-sys/src/features/gen_ConsoleLevel.rs +++ b/vendor/web-sys/src/features/gen_ConsoleLevel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ConsoleLevel` enum."] diff --git a/vendor/web-sys/src/features/gen_ConsoleLogLevel.rs b/vendor/web-sys/src/features/gen_ConsoleLogLevel.rs index 6d396e061..6946606d6 100644 --- a/vendor/web-sys/src/features/gen_ConsoleLogLevel.rs +++ b/vendor/web-sys/src/features/gen_ConsoleLogLevel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ConsoleLogLevel` enum."] diff --git a/vendor/web-sys/src/features/gen_ConsoleProfileEvent.rs b/vendor/web-sys/src/features/gen_ConsoleProfileEvent.rs index d1e267416..684c2de3e 100644 --- a/vendor/web-sys/src/features/gen_ConsoleProfileEvent.rs +++ b/vendor/web-sys/src/features/gen_ConsoleProfileEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConsoleStackEntry.rs b/vendor/web-sys/src/features/gen_ConsoleStackEntry.rs index b63d60b3c..65fef9ecf 100644 --- a/vendor/web-sys/src/features/gen_ConsoleStackEntry.rs +++ b/vendor/web-sys/src/features/gen_ConsoleStackEntry.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConsoleTimerError.rs b/vendor/web-sys/src/features/gen_ConsoleTimerError.rs index dacab00b7..2ad058bec 100644 --- a/vendor/web-sys/src/features/gen_ConsoleTimerError.rs +++ b/vendor/web-sys/src/features/gen_ConsoleTimerError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConsoleTimerLogOrEnd.rs b/vendor/web-sys/src/features/gen_ConsoleTimerLogOrEnd.rs index 3784b676f..471a92f7c 100644 --- a/vendor/web-sys/src/features/gen_ConsoleTimerLogOrEnd.rs +++ b/vendor/web-sys/src/features/gen_ConsoleTimerLogOrEnd.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConsoleTimerStart.rs b/vendor/web-sys/src/features/gen_ConsoleTimerStart.rs index 4e500e410..f41896190 100644 --- a/vendor/web-sys/src/features/gen_ConsoleTimerStart.rs +++ b/vendor/web-sys/src/features/gen_ConsoleTimerStart.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConstantSourceNode.rs b/vendor/web-sys/src/features/gen_ConstantSourceNode.rs index 5649d044d..d4e25d9d1 100644 --- a/vendor/web-sys/src/features/gen_ConstantSourceNode.rs +++ b/vendor/web-sys/src/features/gen_ConstantSourceNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConstantSourceOptions.rs b/vendor/web-sys/src/features/gen_ConstantSourceOptions.rs index f93dcb84a..852e2dad9 100644 --- a/vendor/web-sys/src/features/gen_ConstantSourceOptions.rs +++ b/vendor/web-sys/src/features/gen_ConstantSourceOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConstrainBooleanParameters.rs b/vendor/web-sys/src/features/gen_ConstrainBooleanParameters.rs index 17901cfa9..8bffa1438 100644 --- a/vendor/web-sys/src/features/gen_ConstrainBooleanParameters.rs +++ b/vendor/web-sys/src/features/gen_ConstrainBooleanParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConstrainDomStringParameters.rs b/vendor/web-sys/src/features/gen_ConstrainDomStringParameters.rs index 13b7a173c..e43df4782 100644 --- a/vendor/web-sys/src/features/gen_ConstrainDomStringParameters.rs +++ b/vendor/web-sys/src/features/gen_ConstrainDomStringParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConstrainDoubleRange.rs b/vendor/web-sys/src/features/gen_ConstrainDoubleRange.rs index 446be61e7..777a98149 100644 --- a/vendor/web-sys/src/features/gen_ConstrainDoubleRange.rs +++ b/vendor/web-sys/src/features/gen_ConstrainDoubleRange.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConstrainLongRange.rs b/vendor/web-sys/src/features/gen_ConstrainLongRange.rs index 668dbe338..c3a79853c 100644 --- a/vendor/web-sys/src/features/gen_ConstrainLongRange.rs +++ b/vendor/web-sys/src/features/gen_ConstrainLongRange.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ContextAttributes2d.rs b/vendor/web-sys/src/features/gen_ContextAttributes2d.rs index fd322265a..9bb0cf107 100644 --- a/vendor/web-sys/src/features/gen_ContextAttributes2d.rs +++ b/vendor/web-sys/src/features/gen_ContextAttributes2d.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConvertCoordinateOptions.rs b/vendor/web-sys/src/features/gen_ConvertCoordinateOptions.rs index 9578f2b6b..8020dbabe 100644 --- a/vendor/web-sys/src/features/gen_ConvertCoordinateOptions.rs +++ b/vendor/web-sys/src/features/gen_ConvertCoordinateOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConvolverNode.rs b/vendor/web-sys/src/features/gen_ConvolverNode.rs index 0974b8a6e..69e25a42b 100644 --- a/vendor/web-sys/src/features/gen_ConvolverNode.rs +++ b/vendor/web-sys/src/features/gen_ConvolverNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ConvolverOptions.rs b/vendor/web-sys/src/features/gen_ConvolverOptions.rs index dc895baf5..77090404b 100644 --- a/vendor/web-sys/src/features/gen_ConvolverOptions.rs +++ b/vendor/web-sys/src/features/gen_ConvolverOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Coordinates.rs b/vendor/web-sys/src/features/gen_Coordinates.rs index 10850a2d3..ef92e0b0f 100644 --- a/vendor/web-sys/src/features/gen_Coordinates.rs +++ b/vendor/web-sys/src/features/gen_Coordinates.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CountQueuingStrategy.rs b/vendor/web-sys/src/features/gen_CountQueuingStrategy.rs index 779ba5b5b..2f3373e5b 100644 --- a/vendor/web-sys/src/features/gen_CountQueuingStrategy.rs +++ b/vendor/web-sys/src/features/gen_CountQueuingStrategy.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Credential.rs b/vendor/web-sys/src/features/gen_Credential.rs index 699f5eeb3..3df07adfc 100644 --- a/vendor/web-sys/src/features/gen_Credential.rs +++ b/vendor/web-sys/src/features/gen_Credential.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CredentialCreationOptions.rs b/vendor/web-sys/src/features/gen_CredentialCreationOptions.rs index 8c9958c14..d57ebd3c6 100644 --- a/vendor/web-sys/src/features/gen_CredentialCreationOptions.rs +++ b/vendor/web-sys/src/features/gen_CredentialCreationOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CredentialRequestOptions.rs b/vendor/web-sys/src/features/gen_CredentialRequestOptions.rs index 61537f7b8..cf44865e7 100644 --- a/vendor/web-sys/src/features/gen_CredentialRequestOptions.rs +++ b/vendor/web-sys/src/features/gen_CredentialRequestOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CredentialsContainer.rs b/vendor/web-sys/src/features/gen_CredentialsContainer.rs index fb008e968..13d70deee 100644 --- a/vendor/web-sys/src/features/gen_CredentialsContainer.rs +++ b/vendor/web-sys/src/features/gen_CredentialsContainer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Crypto.rs b/vendor/web-sys/src/features/gen_Crypto.rs index 4c46bfd15..723636ffc 100644 --- a/vendor/web-sys/src/features/gen_Crypto.rs +++ b/vendor/web-sys/src/features/gen_Crypto.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CryptoKey.rs b/vendor/web-sys/src/features/gen_CryptoKey.rs index 7e8773eb1..d040b14e9 100644 --- a/vendor/web-sys/src/features/gen_CryptoKey.rs +++ b/vendor/web-sys/src/features/gen_CryptoKey.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CryptoKeyPair.rs b/vendor/web-sys/src/features/gen_CryptoKeyPair.rs index 5026e6398..9f04bd181 100644 --- a/vendor/web-sys/src/features/gen_CryptoKeyPair.rs +++ b/vendor/web-sys/src/features/gen_CryptoKeyPair.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Csp.rs b/vendor/web-sys/src/features/gen_Csp.rs index 0fbea97c9..5fb46ed9c 100644 --- a/vendor/web-sys/src/features/gen_Csp.rs +++ b/vendor/web-sys/src/features/gen_Csp.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CspPolicies.rs b/vendor/web-sys/src/features/gen_CspPolicies.rs index 96d4ad533..2ee8221ac 100644 --- a/vendor/web-sys/src/features/gen_CspPolicies.rs +++ b/vendor/web-sys/src/features/gen_CspPolicies.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CspReport.rs b/vendor/web-sys/src/features/gen_CspReport.rs index 6938a2d32..77ef67e05 100644 --- a/vendor/web-sys/src/features/gen_CspReport.rs +++ b/vendor/web-sys/src/features/gen_CspReport.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CspReportProperties.rs b/vendor/web-sys/src/features/gen_CspReportProperties.rs index c20edf212..8b7cb0056 100644 --- a/vendor/web-sys/src/features/gen_CspReportProperties.rs +++ b/vendor/web-sys/src/features/gen_CspReportProperties.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssAnimation.rs b/vendor/web-sys/src/features/gen_CssAnimation.rs index ea0df7c62..8ea866137 100644 --- a/vendor/web-sys/src/features/gen_CssAnimation.rs +++ b/vendor/web-sys/src/features/gen_CssAnimation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssBoxType.rs b/vendor/web-sys/src/features/gen_CssBoxType.rs index c72b966f2..68b285f88 100644 --- a/vendor/web-sys/src/features/gen_CssBoxType.rs +++ b/vendor/web-sys/src/features/gen_CssBoxType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `CssBoxType` enum."] diff --git a/vendor/web-sys/src/features/gen_CssConditionRule.rs b/vendor/web-sys/src/features/gen_CssConditionRule.rs index a08a051d6..caf51a6bf 100644 --- a/vendor/web-sys/src/features/gen_CssConditionRule.rs +++ b/vendor/web-sys/src/features/gen_CssConditionRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssCounterStyleRule.rs b/vendor/web-sys/src/features/gen_CssCounterStyleRule.rs index 99a4e127c..905e57b54 100644 --- a/vendor/web-sys/src/features/gen_CssCounterStyleRule.rs +++ b/vendor/web-sys/src/features/gen_CssCounterStyleRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssFontFaceRule.rs b/vendor/web-sys/src/features/gen_CssFontFaceRule.rs index b92001157..0492381d9 100644 --- a/vendor/web-sys/src/features/gen_CssFontFaceRule.rs +++ b/vendor/web-sys/src/features/gen_CssFontFaceRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssFontFeatureValuesRule.rs b/vendor/web-sys/src/features/gen_CssFontFeatureValuesRule.rs index 976e1479b..fdbdebb4a 100644 --- a/vendor/web-sys/src/features/gen_CssFontFeatureValuesRule.rs +++ b/vendor/web-sys/src/features/gen_CssFontFeatureValuesRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssGroupingRule.rs b/vendor/web-sys/src/features/gen_CssGroupingRule.rs index 9c0fe854d..c9a97ca13 100644 --- a/vendor/web-sys/src/features/gen_CssGroupingRule.rs +++ b/vendor/web-sys/src/features/gen_CssGroupingRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssImportRule.rs b/vendor/web-sys/src/features/gen_CssImportRule.rs index 11ad6011d..729cbdeb1 100644 --- a/vendor/web-sys/src/features/gen_CssImportRule.rs +++ b/vendor/web-sys/src/features/gen_CssImportRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssKeyframeRule.rs b/vendor/web-sys/src/features/gen_CssKeyframeRule.rs index 547d97b90..3b9039e79 100644 --- a/vendor/web-sys/src/features/gen_CssKeyframeRule.rs +++ b/vendor/web-sys/src/features/gen_CssKeyframeRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssKeyframesRule.rs b/vendor/web-sys/src/features/gen_CssKeyframesRule.rs index 27c636c8e..f71fbc641 100644 --- a/vendor/web-sys/src/features/gen_CssKeyframesRule.rs +++ b/vendor/web-sys/src/features/gen_CssKeyframesRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssMediaRule.rs b/vendor/web-sys/src/features/gen_CssMediaRule.rs index fa3b215f7..adbab8f18 100644 --- a/vendor/web-sys/src/features/gen_CssMediaRule.rs +++ b/vendor/web-sys/src/features/gen_CssMediaRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssNamespaceRule.rs b/vendor/web-sys/src/features/gen_CssNamespaceRule.rs index 3fce67660..b3b14b21c 100644 --- a/vendor/web-sys/src/features/gen_CssNamespaceRule.rs +++ b/vendor/web-sys/src/features/gen_CssNamespaceRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssPageRule.rs b/vendor/web-sys/src/features/gen_CssPageRule.rs index d9441f512..eb3a7b550 100644 --- a/vendor/web-sys/src/features/gen_CssPageRule.rs +++ b/vendor/web-sys/src/features/gen_CssPageRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssPseudoElement.rs b/vendor/web-sys/src/features/gen_CssPseudoElement.rs index 63b3f543e..ccd8c3a9b 100644 --- a/vendor/web-sys/src/features/gen_CssPseudoElement.rs +++ b/vendor/web-sys/src/features/gen_CssPseudoElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -26,4 +27,74 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`, `Element`*"] pub fn parent_element(this: &CssPseudoElement) -> Element; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "Animation")] + # [wasm_bindgen (method , structural , js_class = "CSSPseudoElement" , js_name = animate)] + #[doc = "The `animate()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/animate)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Animation`, `CssPseudoElement`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn animate(this: &CssPseudoElement, keyframes: Option<&::js_sys::Object>) -> Animation; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "Animation")] + # [wasm_bindgen (method , structural , js_class = "CSSPseudoElement" , js_name = animate)] + #[doc = "The `animate()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/animate)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Animation`, `CssPseudoElement`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn animate_with_f64( + this: &CssPseudoElement, + keyframes: Option<&::js_sys::Object>, + options: f64, + ) -> Animation; + #[cfg(web_sys_unstable_apis)] + #[cfg(all(feature = "Animation", feature = "KeyframeAnimationOptions",))] + # [wasm_bindgen (method , structural , js_class = "CSSPseudoElement" , js_name = animate)] + #[doc = "The `animate()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/animate)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Animation`, `CssPseudoElement`, `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn animate_with_keyframe_animation_options( + this: &CssPseudoElement, + keyframes: Option<&::js_sys::Object>, + options: &KeyframeAnimationOptions, + ) -> Animation; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "CSSPseudoElement" , js_name = getAnimations)] + #[doc = "The `getAnimations()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/getAnimations)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_animations(this: &CssPseudoElement) -> ::js_sys::Array; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "GetAnimationsOptions")] + # [wasm_bindgen (method , structural , js_class = "CSSPseudoElement" , js_name = getAnimations)] + #[doc = "The `getAnimations()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/getAnimations)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`, `GetAnimationsOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_animations_with_options( + this: &CssPseudoElement, + options: &GetAnimationsOptions, + ) -> ::js_sys::Array; } diff --git a/vendor/web-sys/src/features/gen_CssRule.rs b/vendor/web-sys/src/features/gen_CssRule.rs index 801667eb1..07c5ac757 100644 --- a/vendor/web-sys/src/features/gen_CssRule.rs +++ b/vendor/web-sys/src/features/gen_CssRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssRuleList.rs b/vendor/web-sys/src/features/gen_CssRuleList.rs index 1dd778fa0..30c75ca7d 100644 --- a/vendor/web-sys/src/features/gen_CssRuleList.rs +++ b/vendor/web-sys/src/features/gen_CssRuleList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssStyleDeclaration.rs b/vendor/web-sys/src/features/gen_CssStyleDeclaration.rs index c22016a03..a951f065a 100644 --- a/vendor/web-sys/src/features/gen_CssStyleDeclaration.rs +++ b/vendor/web-sys/src/features/gen_CssStyleDeclaration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssStyleRule.rs b/vendor/web-sys/src/features/gen_CssStyleRule.rs index c244a2af7..09caa5151 100644 --- a/vendor/web-sys/src/features/gen_CssStyleRule.rs +++ b/vendor/web-sys/src/features/gen_CssStyleRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssStyleSheet.rs b/vendor/web-sys/src/features/gen_CssStyleSheet.rs index 9ffbb61bd..b8a1044f5 100644 --- a/vendor/web-sys/src/features/gen_CssStyleSheet.rs +++ b/vendor/web-sys/src/features/gen_CssStyleSheet.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssStyleSheetParsingMode.rs b/vendor/web-sys/src/features/gen_CssStyleSheetParsingMode.rs index 9db3f6054..8c721650b 100644 --- a/vendor/web-sys/src/features/gen_CssStyleSheetParsingMode.rs +++ b/vendor/web-sys/src/features/gen_CssStyleSheetParsingMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `CssStyleSheetParsingMode` enum."] diff --git a/vendor/web-sys/src/features/gen_CssSupportsRule.rs b/vendor/web-sys/src/features/gen_CssSupportsRule.rs index 13c879bf9..91fad0214 100644 --- a/vendor/web-sys/src/features/gen_CssSupportsRule.rs +++ b/vendor/web-sys/src/features/gen_CssSupportsRule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CssTransition.rs b/vendor/web-sys/src/features/gen_CssTransition.rs index 6a222ecde..65844e9b6 100644 --- a/vendor/web-sys/src/features/gen_CssTransition.rs +++ b/vendor/web-sys/src/features/gen_CssTransition.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CustomElementRegistry.rs b/vendor/web-sys/src/features/gen_CustomElementRegistry.rs index 651968f7f..d811e6aa5 100644 --- a/vendor/web-sys/src/features/gen_CustomElementRegistry.rs +++ b/vendor/web-sys/src/features/gen_CustomElementRegistry.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CustomEvent.rs b/vendor/web-sys/src/features/gen_CustomEvent.rs index 4c0c671cd..b30a09534 100644 --- a/vendor/web-sys/src/features/gen_CustomEvent.rs +++ b/vendor/web-sys/src/features/gen_CustomEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_CustomEventInit.rs b/vendor/web-sys/src/features/gen_CustomEventInit.rs index b0bbf7632..ced880c09 100644 --- a/vendor/web-sys/src/features/gen_CustomEventInit.rs +++ b/vendor/web-sys/src/features/gen_CustomEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DataTransfer.rs b/vendor/web-sys/src/features/gen_DataTransfer.rs index 9b6b79428..131bba60b 100644 --- a/vendor/web-sys/src/features/gen_DataTransfer.rs +++ b/vendor/web-sys/src/features/gen_DataTransfer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DataTransferItem.rs b/vendor/web-sys/src/features/gen_DataTransferItem.rs index 0ea18263f..4dec7731b 100644 --- a/vendor/web-sys/src/features/gen_DataTransferItem.rs +++ b/vendor/web-sys/src/features/gen_DataTransferItem.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DataTransferItemList.rs b/vendor/web-sys/src/features/gen_DataTransferItemList.rs index c2f2efc18..28710afe2 100644 --- a/vendor/web-sys/src/features/gen_DataTransferItemList.rs +++ b/vendor/web-sys/src/features/gen_DataTransferItemList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DateTimeValue.rs b/vendor/web-sys/src/features/gen_DateTimeValue.rs index 23a320850..861d469e7 100644 --- a/vendor/web-sys/src/features/gen_DateTimeValue.rs +++ b/vendor/web-sys/src/features/gen_DateTimeValue.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DecoderDoctorNotification.rs b/vendor/web-sys/src/features/gen_DecoderDoctorNotification.rs index 59f4340c4..c051c2348 100644 --- a/vendor/web-sys/src/features/gen_DecoderDoctorNotification.rs +++ b/vendor/web-sys/src/features/gen_DecoderDoctorNotification.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DecoderDoctorNotificationType.rs b/vendor/web-sys/src/features/gen_DecoderDoctorNotificationType.rs index adec72fe3..2c742b090 100644 --- a/vendor/web-sys/src/features/gen_DecoderDoctorNotificationType.rs +++ b/vendor/web-sys/src/features/gen_DecoderDoctorNotificationType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `DecoderDoctorNotificationType` enum."] diff --git a/vendor/web-sys/src/features/gen_DedicatedWorkerGlobalScope.rs b/vendor/web-sys/src/features/gen_DedicatedWorkerGlobalScope.rs index c16c3690d..59deb0b2e 100644 --- a/vendor/web-sys/src/features/gen_DedicatedWorkerGlobalScope.rs +++ b/vendor/web-sys/src/features/gen_DedicatedWorkerGlobalScope.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -77,4 +78,24 @@ extern "C" { message: &::wasm_bindgen::JsValue, transfer: &::wasm_bindgen::JsValue, ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "DedicatedWorkerGlobalScope" , js_name = cancelAnimationFrame)] + #[doc = "The `cancelAnimationFrame()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*"] + pub fn cancel_animation_frame( + this: &DedicatedWorkerGlobalScope, + handle: i32, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "DedicatedWorkerGlobalScope" , js_name = requestAnimationFrame)] + #[doc = "The `requestAnimationFrame()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*"] + pub fn request_animation_frame( + this: &DedicatedWorkerGlobalScope, + callback: &::js_sys::Function, + ) -> Result<i32, JsValue>; } diff --git a/vendor/web-sys/src/features/gen_DelayNode.rs b/vendor/web-sys/src/features/gen_DelayNode.rs index 4518ed3a2..e37d1980f 100644 --- a/vendor/web-sys/src/features/gen_DelayNode.rs +++ b/vendor/web-sys/src/features/gen_DelayNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DelayOptions.rs b/vendor/web-sys/src/features/gen_DelayOptions.rs index 8422b1614..a7e31dcce 100644 --- a/vendor/web-sys/src/features/gen_DelayOptions.rs +++ b/vendor/web-sys/src/features/gen_DelayOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DeviceAcceleration.rs b/vendor/web-sys/src/features/gen_DeviceAcceleration.rs index 8fbfb8b67..63f5dab2e 100644 --- a/vendor/web-sys/src/features/gen_DeviceAcceleration.rs +++ b/vendor/web-sys/src/features/gen_DeviceAcceleration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DeviceAccelerationInit.rs b/vendor/web-sys/src/features/gen_DeviceAccelerationInit.rs index 95c7aa208..b28ecb1f0 100644 --- a/vendor/web-sys/src/features/gen_DeviceAccelerationInit.rs +++ b/vendor/web-sys/src/features/gen_DeviceAccelerationInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DeviceLightEvent.rs b/vendor/web-sys/src/features/gen_DeviceLightEvent.rs index 390876478..8afd712fe 100644 --- a/vendor/web-sys/src/features/gen_DeviceLightEvent.rs +++ b/vendor/web-sys/src/features/gen_DeviceLightEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DeviceLightEventInit.rs b/vendor/web-sys/src/features/gen_DeviceLightEventInit.rs index ddb30f603..a72b40dd4 100644 --- a/vendor/web-sys/src/features/gen_DeviceLightEventInit.rs +++ b/vendor/web-sys/src/features/gen_DeviceLightEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DeviceMotionEvent.rs b/vendor/web-sys/src/features/gen_DeviceMotionEvent.rs index 5993f726f..a83040d4a 100644 --- a/vendor/web-sys/src/features/gen_DeviceMotionEvent.rs +++ b/vendor/web-sys/src/features/gen_DeviceMotionEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DeviceMotionEventInit.rs b/vendor/web-sys/src/features/gen_DeviceMotionEventInit.rs index bec312052..38dc6b76f 100644 --- a/vendor/web-sys/src/features/gen_DeviceMotionEventInit.rs +++ b/vendor/web-sys/src/features/gen_DeviceMotionEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DeviceOrientationEvent.rs b/vendor/web-sys/src/features/gen_DeviceOrientationEvent.rs index d7ec8c767..e1908e033 100644 --- a/vendor/web-sys/src/features/gen_DeviceOrientationEvent.rs +++ b/vendor/web-sys/src/features/gen_DeviceOrientationEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DeviceOrientationEventInit.rs b/vendor/web-sys/src/features/gen_DeviceOrientationEventInit.rs index 70445bb19..5aec65d23 100644 --- a/vendor/web-sys/src/features/gen_DeviceOrientationEventInit.rs +++ b/vendor/web-sys/src/features/gen_DeviceOrientationEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DeviceProximityEvent.rs b/vendor/web-sys/src/features/gen_DeviceProximityEvent.rs index c3c92ac8f..3b38d176c 100644 --- a/vendor/web-sys/src/features/gen_DeviceProximityEvent.rs +++ b/vendor/web-sys/src/features/gen_DeviceProximityEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DeviceProximityEventInit.rs b/vendor/web-sys/src/features/gen_DeviceProximityEventInit.rs index 9ff310343..ab35b2e6a 100644 --- a/vendor/web-sys/src/features/gen_DeviceProximityEventInit.rs +++ b/vendor/web-sys/src/features/gen_DeviceProximityEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DeviceRotationRate.rs b/vendor/web-sys/src/features/gen_DeviceRotationRate.rs index 73782abeb..ee7a2e442 100644 --- a/vendor/web-sys/src/features/gen_DeviceRotationRate.rs +++ b/vendor/web-sys/src/features/gen_DeviceRotationRate.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DeviceRotationRateInit.rs b/vendor/web-sys/src/features/gen_DeviceRotationRateInit.rs index fe6dcb0d2..7df806bca 100644 --- a/vendor/web-sys/src/features/gen_DeviceRotationRateInit.rs +++ b/vendor/web-sys/src/features/gen_DeviceRotationRateInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DhKeyDeriveParams.rs b/vendor/web-sys/src/features/gen_DhKeyDeriveParams.rs index 3bb1bbc3c..8a0ba9da5 100644 --- a/vendor/web-sys/src/features/gen_DhKeyDeriveParams.rs +++ b/vendor/web-sys/src/features/gen_DhKeyDeriveParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DirectionSetting.rs b/vendor/web-sys/src/features/gen_DirectionSetting.rs index 087bac82b..d6c9a5dd3 100644 --- a/vendor/web-sys/src/features/gen_DirectionSetting.rs +++ b/vendor/web-sys/src/features/gen_DirectionSetting.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `DirectionSetting` enum."] diff --git a/vendor/web-sys/src/features/gen_Directory.rs b/vendor/web-sys/src/features/gen_Directory.rs index 6eed3203e..53d3eb022 100644 --- a/vendor/web-sys/src/features/gen_Directory.rs +++ b/vendor/web-sys/src/features/gen_Directory.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DisplayMediaStreamConstraints.rs b/vendor/web-sys/src/features/gen_DisplayMediaStreamConstraints.rs index 16a5bf869..9f80d9a29 100644 --- a/vendor/web-sys/src/features/gen_DisplayMediaStreamConstraints.rs +++ b/vendor/web-sys/src/features/gen_DisplayMediaStreamConstraints.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DisplayNameOptions.rs b/vendor/web-sys/src/features/gen_DisplayNameOptions.rs index 97d843e79..1dec81b9f 100644 --- a/vendor/web-sys/src/features/gen_DisplayNameOptions.rs +++ b/vendor/web-sys/src/features/gen_DisplayNameOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DisplayNameResult.rs b/vendor/web-sys/src/features/gen_DisplayNameResult.rs index 4160474d6..d13291047 100644 --- a/vendor/web-sys/src/features/gen_DisplayNameResult.rs +++ b/vendor/web-sys/src/features/gen_DisplayNameResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DistanceModelType.rs b/vendor/web-sys/src/features/gen_DistanceModelType.rs index fd6287818..a622e7a38 100644 --- a/vendor/web-sys/src/features/gen_DistanceModelType.rs +++ b/vendor/web-sys/src/features/gen_DistanceModelType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `DistanceModelType` enum."] diff --git a/vendor/web-sys/src/features/gen_DnsCacheDict.rs b/vendor/web-sys/src/features/gen_DnsCacheDict.rs index 1233264e7..32cbbf5fb 100644 --- a/vendor/web-sys/src/features/gen_DnsCacheDict.rs +++ b/vendor/web-sys/src/features/gen_DnsCacheDict.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DnsCacheEntry.rs b/vendor/web-sys/src/features/gen_DnsCacheEntry.rs index f6da07e95..a368929bd 100644 --- a/vendor/web-sys/src/features/gen_DnsCacheEntry.rs +++ b/vendor/web-sys/src/features/gen_DnsCacheEntry.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DnsLookupDict.rs b/vendor/web-sys/src/features/gen_DnsLookupDict.rs index 590f29987..c9ecc81a0 100644 --- a/vendor/web-sys/src/features/gen_DnsLookupDict.rs +++ b/vendor/web-sys/src/features/gen_DnsLookupDict.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Document.rs b/vendor/web-sys/src/features/gen_Document.rs index 6d8cd542c..d2ad9eb37 100644 --- a/vendor/web-sys/src/features/gen_Document.rs +++ b/vendor/web-sys/src/features/gen_Document.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -2849,6 +2850,202 @@ extern "C" { nodes_6: &str, nodes_7: &str, ) -> Result<(), JsValue>; + # [wasm_bindgen (method , structural , variadic , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_node(this: &Document, nodes: &::js_sys::Array); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_node_0(this: &Document); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_node_1(this: &Document, nodes_1: &Node); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_node_2(this: &Document, nodes_1: &Node, nodes_2: &Node); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_node_3( + this: &Document, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + ); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_node_4( + this: &Document, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + nodes_4: &Node, + ); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_node_5( + this: &Document, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + nodes_4: &Node, + nodes_5: &Node, + ); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_node_6( + this: &Document, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + nodes_4: &Node, + nodes_5: &Node, + nodes_6: &Node, + ); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_node_7( + this: &Document, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + nodes_4: &Node, + nodes_5: &Node, + nodes_6: &Node, + nodes_7: &Node, + ); + # [wasm_bindgen (method , structural , variadic , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_str(this: &Document, nodes: &::js_sys::Array); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_str_0(this: &Document); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_str_1(this: &Document, nodes_1: &str); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_str_2(this: &Document, nodes_1: &str, nodes_2: &str); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_str_3( + this: &Document, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + ); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_str_4( + this: &Document, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + nodes_4: &str, + ); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_str_5( + this: &Document, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + nodes_4: &str, + nodes_5: &str, + ); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_str_6( + this: &Document, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + nodes_4: &str, + nodes_5: &str, + nodes_6: &str, + ); + # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Document`*"] + pub fn replace_children_with_str_7( + this: &Document, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + nodes_4: &str, + nodes_5: &str, + nodes_6: &str, + nodes_7: &str, + ); #[cfg(feature = "XPathExpression")] # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createExpression)] #[doc = "The `createExpression()` method."] diff --git a/vendor/web-sys/src/features/gen_DocumentFragment.rs b/vendor/web-sys/src/features/gen_DocumentFragment.rs index fa64d510a..d21d7b374 100644 --- a/vendor/web-sys/src/features/gen_DocumentFragment.rs +++ b/vendor/web-sys/src/features/gen_DocumentFragment.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -497,4 +498,200 @@ extern "C" { nodes_6: &str, nodes_7: &str, ) -> Result<(), JsValue>; + # [wasm_bindgen (method , structural , variadic , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_node(this: &DocumentFragment, nodes: &::js_sys::Array); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_node_0(this: &DocumentFragment); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_node_1(this: &DocumentFragment, nodes_1: &Node); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_node_2(this: &DocumentFragment, nodes_1: &Node, nodes_2: &Node); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_node_3( + this: &DocumentFragment, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + ); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_node_4( + this: &DocumentFragment, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + nodes_4: &Node, + ); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_node_5( + this: &DocumentFragment, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + nodes_4: &Node, + nodes_5: &Node, + ); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_node_6( + this: &DocumentFragment, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + nodes_4: &Node, + nodes_5: &Node, + nodes_6: &Node, + ); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_node_7( + this: &DocumentFragment, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + nodes_4: &Node, + nodes_5: &Node, + nodes_6: &Node, + nodes_7: &Node, + ); + # [wasm_bindgen (method , structural , variadic , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_str(this: &DocumentFragment, nodes: &::js_sys::Array); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_str_0(this: &DocumentFragment); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_str_1(this: &DocumentFragment, nodes_1: &str); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_str_2(this: &DocumentFragment, nodes_1: &str, nodes_2: &str); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_str_3( + this: &DocumentFragment, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + ); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_str_4( + this: &DocumentFragment, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + nodes_4: &str, + ); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_str_5( + this: &DocumentFragment, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + nodes_4: &str, + nodes_5: &str, + ); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_str_6( + this: &DocumentFragment, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + nodes_4: &str, + nodes_5: &str, + nodes_6: &str, + ); + # [wasm_bindgen (method , structural , js_class = "DocumentFragment" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"] + pub fn replace_children_with_str_7( + this: &DocumentFragment, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + nodes_4: &str, + nodes_5: &str, + nodes_6: &str, + nodes_7: &str, + ); } diff --git a/vendor/web-sys/src/features/gen_DocumentTimeline.rs b/vendor/web-sys/src/features/gen_DocumentTimeline.rs index 57247e819..e5c862f9f 100644 --- a/vendor/web-sys/src/features/gen_DocumentTimeline.rs +++ b/vendor/web-sys/src/features/gen_DocumentTimeline.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DocumentTimelineOptions.rs b/vendor/web-sys/src/features/gen_DocumentTimelineOptions.rs index 33ee6fa3c..7fa2dedc2 100644 --- a/vendor/web-sys/src/features/gen_DocumentTimelineOptions.rs +++ b/vendor/web-sys/src/features/gen_DocumentTimelineOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DocumentType.rs b/vendor/web-sys/src/features/gen_DocumentType.rs index 2b6280c9b..f77d3cebf 100644 --- a/vendor/web-sys/src/features/gen_DocumentType.rs +++ b/vendor/web-sys/src/features/gen_DocumentType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomError.rs b/vendor/web-sys/src/features/gen_DomError.rs index 33e4f4919..ba94c8d15 100644 --- a/vendor/web-sys/src/features/gen_DomError.rs +++ b/vendor/web-sys/src/features/gen_DomError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomException.rs b/vendor/web-sys/src/features/gen_DomException.rs index d7035a170..760f11350 100644 --- a/vendor/web-sys/src/features/gen_DomException.rs +++ b/vendor/web-sys/src/features/gen_DomException.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomImplementation.rs b/vendor/web-sys/src/features/gen_DomImplementation.rs index 3f09acc2b..cb7402972 100644 --- a/vendor/web-sys/src/features/gen_DomImplementation.rs +++ b/vendor/web-sys/src/features/gen_DomImplementation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomMatrix.rs b/vendor/web-sys/src/features/gen_DomMatrix.rs index 3212e048f..db541f0d1 100644 --- a/vendor/web-sys/src/features/gen_DomMatrix.rs +++ b/vendor/web-sys/src/features/gen_DomMatrix.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomMatrixReadOnly.rs b/vendor/web-sys/src/features/gen_DomMatrixReadOnly.rs index a31e55465..90bf25ed1 100644 --- a/vendor/web-sys/src/features/gen_DomMatrixReadOnly.rs +++ b/vendor/web-sys/src/features/gen_DomMatrixReadOnly.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomParser.rs b/vendor/web-sys/src/features/gen_DomParser.rs index 97385ccfe..5a926bf24 100644 --- a/vendor/web-sys/src/features/gen_DomParser.rs +++ b/vendor/web-sys/src/features/gen_DomParser.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomPoint.rs b/vendor/web-sys/src/features/gen_DomPoint.rs index 5a563cde7..7e2bde1f0 100644 --- a/vendor/web-sys/src/features/gen_DomPoint.rs +++ b/vendor/web-sys/src/features/gen_DomPoint.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomPointInit.rs b/vendor/web-sys/src/features/gen_DomPointInit.rs index 51be45cc5..b909aaf39 100644 --- a/vendor/web-sys/src/features/gen_DomPointInit.rs +++ b/vendor/web-sys/src/features/gen_DomPointInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomPointReadOnly.rs b/vendor/web-sys/src/features/gen_DomPointReadOnly.rs index 2601722c0..1e3e76fae 100644 --- a/vendor/web-sys/src/features/gen_DomPointReadOnly.rs +++ b/vendor/web-sys/src/features/gen_DomPointReadOnly.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomQuad.rs b/vendor/web-sys/src/features/gen_DomQuad.rs index 26b87535e..679786dc3 100644 --- a/vendor/web-sys/src/features/gen_DomQuad.rs +++ b/vendor/web-sys/src/features/gen_DomQuad.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomQuadInit.rs b/vendor/web-sys/src/features/gen_DomQuadInit.rs index 3bd7d9075..b85560d84 100644 --- a/vendor/web-sys/src/features/gen_DomQuadInit.rs +++ b/vendor/web-sys/src/features/gen_DomQuadInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomQuadJson.rs b/vendor/web-sys/src/features/gen_DomQuadJson.rs index d3316d975..95189b208 100644 --- a/vendor/web-sys/src/features/gen_DomQuadJson.rs +++ b/vendor/web-sys/src/features/gen_DomQuadJson.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomRect.rs b/vendor/web-sys/src/features/gen_DomRect.rs index 0d3a02988..6e177351f 100644 --- a/vendor/web-sys/src/features/gen_DomRect.rs +++ b/vendor/web-sys/src/features/gen_DomRect.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomRectInit.rs b/vendor/web-sys/src/features/gen_DomRectInit.rs index ab4a54a2b..ec514d0f6 100644 --- a/vendor/web-sys/src/features/gen_DomRectInit.rs +++ b/vendor/web-sys/src/features/gen_DomRectInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomRectList.rs b/vendor/web-sys/src/features/gen_DomRectList.rs index e668a8492..ebb1df27d 100644 --- a/vendor/web-sys/src/features/gen_DomRectList.rs +++ b/vendor/web-sys/src/features/gen_DomRectList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomRectReadOnly.rs b/vendor/web-sys/src/features/gen_DomRectReadOnly.rs index 1b48f02b1..2ce989209 100644 --- a/vendor/web-sys/src/features/gen_DomRectReadOnly.rs +++ b/vendor/web-sys/src/features/gen_DomRectReadOnly.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomRequest.rs b/vendor/web-sys/src/features/gen_DomRequest.rs index 05e678563..ac375ffb8 100644 --- a/vendor/web-sys/src/features/gen_DomRequest.rs +++ b/vendor/web-sys/src/features/gen_DomRequest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomRequestReadyState.rs b/vendor/web-sys/src/features/gen_DomRequestReadyState.rs index 179f9478e..c8a8ac4f3 100644 --- a/vendor/web-sys/src/features/gen_DomRequestReadyState.rs +++ b/vendor/web-sys/src/features/gen_DomRequestReadyState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `DomRequestReadyState` enum."] diff --git a/vendor/web-sys/src/features/gen_DomStringList.rs b/vendor/web-sys/src/features/gen_DomStringList.rs index 1b932f291..9b32ed72e 100644 --- a/vendor/web-sys/src/features/gen_DomStringList.rs +++ b/vendor/web-sys/src/features/gen_DomStringList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomStringMap.rs b/vendor/web-sys/src/features/gen_DomStringMap.rs index c102f1085..533c2245a 100644 --- a/vendor/web-sys/src/features/gen_DomStringMap.rs +++ b/vendor/web-sys/src/features/gen_DomStringMap.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomTokenList.rs b/vendor/web-sys/src/features/gen_DomTokenList.rs index a097863d6..6277b5c40 100644 --- a/vendor/web-sys/src/features/gen_DomTokenList.rs +++ b/vendor/web-sys/src/features/gen_DomTokenList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DomWindowResizeEventDetail.rs b/vendor/web-sys/src/features/gen_DomWindowResizeEventDetail.rs index 7bf972f04..6e3ca6307 100644 --- a/vendor/web-sys/src/features/gen_DomWindowResizeEventDetail.rs +++ b/vendor/web-sys/src/features/gen_DomWindowResizeEventDetail.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DragEvent.rs b/vendor/web-sys/src/features/gen_DragEvent.rs index fc18b1ee5..8be938eb6 100644 --- a/vendor/web-sys/src/features/gen_DragEvent.rs +++ b/vendor/web-sys/src/features/gen_DragEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DragEventInit.rs b/vendor/web-sys/src/features/gen_DragEventInit.rs index d28d127a9..821a5f5ed 100644 --- a/vendor/web-sys/src/features/gen_DragEventInit.rs +++ b/vendor/web-sys/src/features/gen_DragEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DynamicsCompressorNode.rs b/vendor/web-sys/src/features/gen_DynamicsCompressorNode.rs index 3a7c7d5f5..90454ea85 100644 --- a/vendor/web-sys/src/features/gen_DynamicsCompressorNode.rs +++ b/vendor/web-sys/src/features/gen_DynamicsCompressorNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_DynamicsCompressorOptions.rs b/vendor/web-sys/src/features/gen_DynamicsCompressorOptions.rs index ff594822f..788f59354 100644 --- a/vendor/web-sys/src/features/gen_DynamicsCompressorOptions.rs +++ b/vendor/web-sys/src/features/gen_DynamicsCompressorOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EcKeyAlgorithm.rs b/vendor/web-sys/src/features/gen_EcKeyAlgorithm.rs index 3d7aec6e1..42aad21d5 100644 --- a/vendor/web-sys/src/features/gen_EcKeyAlgorithm.rs +++ b/vendor/web-sys/src/features/gen_EcKeyAlgorithm.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EcKeyGenParams.rs b/vendor/web-sys/src/features/gen_EcKeyGenParams.rs index 8b1df4070..05c7d2378 100644 --- a/vendor/web-sys/src/features/gen_EcKeyGenParams.rs +++ b/vendor/web-sys/src/features/gen_EcKeyGenParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EcKeyImportParams.rs b/vendor/web-sys/src/features/gen_EcKeyImportParams.rs index b6ff16b01..13615f088 100644 --- a/vendor/web-sys/src/features/gen_EcKeyImportParams.rs +++ b/vendor/web-sys/src/features/gen_EcKeyImportParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EcdhKeyDeriveParams.rs b/vendor/web-sys/src/features/gen_EcdhKeyDeriveParams.rs index 0303bb319..2f6c4d694 100644 --- a/vendor/web-sys/src/features/gen_EcdhKeyDeriveParams.rs +++ b/vendor/web-sys/src/features/gen_EcdhKeyDeriveParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EcdsaParams.rs b/vendor/web-sys/src/features/gen_EcdsaParams.rs index a54f84b77..918c40523 100644 --- a/vendor/web-sys/src/features/gen_EcdsaParams.rs +++ b/vendor/web-sys/src/features/gen_EcdsaParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EffectTiming.rs b/vendor/web-sys/src/features/gen_EffectTiming.rs index 07e8deeeb..4af14f8f3 100644 --- a/vendor/web-sys/src/features/gen_EffectTiming.rs +++ b/vendor/web-sys/src/features/gen_EffectTiming.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Element.rs b/vendor/web-sys/src/features/gen_Element.rs index 011b65d28..4f8180e96 100644 --- a/vendor/web-sys/src/features/gen_Element.rs +++ b/vendor/web-sys/src/features/gen_Element.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -662,6 +663,76 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `Element`*"] pub fn webkit_matches_selector(this: &Element, selector: &str) -> Result<bool, JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "Animation")] + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = animate)] + #[doc = "The `animate()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/animate)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Animation`, `Element`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn animate(this: &Element, keyframes: Option<&::js_sys::Object>) -> Animation; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "Animation")] + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = animate)] + #[doc = "The `animate()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/animate)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Animation`, `Element`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn animate_with_f64( + this: &Element, + keyframes: Option<&::js_sys::Object>, + options: f64, + ) -> Animation; + #[cfg(web_sys_unstable_apis)] + #[cfg(all(feature = "Animation", feature = "KeyframeAnimationOptions",))] + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = animate)] + #[doc = "The `animate()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/animate)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Animation`, `Element`, `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn animate_with_keyframe_animation_options( + this: &Element, + keyframes: Option<&::js_sys::Object>, + options: &KeyframeAnimationOptions, + ) -> Animation; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAnimations)] + #[doc = "The `getAnimations()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAnimations)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_animations(this: &Element) -> ::js_sys::Array; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "GetAnimationsOptions")] + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAnimations)] + #[doc = "The `getAnimations()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAnimations)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`, `GetAnimationsOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_animations_with_options( + this: &Element, + options: &GetAnimationsOptions, + ) -> ::js_sys::Array; # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = after)] #[doc = "The `after()` method."] #[doc = ""] @@ -1949,4 +2020,195 @@ extern "C" { nodes_6: &str, nodes_7: &str, ) -> Result<(), JsValue>; + # [wasm_bindgen (method , structural , variadic , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_node(this: &Element, nodes: &::js_sys::Array); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_node_0(this: &Element); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_node_1(this: &Element, nodes_1: &Node); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_node_2(this: &Element, nodes_1: &Node, nodes_2: &Node); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_node_3( + this: &Element, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + ); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_node_4( + this: &Element, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + nodes_4: &Node, + ); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_node_5( + this: &Element, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + nodes_4: &Node, + nodes_5: &Node, + ); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_node_6( + this: &Element, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + nodes_4: &Node, + nodes_5: &Node, + nodes_6: &Node, + ); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_node_7( + this: &Element, + nodes_1: &Node, + nodes_2: &Node, + nodes_3: &Node, + nodes_4: &Node, + nodes_5: &Node, + nodes_6: &Node, + nodes_7: &Node, + ); + # [wasm_bindgen (method , structural , variadic , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_str(this: &Element, nodes: &::js_sys::Array); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_str_0(this: &Element); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_str_1(this: &Element, nodes_1: &str); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_str_3(this: &Element, nodes_1: &str, nodes_2: &str, nodes_3: &str); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_str_4( + this: &Element, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + nodes_4: &str, + ); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_str_5( + this: &Element, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + nodes_4: &str, + nodes_5: &str, + ); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_str_6( + this: &Element, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + nodes_4: &str, + nodes_5: &str, + nodes_6: &str, + ); + # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] + #[doc = "The `replaceChildren()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Element`*"] + pub fn replace_children_with_str_7( + this: &Element, + nodes_1: &str, + nodes_2: &str, + nodes_3: &str, + nodes_4: &str, + nodes_5: &str, + nodes_6: &str, + nodes_7: &str, + ); } diff --git a/vendor/web-sys/src/features/gen_ElementCreationOptions.rs b/vendor/web-sys/src/features/gen_ElementCreationOptions.rs index d12dd041e..b5a76b5c0 100644 --- a/vendor/web-sys/src/features/gen_ElementCreationOptions.rs +++ b/vendor/web-sys/src/features/gen_ElementCreationOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ElementDefinitionOptions.rs b/vendor/web-sys/src/features/gen_ElementDefinitionOptions.rs index 4b9492b3b..e53766d86 100644 --- a/vendor/web-sys/src/features/gen_ElementDefinitionOptions.rs +++ b/vendor/web-sys/src/features/gen_ElementDefinitionOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EncodedAudioChunk.rs b/vendor/web-sys/src/features/gen_EncodedAudioChunk.rs index 93a9cd7ca..17aed5aac 100644 --- a/vendor/web-sys/src/features/gen_EncodedAudioChunk.rs +++ b/vendor/web-sys/src/features/gen_EncodedAudioChunk.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_EncodedAudioChunkInit.rs b/vendor/web-sys/src/features/gen_EncodedAudioChunkInit.rs index c95daf55f..d5496c324 100644 --- a/vendor/web-sys/src/features/gen_EncodedAudioChunkInit.rs +++ b/vendor/web-sys/src/features/gen_EncodedAudioChunkInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_EncodedAudioChunkMetadata.rs b/vendor/web-sys/src/features/gen_EncodedAudioChunkMetadata.rs index 6a43b98aa..aeb9cd532 100644 --- a/vendor/web-sys/src/features/gen_EncodedAudioChunkMetadata.rs +++ b/vendor/web-sys/src/features/gen_EncodedAudioChunkMetadata.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_EncodedAudioChunkType.rs b/vendor/web-sys/src/features/gen_EncodedAudioChunkType.rs index 5a977aeba..42f4dcc55 100644 --- a/vendor/web-sys/src/features/gen_EncodedAudioChunkType.rs +++ b/vendor/web-sys/src/features/gen_EncodedAudioChunkType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EncodedVideoChunk.rs b/vendor/web-sys/src/features/gen_EncodedVideoChunk.rs index a6590c850..808af2cf3 100644 --- a/vendor/web-sys/src/features/gen_EncodedVideoChunk.rs +++ b/vendor/web-sys/src/features/gen_EncodedVideoChunk.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_EncodedVideoChunkInit.rs b/vendor/web-sys/src/features/gen_EncodedVideoChunkInit.rs index 6491aefd7..1699fbf10 100644 --- a/vendor/web-sys/src/features/gen_EncodedVideoChunkInit.rs +++ b/vendor/web-sys/src/features/gen_EncodedVideoChunkInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_EncodedVideoChunkMetadata.rs b/vendor/web-sys/src/features/gen_EncodedVideoChunkMetadata.rs index 9d0e14152..6b81fe2e3 100644 --- a/vendor/web-sys/src/features/gen_EncodedVideoChunkMetadata.rs +++ b/vendor/web-sys/src/features/gen_EncodedVideoChunkMetadata.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_EncodedVideoChunkType.rs b/vendor/web-sys/src/features/gen_EncodedVideoChunkType.rs index 63537be60..64ce2b89e 100644 --- a/vendor/web-sys/src/features/gen_EncodedVideoChunkType.rs +++ b/vendor/web-sys/src/features/gen_EncodedVideoChunkType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EndingTypes.rs b/vendor/web-sys/src/features/gen_EndingTypes.rs index 476f22965..0898d8f99 100644 --- a/vendor/web-sys/src/features/gen_EndingTypes.rs +++ b/vendor/web-sys/src/features/gen_EndingTypes.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `EndingTypes` enum."] diff --git a/vendor/web-sys/src/features/gen_ErrorCallback.rs b/vendor/web-sys/src/features/gen_ErrorCallback.rs index 067bd0805..4351dfc05 100644 --- a/vendor/web-sys/src/features/gen_ErrorCallback.rs +++ b/vendor/web-sys/src/features/gen_ErrorCallback.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ErrorEvent.rs b/vendor/web-sys/src/features/gen_ErrorEvent.rs index b3bd7fb1e..e9288b447 100644 --- a/vendor/web-sys/src/features/gen_ErrorEvent.rs +++ b/vendor/web-sys/src/features/gen_ErrorEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ErrorEventInit.rs b/vendor/web-sys/src/features/gen_ErrorEventInit.rs index cc2d881ae..c483439e5 100644 --- a/vendor/web-sys/src/features/gen_ErrorEventInit.rs +++ b/vendor/web-sys/src/features/gen_ErrorEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Event.rs b/vendor/web-sys/src/features/gen_Event.rs index bb3c3cffc..d2e29c958 100644 --- a/vendor/web-sys/src/features/gen_Event.rs +++ b/vendor/web-sys/src/features/gen_Event.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EventInit.rs b/vendor/web-sys/src/features/gen_EventInit.rs index 6b44b167b..0a6e9eb81 100644 --- a/vendor/web-sys/src/features/gen_EventInit.rs +++ b/vendor/web-sys/src/features/gen_EventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EventListener.rs b/vendor/web-sys/src/features/gen_EventListener.rs index af46e7ad6..ab47a4273 100644 --- a/vendor/web-sys/src/features/gen_EventListener.rs +++ b/vendor/web-sys/src/features/gen_EventListener.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EventListenerOptions.rs b/vendor/web-sys/src/features/gen_EventListenerOptions.rs index 9162ee8d2..4ac4ff613 100644 --- a/vendor/web-sys/src/features/gen_EventListenerOptions.rs +++ b/vendor/web-sys/src/features/gen_EventListenerOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EventModifierInit.rs b/vendor/web-sys/src/features/gen_EventModifierInit.rs index 02c06addc..21f7c2ceb 100644 --- a/vendor/web-sys/src/features/gen_EventModifierInit.rs +++ b/vendor/web-sys/src/features/gen_EventModifierInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EventSource.rs b/vendor/web-sys/src/features/gen_EventSource.rs index 816817f37..3a1ecfa27 100644 --- a/vendor/web-sys/src/features/gen_EventSource.rs +++ b/vendor/web-sys/src/features/gen_EventSource.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EventSourceInit.rs b/vendor/web-sys/src/features/gen_EventSourceInit.rs index f8e5f4af4..7c0f3bce2 100644 --- a/vendor/web-sys/src/features/gen_EventSourceInit.rs +++ b/vendor/web-sys/src/features/gen_EventSourceInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_EventTarget.rs b/vendor/web-sys/src/features/gen_EventTarget.rs index 431b5a631..a87f6d46f 100644 --- a/vendor/web-sys/src/features/gen_EventTarget.rs +++ b/vendor/web-sys/src/features/gen_EventTarget.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Exception.rs b/vendor/web-sys/src/features/gen_Exception.rs index d38c6f66e..d8a046ba1 100644 --- a/vendor/web-sys/src/features/gen_Exception.rs +++ b/vendor/web-sys/src/features/gen_Exception.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ExtBlendMinmax.rs b/vendor/web-sys/src/features/gen_ExtBlendMinmax.rs index 9e274a310..e352522c3 100644 --- a/vendor/web-sys/src/features/gen_ExtBlendMinmax.rs +++ b/vendor/web-sys/src/features/gen_ExtBlendMinmax.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ExtColorBufferFloat.rs b/vendor/web-sys/src/features/gen_ExtColorBufferFloat.rs index 884e06c16..f5ddf436c 100644 --- a/vendor/web-sys/src/features/gen_ExtColorBufferFloat.rs +++ b/vendor/web-sys/src/features/gen_ExtColorBufferFloat.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ExtColorBufferHalfFloat.rs b/vendor/web-sys/src/features/gen_ExtColorBufferHalfFloat.rs index 26ffa3c74..c50dd77f5 100644 --- a/vendor/web-sys/src/features/gen_ExtColorBufferHalfFloat.rs +++ b/vendor/web-sys/src/features/gen_ExtColorBufferHalfFloat.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ExtDisjointTimerQuery.rs b/vendor/web-sys/src/features/gen_ExtDisjointTimerQuery.rs index 1df18d754..f1be27d7d 100644 --- a/vendor/web-sys/src/features/gen_ExtDisjointTimerQuery.rs +++ b/vendor/web-sys/src/features/gen_ExtDisjointTimerQuery.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ExtFragDepth.rs b/vendor/web-sys/src/features/gen_ExtFragDepth.rs index fd2f30f38..53a284feb 100644 --- a/vendor/web-sys/src/features/gen_ExtFragDepth.rs +++ b/vendor/web-sys/src/features/gen_ExtFragDepth.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ExtSRgb.rs b/vendor/web-sys/src/features/gen_ExtSRgb.rs index c97cde655..2cf4e65be 100644 --- a/vendor/web-sys/src/features/gen_ExtSRgb.rs +++ b/vendor/web-sys/src/features/gen_ExtSRgb.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ExtShaderTextureLod.rs b/vendor/web-sys/src/features/gen_ExtShaderTextureLod.rs index daa45adb7..52e5635ac 100644 --- a/vendor/web-sys/src/features/gen_ExtShaderTextureLod.rs +++ b/vendor/web-sys/src/features/gen_ExtShaderTextureLod.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ExtTextureFilterAnisotropic.rs b/vendor/web-sys/src/features/gen_ExtTextureFilterAnisotropic.rs index 905b2d225..e5d1da504 100644 --- a/vendor/web-sys/src/features/gen_ExtTextureFilterAnisotropic.rs +++ b/vendor/web-sys/src/features/gen_ExtTextureFilterAnisotropic.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ExtTextureNorm16.rs b/vendor/web-sys/src/features/gen_ExtTextureNorm16.rs index d4ab27eaf..125e3403f 100644 --- a/vendor/web-sys/src/features/gen_ExtTextureNorm16.rs +++ b/vendor/web-sys/src/features/gen_ExtTextureNorm16.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ExtendableEvent.rs b/vendor/web-sys/src/features/gen_ExtendableEvent.rs index d3c14235a..5b9b54067 100644 --- a/vendor/web-sys/src/features/gen_ExtendableEvent.rs +++ b/vendor/web-sys/src/features/gen_ExtendableEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ExtendableEventInit.rs b/vendor/web-sys/src/features/gen_ExtendableEventInit.rs index 6bdb395c3..c99071426 100644 --- a/vendor/web-sys/src/features/gen_ExtendableEventInit.rs +++ b/vendor/web-sys/src/features/gen_ExtendableEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ExtendableMessageEvent.rs b/vendor/web-sys/src/features/gen_ExtendableMessageEvent.rs index fdbb3a2be..a660231a1 100644 --- a/vendor/web-sys/src/features/gen_ExtendableMessageEvent.rs +++ b/vendor/web-sys/src/features/gen_ExtendableMessageEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ExtendableMessageEventInit.rs b/vendor/web-sys/src/features/gen_ExtendableMessageEventInit.rs index 13577af82..9be6c91c3 100644 --- a/vendor/web-sys/src/features/gen_ExtendableMessageEventInit.rs +++ b/vendor/web-sys/src/features/gen_ExtendableMessageEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_External.rs b/vendor/web-sys/src/features/gen_External.rs index bc58c9601..66974fd4d 100644 --- a/vendor/web-sys/src/features/gen_External.rs +++ b/vendor/web-sys/src/features/gen_External.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FakePluginMimeEntry.rs b/vendor/web-sys/src/features/gen_FakePluginMimeEntry.rs index 9a0249294..fbae62790 100644 --- a/vendor/web-sys/src/features/gen_FakePluginMimeEntry.rs +++ b/vendor/web-sys/src/features/gen_FakePluginMimeEntry.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FakePluginTagInit.rs b/vendor/web-sys/src/features/gen_FakePluginTagInit.rs index ce81b452d..a1b4ac8a3 100644 --- a/vendor/web-sys/src/features/gen_FakePluginTagInit.rs +++ b/vendor/web-sys/src/features/gen_FakePluginTagInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FetchEvent.rs b/vendor/web-sys/src/features/gen_FetchEvent.rs index 70f378fe4..c3aa140c9 100644 --- a/vendor/web-sys/src/features/gen_FetchEvent.rs +++ b/vendor/web-sys/src/features/gen_FetchEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FetchEventInit.rs b/vendor/web-sys/src/features/gen_FetchEventInit.rs index baeace312..d199cc656 100644 --- a/vendor/web-sys/src/features/gen_FetchEventInit.rs +++ b/vendor/web-sys/src/features/gen_FetchEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FetchObserver.rs b/vendor/web-sys/src/features/gen_FetchObserver.rs index e08d9341c..264c14ee0 100644 --- a/vendor/web-sys/src/features/gen_FetchObserver.rs +++ b/vendor/web-sys/src/features/gen_FetchObserver.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataArray.rs b/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataArray.rs index 8e5fa2c3e..42499f45b 100644 --- a/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataArray.rs +++ b/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataArray.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataDone.rs b/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataDone.rs index c3f81924c..2bbfebba9 100644 --- a/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataDone.rs +++ b/vendor/web-sys/src/features/gen_FetchReadableStreamReadDataDone.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FetchState.rs b/vendor/web-sys/src/features/gen_FetchState.rs index 84ff3c6bb..e3adc4aed 100644 --- a/vendor/web-sys/src/features/gen_FetchState.rs +++ b/vendor/web-sys/src/features/gen_FetchState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `FetchState` enum."] diff --git a/vendor/web-sys/src/features/gen_File.rs b/vendor/web-sys/src/features/gen_File.rs index d22c7495a..bd97907da 100644 --- a/vendor/web-sys/src/features/gen_File.rs +++ b/vendor/web-sys/src/features/gen_File.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FileCallback.rs b/vendor/web-sys/src/features/gen_FileCallback.rs index fd46ab229..46e03df22 100644 --- a/vendor/web-sys/src/features/gen_FileCallback.rs +++ b/vendor/web-sys/src/features/gen_FileCallback.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FileList.rs b/vendor/web-sys/src/features/gen_FileList.rs index 5e6132dc3..6e59e87e0 100644 --- a/vendor/web-sys/src/features/gen_FileList.rs +++ b/vendor/web-sys/src/features/gen_FileList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FilePropertyBag.rs b/vendor/web-sys/src/features/gen_FilePropertyBag.rs index 594aea9bb..f98a68c4f 100644 --- a/vendor/web-sys/src/features/gen_FilePropertyBag.rs +++ b/vendor/web-sys/src/features/gen_FilePropertyBag.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FileReader.rs b/vendor/web-sys/src/features/gen_FileReader.rs index 5263af681..6ecf1165d 100644 --- a/vendor/web-sys/src/features/gen_FileReader.rs +++ b/vendor/web-sys/src/features/gen_FileReader.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FileReaderSync.rs b/vendor/web-sys/src/features/gen_FileReaderSync.rs index c8ec2a664..97987b4c7 100644 --- a/vendor/web-sys/src/features/gen_FileReaderSync.rs +++ b/vendor/web-sys/src/features/gen_FileReaderSync.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FileSystem.rs b/vendor/web-sys/src/features/gen_FileSystem.rs index 09f217e0e..15eb5af88 100644 --- a/vendor/web-sys/src/features/gen_FileSystem.rs +++ b/vendor/web-sys/src/features/gen_FileSystem.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FileSystemCreateWritableOptions.rs b/vendor/web-sys/src/features/gen_FileSystemCreateWritableOptions.rs new file mode 100644 index 000000000..76ebad998 --- /dev/null +++ b/vendor/web-sys/src/features/gen_FileSystemCreateWritableOptions.rs @@ -0,0 +1,58 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemCreateWritableOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `FileSystemCreateWritableOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemCreateWritableOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type FileSystemCreateWritableOptions; +} +#[cfg(web_sys_unstable_apis)] +impl FileSystemCreateWritableOptions { + #[doc = "Construct a new `FileSystemCreateWritableOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemCreateWritableOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `keepExistingData` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemCreateWritableOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn keep_existing_data(&mut self, val: bool) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("keepExistingData"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for FileSystemCreateWritableOptions { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_FileSystemDirectoryEntry.rs b/vendor/web-sys/src/features/gen_FileSystemDirectoryEntry.rs index 1a291e441..7e8101755 100644 --- a/vendor/web-sys/src/features/gen_FileSystemDirectoryEntry.rs +++ b/vendor/web-sys/src/features/gen_FileSystemDirectoryEntry.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FileSystemDirectoryHandle.rs b/vendor/web-sys/src/features/gen_FileSystemDirectoryHandle.rs new file mode 100644 index 000000000..9487482f3 --- /dev/null +++ b/vendor/web-sys/src/features/gen_FileSystemDirectoryHandle.rs @@ -0,0 +1,114 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = FileSystemHandle , extends = :: js_sys :: Object , js_name = FileSystemDirectoryHandle , typescript_type = "FileSystemDirectoryHandle")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `FileSystemDirectoryHandle` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type FileSystemDirectoryHandle; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryHandle" , js_name = getDirectoryHandle)] + #[doc = "The `getDirectoryHandle()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_directory_handle(this: &FileSystemDirectoryHandle, name: &str) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "FileSystemGetDirectoryOptions")] + # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryHandle" , js_name = getDirectoryHandle)] + #[doc = "The `getDirectoryHandle()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`, `FileSystemGetDirectoryOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_directory_handle_with_options( + this: &FileSystemDirectoryHandle, + name: &str, + options: &FileSystemGetDirectoryOptions, + ) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryHandle" , js_name = getFileHandle)] + #[doc = "The `getFileHandle()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_file_handle(this: &FileSystemDirectoryHandle, name: &str) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "FileSystemGetFileOptions")] + # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryHandle" , js_name = getFileHandle)] + #[doc = "The `getFileHandle()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`, `FileSystemGetFileOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_file_handle_with_options( + this: &FileSystemDirectoryHandle, + name: &str, + options: &FileSystemGetFileOptions, + ) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryHandle" , js_name = removeEntry)] + #[doc = "The `removeEntry()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/removeEntry)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn remove_entry(this: &FileSystemDirectoryHandle, name: &str) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "FileSystemRemoveOptions")] + # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryHandle" , js_name = removeEntry)] + #[doc = "The `removeEntry()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/removeEntry)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`, `FileSystemRemoveOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn remove_entry_with_options( + this: &FileSystemDirectoryHandle, + name: &str, + options: &FileSystemRemoveOptions, + ) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "FileSystemDirectoryHandle" , js_name = resolve)] + #[doc = "The `resolve()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/resolve)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn resolve( + this: &FileSystemDirectoryHandle, + possible_descendant: &FileSystemHandle, + ) -> ::js_sys::Promise; +} diff --git a/vendor/web-sys/src/features/gen_FileSystemDirectoryReader.rs b/vendor/web-sys/src/features/gen_FileSystemDirectoryReader.rs index 4d6a922b8..0723db298 100644 --- a/vendor/web-sys/src/features/gen_FileSystemDirectoryReader.rs +++ b/vendor/web-sys/src/features/gen_FileSystemDirectoryReader.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FileSystemEntriesCallback.rs b/vendor/web-sys/src/features/gen_FileSystemEntriesCallback.rs index f8ef26903..1909296d8 100644 --- a/vendor/web-sys/src/features/gen_FileSystemEntriesCallback.rs +++ b/vendor/web-sys/src/features/gen_FileSystemEntriesCallback.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FileSystemEntry.rs b/vendor/web-sys/src/features/gen_FileSystemEntry.rs index 7834d6868..885bf5915 100644 --- a/vendor/web-sys/src/features/gen_FileSystemEntry.rs +++ b/vendor/web-sys/src/features/gen_FileSystemEntry.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FileSystemEntryCallback.rs b/vendor/web-sys/src/features/gen_FileSystemEntryCallback.rs index 38f4306e3..c9162d911 100644 --- a/vendor/web-sys/src/features/gen_FileSystemEntryCallback.rs +++ b/vendor/web-sys/src/features/gen_FileSystemEntryCallback.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FileSystemFileEntry.rs b/vendor/web-sys/src/features/gen_FileSystemFileEntry.rs index 84dc290ab..8e4011817 100644 --- a/vendor/web-sys/src/features/gen_FileSystemFileEntry.rs +++ b/vendor/web-sys/src/features/gen_FileSystemFileEntry.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FileSystemFileHandle.rs b/vendor/web-sys/src/features/gen_FileSystemFileHandle.rs new file mode 100644 index 000000000..c11c88e59 --- /dev/null +++ b/vendor/web-sys/src/features/gen_FileSystemFileHandle.rs @@ -0,0 +1,67 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = FileSystemHandle , extends = :: js_sys :: Object , js_name = FileSystemFileHandle , typescript_type = "FileSystemFileHandle")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `FileSystemFileHandle` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemFileHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type FileSystemFileHandle; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "FileSystemFileHandle" , js_name = createSyncAccessHandle)] + #[doc = "The `createSyncAccessHandle()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle/createSyncAccessHandle)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemFileHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn create_sync_access_handle(this: &FileSystemFileHandle) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "FileSystemFileHandle" , js_name = createWritable)] + #[doc = "The `createWritable()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle/createWritable)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemFileHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn create_writable(this: &FileSystemFileHandle) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "FileSystemCreateWritableOptions")] + # [wasm_bindgen (method , structural , js_class = "FileSystemFileHandle" , js_name = createWritable)] + #[doc = "The `createWritable()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle/createWritable)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemCreateWritableOptions`, `FileSystemFileHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn create_writable_with_options( + this: &FileSystemFileHandle, + options: &FileSystemCreateWritableOptions, + ) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "FileSystemFileHandle" , js_name = getFile)] + #[doc = "The `getFile()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle/getFile)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemFileHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_file(this: &FileSystemFileHandle) -> ::js_sys::Promise; +} diff --git a/vendor/web-sys/src/features/gen_FileSystemFlags.rs b/vendor/web-sys/src/features/gen_FileSystemFlags.rs index 3faa15247..d71c57355 100644 --- a/vendor/web-sys/src/features/gen_FileSystemFlags.rs +++ b/vendor/web-sys/src/features/gen_FileSystemFlags.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FileSystemGetDirectoryOptions.rs b/vendor/web-sys/src/features/gen_FileSystemGetDirectoryOptions.rs new file mode 100644 index 000000000..a26ba7356 --- /dev/null +++ b/vendor/web-sys/src/features/gen_FileSystemGetDirectoryOptions.rs @@ -0,0 +1,55 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemGetDirectoryOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `FileSystemGetDirectoryOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemGetDirectoryOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type FileSystemGetDirectoryOptions; +} +#[cfg(web_sys_unstable_apis)] +impl FileSystemGetDirectoryOptions { + #[doc = "Construct a new `FileSystemGetDirectoryOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemGetDirectoryOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `create` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemGetDirectoryOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn create(&mut self, val: bool) -> &mut Self { + use wasm_bindgen::JsValue; + let r = + ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("create"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for FileSystemGetDirectoryOptions { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_FileSystemGetFileOptions.rs b/vendor/web-sys/src/features/gen_FileSystemGetFileOptions.rs new file mode 100644 index 000000000..08dbf37c6 --- /dev/null +++ b/vendor/web-sys/src/features/gen_FileSystemGetFileOptions.rs @@ -0,0 +1,55 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemGetFileOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `FileSystemGetFileOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemGetFileOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type FileSystemGetFileOptions; +} +#[cfg(web_sys_unstable_apis)] +impl FileSystemGetFileOptions { + #[doc = "Construct a new `FileSystemGetFileOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemGetFileOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `create` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemGetFileOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn create(&mut self, val: bool) -> &mut Self { + use wasm_bindgen::JsValue; + let r = + ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("create"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for FileSystemGetFileOptions { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_FileSystemHandle.rs b/vendor/web-sys/src/features/gen_FileSystemHandle.rs new file mode 100644 index 000000000..35e9b66bb --- /dev/null +++ b/vendor/web-sys/src/features/gen_FileSystemHandle.rs @@ -0,0 +1,53 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemHandle , typescript_type = "FileSystemHandle")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `FileSystemHandle` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemHandle)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type FileSystemHandle; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "FileSystemHandleKind")] + # [wasm_bindgen (structural , method , getter , js_class = "FileSystemHandle" , 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/FileSystemHandle/kind)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemHandle`, `FileSystemHandleKind`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn kind(this: &FileSystemHandle) -> FileSystemHandleKind; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "FileSystemHandle" , 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/FileSystemHandle/name)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn name(this: &FileSystemHandle) -> String; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "FileSystemHandle" , js_name = isSameEntry)] + #[doc = "The `isSameEntry()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemHandle/isSameEntry)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn is_same_entry(this: &FileSystemHandle, other: &FileSystemHandle) -> ::js_sys::Promise; +} diff --git a/vendor/web-sys/src/features/gen_FileSystemHandleKind.rs b/vendor/web-sys/src/features/gen_FileSystemHandleKind.rs new file mode 100644 index 000000000..8dfa38a30 --- /dev/null +++ b/vendor/web-sys/src/features/gen_FileSystemHandleKind.rs @@ -0,0 +1,16 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +#[doc = "The `FileSystemHandleKind` enum."] +#[doc = ""] +#[doc = "*This API requires the following crate features to be activated: `FileSystemHandleKind`*"] +#[doc = ""] +#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] +#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum FileSystemHandleKind { + File = "file", + Directory = "directory", +} diff --git a/vendor/web-sys/src/features/gen_FileSystemReadWriteOptions.rs b/vendor/web-sys/src/features/gen_FileSystemReadWriteOptions.rs new file mode 100644 index 000000000..1188a945f --- /dev/null +++ b/vendor/web-sys/src/features/gen_FileSystemReadWriteOptions.rs @@ -0,0 +1,54 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemReadWriteOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `FileSystemReadWriteOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemReadWriteOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type FileSystemReadWriteOptions; +} +#[cfg(web_sys_unstable_apis)] +impl FileSystemReadWriteOptions { + #[doc = "Construct a new `FileSystemReadWriteOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemReadWriteOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `at` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemReadWriteOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn at(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("at"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for FileSystemReadWriteOptions { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_FileSystemRemoveOptions.rs b/vendor/web-sys/src/features/gen_FileSystemRemoveOptions.rs new file mode 100644 index 000000000..a0e895dfc --- /dev/null +++ b/vendor/web-sys/src/features/gen_FileSystemRemoveOptions.rs @@ -0,0 +1,58 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemRemoveOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `FileSystemRemoveOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemRemoveOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type FileSystemRemoveOptions; +} +#[cfg(web_sys_unstable_apis)] +impl FileSystemRemoveOptions { + #[doc = "Construct a new `FileSystemRemoveOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemRemoveOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `recursive` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemRemoveOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn recursive(&mut self, val: bool) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("recursive"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for FileSystemRemoveOptions { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_FileSystemSyncAccessHandle.rs b/vendor/web-sys/src/features/gen_FileSystemSyncAccessHandle.rs new file mode 100644 index 000000000..30d81b46b --- /dev/null +++ b/vendor/web-sys/src/features/gen_FileSystemSyncAccessHandle.rs @@ -0,0 +1,200 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystemSyncAccessHandle , typescript_type = "FileSystemSyncAccessHandle")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `FileSystemSyncAccessHandle` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type FileSystemSyncAccessHandle; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "FileSystemSyncAccessHandle" , js_name = close)] + #[doc = "The `close()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/close)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn close(this: &FileSystemSyncAccessHandle); + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemSyncAccessHandle" , js_name = flush)] + #[doc = "The `flush()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/flush)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn flush(this: &FileSystemSyncAccessHandle) -> Result<(), JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemSyncAccessHandle" , js_name = getSize)] + #[doc = "The `getSize()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/getSize)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_size(this: &FileSystemSyncAccessHandle) -> Result<f64, JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemSyncAccessHandle" , js_name = read)] + #[doc = "The `read()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/read)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn read_with_buffer_source( + this: &FileSystemSyncAccessHandle, + buffer: &::js_sys::Object, + ) -> Result<f64, JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemSyncAccessHandle" , js_name = read)] + #[doc = "The `read()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/read)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn read_with_u8_array( + this: &FileSystemSyncAccessHandle, + buffer: &mut [u8], + ) -> Result<f64, JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "FileSystemReadWriteOptions")] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemSyncAccessHandle" , js_name = read)] + #[doc = "The `read()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/read)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemReadWriteOptions`, `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn read_with_buffer_source_and_options( + this: &FileSystemSyncAccessHandle, + buffer: &::js_sys::Object, + options: &FileSystemReadWriteOptions, + ) -> Result<f64, JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "FileSystemReadWriteOptions")] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemSyncAccessHandle" , js_name = read)] + #[doc = "The `read()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/read)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemReadWriteOptions`, `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn read_with_u8_array_and_options( + this: &FileSystemSyncAccessHandle, + buffer: &mut [u8], + options: &FileSystemReadWriteOptions, + ) -> Result<f64, JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemSyncAccessHandle" , js_name = truncate)] + #[doc = "The `truncate()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/truncate)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn truncate_with_u32( + this: &FileSystemSyncAccessHandle, + new_size: u32, + ) -> Result<(), JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemSyncAccessHandle" , js_name = truncate)] + #[doc = "The `truncate()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/truncate)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn truncate_with_f64( + this: &FileSystemSyncAccessHandle, + new_size: f64, + ) -> Result<(), JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemSyncAccessHandle" , js_name = write)] + #[doc = "The `write()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/write)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn write_with_buffer_source( + this: &FileSystemSyncAccessHandle, + buffer: &::js_sys::Object, + ) -> Result<f64, JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemSyncAccessHandle" , js_name = write)] + #[doc = "The `write()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/write)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn write_with_u8_array( + this: &FileSystemSyncAccessHandle, + buffer: &mut [u8], + ) -> Result<f64, JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "FileSystemReadWriteOptions")] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemSyncAccessHandle" , js_name = write)] + #[doc = "The `write()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/write)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemReadWriteOptions`, `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn write_with_buffer_source_and_options( + this: &FileSystemSyncAccessHandle, + buffer: &::js_sys::Object, + options: &FileSystemReadWriteOptions, + ) -> Result<f64, JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "FileSystemReadWriteOptions")] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemSyncAccessHandle" , js_name = write)] + #[doc = "The `write()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/write)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemReadWriteOptions`, `FileSystemSyncAccessHandle`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn write_with_u8_array_and_options( + this: &FileSystemSyncAccessHandle, + buffer: &mut [u8], + options: &FileSystemReadWriteOptions, + ) -> Result<f64, JsValue>; +} diff --git a/vendor/web-sys/src/features/gen_FileSystemWritableFileStream.rs b/vendor/web-sys/src/features/gen_FileSystemWritableFileStream.rs new file mode 100644 index 000000000..c36982283 --- /dev/null +++ b/vendor/web-sys/src/features/gen_FileSystemWritableFileStream.rs @@ -0,0 +1,147 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = WritableStream , extends = :: js_sys :: Object , js_name = FileSystemWritableFileStream , typescript_type = "FileSystemWritableFileStream")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `FileSystemWritableFileStream` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemWritableFileStream)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemWritableFileStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type FileSystemWritableFileStream; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemWritableFileStream" , js_name = seek)] + #[doc = "The `seek()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemWritableFileStream/seek)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemWritableFileStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn seek_with_u32( + this: &FileSystemWritableFileStream, + position: u32, + ) -> Result<::js_sys::Promise, JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemWritableFileStream" , js_name = seek)] + #[doc = "The `seek()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemWritableFileStream/seek)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemWritableFileStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn seek_with_f64( + this: &FileSystemWritableFileStream, + position: f64, + ) -> Result<::js_sys::Promise, JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemWritableFileStream" , js_name = truncate)] + #[doc = "The `truncate()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemWritableFileStream/truncate)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemWritableFileStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn truncate_with_u32( + this: &FileSystemWritableFileStream, + size: u32, + ) -> Result<::js_sys::Promise, JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemWritableFileStream" , js_name = truncate)] + #[doc = "The `truncate()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemWritableFileStream/truncate)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemWritableFileStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn truncate_with_f64( + this: &FileSystemWritableFileStream, + size: f64, + ) -> Result<::js_sys::Promise, JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemWritableFileStream" , js_name = write)] + #[doc = "The `write()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemWritableFileStream/write)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemWritableFileStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn write_with_buffer_source( + this: &FileSystemWritableFileStream, + data: &::js_sys::Object, + ) -> Result<::js_sys::Promise, JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemWritableFileStream" , js_name = write)] + #[doc = "The `write()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemWritableFileStream/write)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemWritableFileStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn write_with_u8_array( + this: &FileSystemWritableFileStream, + data: &mut [u8], + ) -> Result<::js_sys::Promise, JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "Blob")] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemWritableFileStream" , js_name = write)] + #[doc = "The `write()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemWritableFileStream/write)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Blob`, `FileSystemWritableFileStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn write_with_blob( + this: &FileSystemWritableFileStream, + data: &Blob, + ) -> Result<::js_sys::Promise, JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemWritableFileStream" , js_name = write)] + #[doc = "The `write()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemWritableFileStream/write)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemWritableFileStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn write_with_str( + this: &FileSystemWritableFileStream, + data: &str, + ) -> Result<::js_sys::Promise, JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WriteParams")] + # [wasm_bindgen (catch , method , structural , js_class = "FileSystemWritableFileStream" , js_name = write)] + #[doc = "The `write()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemWritableFileStream/write)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystemWritableFileStream`, `WriteParams`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn write_with_write_params( + this: &FileSystemWritableFileStream, + data: &WriteParams, + ) -> Result<::js_sys::Promise, JsValue>; +} diff --git a/vendor/web-sys/src/features/gen_FillMode.rs b/vendor/web-sys/src/features/gen_FillMode.rs index 1e1001a68..8897bde85 100644 --- a/vendor/web-sys/src/features/gen_FillMode.rs +++ b/vendor/web-sys/src/features/gen_FillMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `FillMode` enum."] diff --git a/vendor/web-sys/src/features/gen_FlashClassification.rs b/vendor/web-sys/src/features/gen_FlashClassification.rs index eecf9f8f6..08e526915 100644 --- a/vendor/web-sys/src/features/gen_FlashClassification.rs +++ b/vendor/web-sys/src/features/gen_FlashClassification.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `FlashClassification` enum."] diff --git a/vendor/web-sys/src/features/gen_FlexLineGrowthState.rs b/vendor/web-sys/src/features/gen_FlexLineGrowthState.rs index ee9375312..8b4bd3fd9 100644 --- a/vendor/web-sys/src/features/gen_FlexLineGrowthState.rs +++ b/vendor/web-sys/src/features/gen_FlexLineGrowthState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `FlexLineGrowthState` enum."] diff --git a/vendor/web-sys/src/features/gen_FlowControlType.rs b/vendor/web-sys/src/features/gen_FlowControlType.rs index 132d1872e..0b9f4c5e9 100644 --- a/vendor/web-sys/src/features/gen_FlowControlType.rs +++ b/vendor/web-sys/src/features/gen_FlowControlType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FocusEvent.rs b/vendor/web-sys/src/features/gen_FocusEvent.rs index d50c0dca3..90f7c679b 100644 --- a/vendor/web-sys/src/features/gen_FocusEvent.rs +++ b/vendor/web-sys/src/features/gen_FocusEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FocusEventInit.rs b/vendor/web-sys/src/features/gen_FocusEventInit.rs index b58db2076..04077403e 100644 --- a/vendor/web-sys/src/features/gen_FocusEventInit.rs +++ b/vendor/web-sys/src/features/gen_FocusEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FontData.rs b/vendor/web-sys/src/features/gen_FontData.rs new file mode 100644 index 000000000..c1bebfa28 --- /dev/null +++ b/vendor/web-sys/src/features/gen_FontData.rs @@ -0,0 +1,74 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FontData , typescript_type = "FontData")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `FontData` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontData)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FontData`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type FontData; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "FontData" , js_name = postscriptName)] + #[doc = "Getter for the `postscriptName` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontData/postscriptName)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FontData`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn postscript_name(this: &FontData) -> String; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "FontData" , js_name = fullName)] + #[doc = "Getter for the `fullName` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontData/fullName)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FontData`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn full_name(this: &FontData) -> String; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "FontData" , 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/FontData/family)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FontData`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn family(this: &FontData) -> String; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "FontData" , 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/FontData/style)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FontData`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn style(this: &FontData) -> String; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "FontData" , js_name = blob)] + #[doc = "The `blob()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontData/blob)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FontData`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn blob(this: &FontData) -> ::js_sys::Promise; +} diff --git a/vendor/web-sys/src/features/gen_FontFace.rs b/vendor/web-sys/src/features/gen_FontFace.rs index b1c93184a..529713b2d 100644 --- a/vendor/web-sys/src/features/gen_FontFace.rs +++ b/vendor/web-sys/src/features/gen_FontFace.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FontFaceDescriptors.rs b/vendor/web-sys/src/features/gen_FontFaceDescriptors.rs index 080792fc1..d83466e85 100644 --- a/vendor/web-sys/src/features/gen_FontFaceDescriptors.rs +++ b/vendor/web-sys/src/features/gen_FontFaceDescriptors.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FontFaceLoadStatus.rs b/vendor/web-sys/src/features/gen_FontFaceLoadStatus.rs index f029f8cf1..2d86cda84 100644 --- a/vendor/web-sys/src/features/gen_FontFaceLoadStatus.rs +++ b/vendor/web-sys/src/features/gen_FontFaceLoadStatus.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `FontFaceLoadStatus` enum."] diff --git a/vendor/web-sys/src/features/gen_FontFaceSet.rs b/vendor/web-sys/src/features/gen_FontFaceSet.rs index 99c8a1f08..75a23e3d0 100644 --- a/vendor/web-sys/src/features/gen_FontFaceSet.rs +++ b/vendor/web-sys/src/features/gen_FontFaceSet.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FontFaceSetIterator.rs b/vendor/web-sys/src/features/gen_FontFaceSetIterator.rs index 8191f5d10..fe0d8069b 100644 --- a/vendor/web-sys/src/features/gen_FontFaceSetIterator.rs +++ b/vendor/web-sys/src/features/gen_FontFaceSetIterator.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FontFaceSetIteratorResult.rs b/vendor/web-sys/src/features/gen_FontFaceSetIteratorResult.rs index 5b9bcf376..6046ac078 100644 --- a/vendor/web-sys/src/features/gen_FontFaceSetIteratorResult.rs +++ b/vendor/web-sys/src/features/gen_FontFaceSetIteratorResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FontFaceSetLoadEvent.rs b/vendor/web-sys/src/features/gen_FontFaceSetLoadEvent.rs index 800102f8f..a8bd6a68d 100644 --- a/vendor/web-sys/src/features/gen_FontFaceSetLoadEvent.rs +++ b/vendor/web-sys/src/features/gen_FontFaceSetLoadEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FontFaceSetLoadEventInit.rs b/vendor/web-sys/src/features/gen_FontFaceSetLoadEventInit.rs index 34570f4cb..154e3a30c 100644 --- a/vendor/web-sys/src/features/gen_FontFaceSetLoadEventInit.rs +++ b/vendor/web-sys/src/features/gen_FontFaceSetLoadEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FontFaceSetLoadStatus.rs b/vendor/web-sys/src/features/gen_FontFaceSetLoadStatus.rs index a97a1cefd..ab61481ea 100644 --- a/vendor/web-sys/src/features/gen_FontFaceSetLoadStatus.rs +++ b/vendor/web-sys/src/features/gen_FontFaceSetLoadStatus.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `FontFaceSetLoadStatus` enum."] diff --git a/vendor/web-sys/src/features/gen_FormData.rs b/vendor/web-sys/src/features/gen_FormData.rs index e60528529..a75c95b00 100644 --- a/vendor/web-sys/src/features/gen_FormData.rs +++ b/vendor/web-sys/src/features/gen_FormData.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_FrameType.rs b/vendor/web-sys/src/features/gen_FrameType.rs index 2e3753426..fd18caca0 100644 --- a/vendor/web-sys/src/features/gen_FrameType.rs +++ b/vendor/web-sys/src/features/gen_FrameType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `FrameType` enum."] diff --git a/vendor/web-sys/src/features/gen_FuzzingFunctions.rs b/vendor/web-sys/src/features/gen_FuzzingFunctions.rs index f3a6d7fca..76505ea38 100644 --- a/vendor/web-sys/src/features/gen_FuzzingFunctions.rs +++ b/vendor/web-sys/src/features/gen_FuzzingFunctions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GainNode.rs b/vendor/web-sys/src/features/gen_GainNode.rs index fe5d28d70..fc96a098e 100644 --- a/vendor/web-sys/src/features/gen_GainNode.rs +++ b/vendor/web-sys/src/features/gen_GainNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GainOptions.rs b/vendor/web-sys/src/features/gen_GainOptions.rs index 9fc6b7605..fdafdf807 100644 --- a/vendor/web-sys/src/features/gen_GainOptions.rs +++ b/vendor/web-sys/src/features/gen_GainOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Gamepad.rs b/vendor/web-sys/src/features/gen_Gamepad.rs index 7545cec16..c9cd0e791 100644 --- a/vendor/web-sys/src/features/gen_Gamepad.rs +++ b/vendor/web-sys/src/features/gen_Gamepad.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GamepadAxisMoveEvent.rs b/vendor/web-sys/src/features/gen_GamepadAxisMoveEvent.rs index 479cf3e4c..4ab18a1eb 100644 --- a/vendor/web-sys/src/features/gen_GamepadAxisMoveEvent.rs +++ b/vendor/web-sys/src/features/gen_GamepadAxisMoveEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GamepadAxisMoveEventInit.rs b/vendor/web-sys/src/features/gen_GamepadAxisMoveEventInit.rs index 4118c3e7a..6f9b9995c 100644 --- a/vendor/web-sys/src/features/gen_GamepadAxisMoveEventInit.rs +++ b/vendor/web-sys/src/features/gen_GamepadAxisMoveEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GamepadButton.rs b/vendor/web-sys/src/features/gen_GamepadButton.rs index f06e3ec7d..93dacc17b 100644 --- a/vendor/web-sys/src/features/gen_GamepadButton.rs +++ b/vendor/web-sys/src/features/gen_GamepadButton.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GamepadButtonEvent.rs b/vendor/web-sys/src/features/gen_GamepadButtonEvent.rs index c04f72496..422621484 100644 --- a/vendor/web-sys/src/features/gen_GamepadButtonEvent.rs +++ b/vendor/web-sys/src/features/gen_GamepadButtonEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GamepadButtonEventInit.rs b/vendor/web-sys/src/features/gen_GamepadButtonEventInit.rs index 3882908c9..571424248 100644 --- a/vendor/web-sys/src/features/gen_GamepadButtonEventInit.rs +++ b/vendor/web-sys/src/features/gen_GamepadButtonEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GamepadEvent.rs b/vendor/web-sys/src/features/gen_GamepadEvent.rs index 22988feac..aee274f3d 100644 --- a/vendor/web-sys/src/features/gen_GamepadEvent.rs +++ b/vendor/web-sys/src/features/gen_GamepadEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GamepadEventInit.rs b/vendor/web-sys/src/features/gen_GamepadEventInit.rs index 67d67ad7b..8ffd29284 100644 --- a/vendor/web-sys/src/features/gen_GamepadEventInit.rs +++ b/vendor/web-sys/src/features/gen_GamepadEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GamepadHand.rs b/vendor/web-sys/src/features/gen_GamepadHand.rs index 88650f3cb..191aff88e 100644 --- a/vendor/web-sys/src/features/gen_GamepadHand.rs +++ b/vendor/web-sys/src/features/gen_GamepadHand.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `GamepadHand` enum."] diff --git a/vendor/web-sys/src/features/gen_GamepadHapticActuator.rs b/vendor/web-sys/src/features/gen_GamepadHapticActuator.rs index 98c01912e..8a6737528 100644 --- a/vendor/web-sys/src/features/gen_GamepadHapticActuator.rs +++ b/vendor/web-sys/src/features/gen_GamepadHapticActuator.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GamepadHapticActuatorType.rs b/vendor/web-sys/src/features/gen_GamepadHapticActuatorType.rs index cc6bf0441..7fb9239ed 100644 --- a/vendor/web-sys/src/features/gen_GamepadHapticActuatorType.rs +++ b/vendor/web-sys/src/features/gen_GamepadHapticActuatorType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `GamepadHapticActuatorType` enum."] diff --git a/vendor/web-sys/src/features/gen_GamepadMappingType.rs b/vendor/web-sys/src/features/gen_GamepadMappingType.rs index 14b69f24b..00873cf87 100644 --- a/vendor/web-sys/src/features/gen_GamepadMappingType.rs +++ b/vendor/web-sys/src/features/gen_GamepadMappingType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `GamepadMappingType` enum."] diff --git a/vendor/web-sys/src/features/gen_GamepadPose.rs b/vendor/web-sys/src/features/gen_GamepadPose.rs index a8980c3f7..923f1b47e 100644 --- a/vendor/web-sys/src/features/gen_GamepadPose.rs +++ b/vendor/web-sys/src/features/gen_GamepadPose.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GamepadServiceTest.rs b/vendor/web-sys/src/features/gen_GamepadServiceTest.rs index 93db83331..a8cd86aef 100644 --- a/vendor/web-sys/src/features/gen_GamepadServiceTest.rs +++ b/vendor/web-sys/src/features/gen_GamepadServiceTest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Geolocation.rs b/vendor/web-sys/src/features/gen_Geolocation.rs index 896b7ffb9..26b3d6247 100644 --- a/vendor/web-sys/src/features/gen_Geolocation.rs +++ b/vendor/web-sys/src/features/gen_Geolocation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GetAnimationsOptions.rs b/vendor/web-sys/src/features/gen_GetAnimationsOptions.rs new file mode 100644 index 000000000..ec5f36532 --- /dev/null +++ b/vendor/web-sys/src/features/gen_GetAnimationsOptions.rs @@ -0,0 +1,58 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GetAnimationsOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `GetAnimationsOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `GetAnimationsOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type GetAnimationsOptions; +} +#[cfg(web_sys_unstable_apis)] +impl GetAnimationsOptions { + #[doc = "Construct a new `GetAnimationsOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `GetAnimationsOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `subtree` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `GetAnimationsOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn subtree(&mut self, val: bool) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("subtree"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for GetAnimationsOptions { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_GetNotificationOptions.rs b/vendor/web-sys/src/features/gen_GetNotificationOptions.rs index 3dc3788f7..ac6589dd6 100644 --- a/vendor/web-sys/src/features/gen_GetNotificationOptions.rs +++ b/vendor/web-sys/src/features/gen_GetNotificationOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GetRootNodeOptions.rs b/vendor/web-sys/src/features/gen_GetRootNodeOptions.rs index 41a8cc3db..9539c52a7 100644 --- a/vendor/web-sys/src/features/gen_GetRootNodeOptions.rs +++ b/vendor/web-sys/src/features/gen_GetRootNodeOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GetUserMediaRequest.rs b/vendor/web-sys/src/features/gen_GetUserMediaRequest.rs index da4a744cb..64718909a 100644 --- a/vendor/web-sys/src/features/gen_GetUserMediaRequest.rs +++ b/vendor/web-sys/src/features/gen_GetUserMediaRequest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Gpu.rs b/vendor/web-sys/src/features/gen_Gpu.rs index 6515bdab3..1001f2aa8 100644 --- a/vendor/web-sys/src/features/gen_Gpu.rs +++ b/vendor/web-sys/src/features/gen_Gpu.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuAdapter.rs b/vendor/web-sys/src/features/gen_GpuAdapter.rs index ee64df54a..47d9b96b1 100644 --- a/vendor/web-sys/src/features/gen_GpuAdapter.rs +++ b/vendor/web-sys/src/features/gen_GpuAdapter.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuAdapterInfo.rs b/vendor/web-sys/src/features/gen_GpuAdapterInfo.rs index 2e5609c56..b2f415109 100644 --- a/vendor/web-sys/src/features/gen_GpuAdapterInfo.rs +++ b/vendor/web-sys/src/features/gen_GpuAdapterInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuAddressMode.rs b/vendor/web-sys/src/features/gen_GpuAddressMode.rs index b607dc093..c0710da06 100644 --- a/vendor/web-sys/src/features/gen_GpuAddressMode.rs +++ b/vendor/web-sys/src/features/gen_GpuAddressMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuAutoLayoutMode.rs b/vendor/web-sys/src/features/gen_GpuAutoLayoutMode.rs index 95258c4bb..8b56987a9 100644 --- a/vendor/web-sys/src/features/gen_GpuAutoLayoutMode.rs +++ b/vendor/web-sys/src/features/gen_GpuAutoLayoutMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuBindGroup.rs b/vendor/web-sys/src/features/gen_GpuBindGroup.rs index 1bef04717..149b5191d 100644 --- a/vendor/web-sys/src/features/gen_GpuBindGroup.rs +++ b/vendor/web-sys/src/features/gen_GpuBindGroup.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuBindGroupDescriptor.rs b/vendor/web-sys/src/features/gen_GpuBindGroupDescriptor.rs index 528a40a46..fa5a21d2c 100644 --- a/vendor/web-sys/src/features/gen_GpuBindGroupDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuBindGroupDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuBindGroupEntry.rs b/vendor/web-sys/src/features/gen_GpuBindGroupEntry.rs index 72c7de2ac..e4dce4d27 100644 --- a/vendor/web-sys/src/features/gen_GpuBindGroupEntry.rs +++ b/vendor/web-sys/src/features/gen_GpuBindGroupEntry.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuBindGroupLayout.rs b/vendor/web-sys/src/features/gen_GpuBindGroupLayout.rs index 0e4604fb1..40e00c0f1 100644 --- a/vendor/web-sys/src/features/gen_GpuBindGroupLayout.rs +++ b/vendor/web-sys/src/features/gen_GpuBindGroupLayout.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuBindGroupLayoutDescriptor.rs b/vendor/web-sys/src/features/gen_GpuBindGroupLayoutDescriptor.rs index 0a67dc1bd..5faf64dc6 100644 --- a/vendor/web-sys/src/features/gen_GpuBindGroupLayoutDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuBindGroupLayoutDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuBindGroupLayoutEntry.rs b/vendor/web-sys/src/features/gen_GpuBindGroupLayoutEntry.rs index 94e04dc42..b072d01e1 100644 --- a/vendor/web-sys/src/features/gen_GpuBindGroupLayoutEntry.rs +++ b/vendor/web-sys/src/features/gen_GpuBindGroupLayoutEntry.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuBlendComponent.rs b/vendor/web-sys/src/features/gen_GpuBlendComponent.rs index ed62e7dcb..644948275 100644 --- a/vendor/web-sys/src/features/gen_GpuBlendComponent.rs +++ b/vendor/web-sys/src/features/gen_GpuBlendComponent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuBlendFactor.rs b/vendor/web-sys/src/features/gen_GpuBlendFactor.rs index 77aed0f3e..a8de869f3 100644 --- a/vendor/web-sys/src/features/gen_GpuBlendFactor.rs +++ b/vendor/web-sys/src/features/gen_GpuBlendFactor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuBlendOperation.rs b/vendor/web-sys/src/features/gen_GpuBlendOperation.rs index 69ae1f0ac..ad66d0a51 100644 --- a/vendor/web-sys/src/features/gen_GpuBlendOperation.rs +++ b/vendor/web-sys/src/features/gen_GpuBlendOperation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuBlendState.rs b/vendor/web-sys/src/features/gen_GpuBlendState.rs index 3d9204ae7..70b2833a7 100644 --- a/vendor/web-sys/src/features/gen_GpuBlendState.rs +++ b/vendor/web-sys/src/features/gen_GpuBlendState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuBuffer.rs b/vendor/web-sys/src/features/gen_GpuBuffer.rs index ce58b85df..436ba800c 100644 --- a/vendor/web-sys/src/features/gen_GpuBuffer.rs +++ b/vendor/web-sys/src/features/gen_GpuBuffer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuBufferBinding.rs b/vendor/web-sys/src/features/gen_GpuBufferBinding.rs index 0e0c89047..9181923a5 100644 --- a/vendor/web-sys/src/features/gen_GpuBufferBinding.rs +++ b/vendor/web-sys/src/features/gen_GpuBufferBinding.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuBufferBindingLayout.rs b/vendor/web-sys/src/features/gen_GpuBufferBindingLayout.rs index e722860d6..3ce28b46b 100644 --- a/vendor/web-sys/src/features/gen_GpuBufferBindingLayout.rs +++ b/vendor/web-sys/src/features/gen_GpuBufferBindingLayout.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuBufferBindingType.rs b/vendor/web-sys/src/features/gen_GpuBufferBindingType.rs index 8be5d8fe7..d297f54b4 100644 --- a/vendor/web-sys/src/features/gen_GpuBufferBindingType.rs +++ b/vendor/web-sys/src/features/gen_GpuBufferBindingType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuBufferDescriptor.rs b/vendor/web-sys/src/features/gen_GpuBufferDescriptor.rs index cc677ecb5..adb1ae316 100644 --- a/vendor/web-sys/src/features/gen_GpuBufferDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuBufferDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuBufferMapState.rs b/vendor/web-sys/src/features/gen_GpuBufferMapState.rs index 26bb64a84..3e6049ffd 100644 --- a/vendor/web-sys/src/features/gen_GpuBufferMapState.rs +++ b/vendor/web-sys/src/features/gen_GpuBufferMapState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuCanvasAlphaMode.rs b/vendor/web-sys/src/features/gen_GpuCanvasAlphaMode.rs index d823caa47..96d11c720 100644 --- a/vendor/web-sys/src/features/gen_GpuCanvasAlphaMode.rs +++ b/vendor/web-sys/src/features/gen_GpuCanvasAlphaMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuCanvasConfiguration.rs b/vendor/web-sys/src/features/gen_GpuCanvasConfiguration.rs index 883efb4b1..84c5ca437 100644 --- a/vendor/web-sys/src/features/gen_GpuCanvasConfiguration.rs +++ b/vendor/web-sys/src/features/gen_GpuCanvasConfiguration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuCanvasContext.rs b/vendor/web-sys/src/features/gen_GpuCanvasContext.rs index 797cfe0b2..c5f50dd5a 100644 --- a/vendor/web-sys/src/features/gen_GpuCanvasContext.rs +++ b/vendor/web-sys/src/features/gen_GpuCanvasContext.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuColorDict.rs b/vendor/web-sys/src/features/gen_GpuColorDict.rs index de5420ee5..51d4be588 100644 --- a/vendor/web-sys/src/features/gen_GpuColorDict.rs +++ b/vendor/web-sys/src/features/gen_GpuColorDict.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuColorTargetState.rs b/vendor/web-sys/src/features/gen_GpuColorTargetState.rs index 2e910d7b6..d239a2682 100644 --- a/vendor/web-sys/src/features/gen_GpuColorTargetState.rs +++ b/vendor/web-sys/src/features/gen_GpuColorTargetState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuCommandBuffer.rs b/vendor/web-sys/src/features/gen_GpuCommandBuffer.rs index 445d05b0e..d7054cece 100644 --- a/vendor/web-sys/src/features/gen_GpuCommandBuffer.rs +++ b/vendor/web-sys/src/features/gen_GpuCommandBuffer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuCommandBufferDescriptor.rs b/vendor/web-sys/src/features/gen_GpuCommandBufferDescriptor.rs index c5fec9f8c..34036b2c8 100644 --- a/vendor/web-sys/src/features/gen_GpuCommandBufferDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuCommandBufferDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuCommandEncoder.rs b/vendor/web-sys/src/features/gen_GpuCommandEncoder.rs index c4ae2dc74..bc9e5860e 100644 --- a/vendor/web-sys/src/features/gen_GpuCommandEncoder.rs +++ b/vendor/web-sys/src/features/gen_GpuCommandEncoder.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuCommandEncoderDescriptor.rs b/vendor/web-sys/src/features/gen_GpuCommandEncoderDescriptor.rs index 2a858a294..08a08d44f 100644 --- a/vendor/web-sys/src/features/gen_GpuCommandEncoderDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuCommandEncoderDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuCompareFunction.rs b/vendor/web-sys/src/features/gen_GpuCompareFunction.rs index cdbeaae6b..8e01e1903 100644 --- a/vendor/web-sys/src/features/gen_GpuCompareFunction.rs +++ b/vendor/web-sys/src/features/gen_GpuCompareFunction.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuCompilationInfo.rs b/vendor/web-sys/src/features/gen_GpuCompilationInfo.rs index 02974b615..c8785939e 100644 --- a/vendor/web-sys/src/features/gen_GpuCompilationInfo.rs +++ b/vendor/web-sys/src/features/gen_GpuCompilationInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuCompilationMessage.rs b/vendor/web-sys/src/features/gen_GpuCompilationMessage.rs index 927a3c545..227fa2314 100644 --- a/vendor/web-sys/src/features/gen_GpuCompilationMessage.rs +++ b/vendor/web-sys/src/features/gen_GpuCompilationMessage.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuCompilationMessageType.rs b/vendor/web-sys/src/features/gen_GpuCompilationMessageType.rs index 6f1108141..74780e3d5 100644 --- a/vendor/web-sys/src/features/gen_GpuCompilationMessageType.rs +++ b/vendor/web-sys/src/features/gen_GpuCompilationMessageType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuComputePassDescriptor.rs b/vendor/web-sys/src/features/gen_GpuComputePassDescriptor.rs index b708dc67e..475c0acbf 100644 --- a/vendor/web-sys/src/features/gen_GpuComputePassDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuComputePassDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuComputePassEncoder.rs b/vendor/web-sys/src/features/gen_GpuComputePassEncoder.rs index a4b9e292c..631411690 100644 --- a/vendor/web-sys/src/features/gen_GpuComputePassEncoder.rs +++ b/vendor/web-sys/src/features/gen_GpuComputePassEncoder.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuComputePassTimestampLocation.rs b/vendor/web-sys/src/features/gen_GpuComputePassTimestampLocation.rs index 72142d131..488991565 100644 --- a/vendor/web-sys/src/features/gen_GpuComputePassTimestampLocation.rs +++ b/vendor/web-sys/src/features/gen_GpuComputePassTimestampLocation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuComputePassTimestampWrite.rs b/vendor/web-sys/src/features/gen_GpuComputePassTimestampWrite.rs index 0d6c36da0..189b759ce 100644 --- a/vendor/web-sys/src/features/gen_GpuComputePassTimestampWrite.rs +++ b/vendor/web-sys/src/features/gen_GpuComputePassTimestampWrite.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuComputePipeline.rs b/vendor/web-sys/src/features/gen_GpuComputePipeline.rs index e47a232b2..cb6d17283 100644 --- a/vendor/web-sys/src/features/gen_GpuComputePipeline.rs +++ b/vendor/web-sys/src/features/gen_GpuComputePipeline.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuComputePipelineDescriptor.rs b/vendor/web-sys/src/features/gen_GpuComputePipelineDescriptor.rs index 33ff02f84..22a283822 100644 --- a/vendor/web-sys/src/features/gen_GpuComputePipelineDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuComputePipelineDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuCullMode.rs b/vendor/web-sys/src/features/gen_GpuCullMode.rs index 4c53e8e88..f17ba1511 100644 --- a/vendor/web-sys/src/features/gen_GpuCullMode.rs +++ b/vendor/web-sys/src/features/gen_GpuCullMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuDepthStencilState.rs b/vendor/web-sys/src/features/gen_GpuDepthStencilState.rs index cad23eadf..8869e1ce3 100644 --- a/vendor/web-sys/src/features/gen_GpuDepthStencilState.rs +++ b/vendor/web-sys/src/features/gen_GpuDepthStencilState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuDevice.rs b/vendor/web-sys/src/features/gen_GpuDevice.rs index 05382204e..4ee8647c8 100644 --- a/vendor/web-sys/src/features/gen_GpuDevice.rs +++ b/vendor/web-sys/src/features/gen_GpuDevice.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuDeviceDescriptor.rs b/vendor/web-sys/src/features/gen_GpuDeviceDescriptor.rs index d29661fdc..e414b2d64 100644 --- a/vendor/web-sys/src/features/gen_GpuDeviceDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuDeviceDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuDeviceLostInfo.rs b/vendor/web-sys/src/features/gen_GpuDeviceLostInfo.rs index bcc59f58e..00d88cd05 100644 --- a/vendor/web-sys/src/features/gen_GpuDeviceLostInfo.rs +++ b/vendor/web-sys/src/features/gen_GpuDeviceLostInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuDeviceLostReason.rs b/vendor/web-sys/src/features/gen_GpuDeviceLostReason.rs index 1317793dc..3a8f6d89c 100644 --- a/vendor/web-sys/src/features/gen_GpuDeviceLostReason.rs +++ b/vendor/web-sys/src/features/gen_GpuDeviceLostReason.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuError.rs b/vendor/web-sys/src/features/gen_GpuError.rs index dd91c879f..1d0894215 100644 --- a/vendor/web-sys/src/features/gen_GpuError.rs +++ b/vendor/web-sys/src/features/gen_GpuError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuErrorFilter.rs b/vendor/web-sys/src/features/gen_GpuErrorFilter.rs index 36244a057..070f8e984 100644 --- a/vendor/web-sys/src/features/gen_GpuErrorFilter.rs +++ b/vendor/web-sys/src/features/gen_GpuErrorFilter.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuExtent3dDict.rs b/vendor/web-sys/src/features/gen_GpuExtent3dDict.rs index 5d0c8aafa..b99cac13f 100644 --- a/vendor/web-sys/src/features/gen_GpuExtent3dDict.rs +++ b/vendor/web-sys/src/features/gen_GpuExtent3dDict.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuExternalTexture.rs b/vendor/web-sys/src/features/gen_GpuExternalTexture.rs index e04f4776e..f3fb9ac19 100644 --- a/vendor/web-sys/src/features/gen_GpuExternalTexture.rs +++ b/vendor/web-sys/src/features/gen_GpuExternalTexture.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuExternalTextureBindingLayout.rs b/vendor/web-sys/src/features/gen_GpuExternalTextureBindingLayout.rs index d9d6071ca..334427d0e 100644 --- a/vendor/web-sys/src/features/gen_GpuExternalTextureBindingLayout.rs +++ b/vendor/web-sys/src/features/gen_GpuExternalTextureBindingLayout.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuExternalTextureDescriptor.rs b/vendor/web-sys/src/features/gen_GpuExternalTextureDescriptor.rs index 623b06493..f6a11bc00 100644 --- a/vendor/web-sys/src/features/gen_GpuExternalTextureDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuExternalTextureDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuFeatureName.rs b/vendor/web-sys/src/features/gen_GpuFeatureName.rs index 9a34268be..4bb8a433b 100644 --- a/vendor/web-sys/src/features/gen_GpuFeatureName.rs +++ b/vendor/web-sys/src/features/gen_GpuFeatureName.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuFilterMode.rs b/vendor/web-sys/src/features/gen_GpuFilterMode.rs index b1a7f1d18..7edd76b6c 100644 --- a/vendor/web-sys/src/features/gen_GpuFilterMode.rs +++ b/vendor/web-sys/src/features/gen_GpuFilterMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuFragmentState.rs b/vendor/web-sys/src/features/gen_GpuFragmentState.rs index 395df4ffd..01045694c 100644 --- a/vendor/web-sys/src/features/gen_GpuFragmentState.rs +++ b/vendor/web-sys/src/features/gen_GpuFragmentState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuFrontFace.rs b/vendor/web-sys/src/features/gen_GpuFrontFace.rs index 04eac273c..af1f79c3e 100644 --- a/vendor/web-sys/src/features/gen_GpuFrontFace.rs +++ b/vendor/web-sys/src/features/gen_GpuFrontFace.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuImageCopyBuffer.rs b/vendor/web-sys/src/features/gen_GpuImageCopyBuffer.rs index 150bc9dcd..20ca5f341 100644 --- a/vendor/web-sys/src/features/gen_GpuImageCopyBuffer.rs +++ b/vendor/web-sys/src/features/gen_GpuImageCopyBuffer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuImageCopyExternalImage.rs b/vendor/web-sys/src/features/gen_GpuImageCopyExternalImage.rs index 03d1f9c37..acd0d5317 100644 --- a/vendor/web-sys/src/features/gen_GpuImageCopyExternalImage.rs +++ b/vendor/web-sys/src/features/gen_GpuImageCopyExternalImage.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuImageCopyTexture.rs b/vendor/web-sys/src/features/gen_GpuImageCopyTexture.rs index 0e55fc2cc..4b727effa 100644 --- a/vendor/web-sys/src/features/gen_GpuImageCopyTexture.rs +++ b/vendor/web-sys/src/features/gen_GpuImageCopyTexture.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuImageCopyTextureTagged.rs b/vendor/web-sys/src/features/gen_GpuImageCopyTextureTagged.rs index 8d69dbe30..64d38a7c2 100644 --- a/vendor/web-sys/src/features/gen_GpuImageCopyTextureTagged.rs +++ b/vendor/web-sys/src/features/gen_GpuImageCopyTextureTagged.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuImageDataLayout.rs b/vendor/web-sys/src/features/gen_GpuImageDataLayout.rs index 80be6b079..25895ed4e 100644 --- a/vendor/web-sys/src/features/gen_GpuImageDataLayout.rs +++ b/vendor/web-sys/src/features/gen_GpuImageDataLayout.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuIndexFormat.rs b/vendor/web-sys/src/features/gen_GpuIndexFormat.rs index ffc65c10b..6812c5c52 100644 --- a/vendor/web-sys/src/features/gen_GpuIndexFormat.rs +++ b/vendor/web-sys/src/features/gen_GpuIndexFormat.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuInternalError.rs b/vendor/web-sys/src/features/gen_GpuInternalError.rs index 3625b54dd..ed26c9ae0 100644 --- a/vendor/web-sys/src/features/gen_GpuInternalError.rs +++ b/vendor/web-sys/src/features/gen_GpuInternalError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuLoadOp.rs b/vendor/web-sys/src/features/gen_GpuLoadOp.rs index 7812306cd..e7baab63b 100644 --- a/vendor/web-sys/src/features/gen_GpuLoadOp.rs +++ b/vendor/web-sys/src/features/gen_GpuLoadOp.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuMipmapFilterMode.rs b/vendor/web-sys/src/features/gen_GpuMipmapFilterMode.rs index 65718e9a4..ec34e9a6d 100644 --- a/vendor/web-sys/src/features/gen_GpuMipmapFilterMode.rs +++ b/vendor/web-sys/src/features/gen_GpuMipmapFilterMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuMultisampleState.rs b/vendor/web-sys/src/features/gen_GpuMultisampleState.rs index 1cb538ded..e9bf783db 100644 --- a/vendor/web-sys/src/features/gen_GpuMultisampleState.rs +++ b/vendor/web-sys/src/features/gen_GpuMultisampleState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuObjectDescriptorBase.rs b/vendor/web-sys/src/features/gen_GpuObjectDescriptorBase.rs index a8fe68445..5757b09e9 100644 --- a/vendor/web-sys/src/features/gen_GpuObjectDescriptorBase.rs +++ b/vendor/web-sys/src/features/gen_GpuObjectDescriptorBase.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuOrigin2dDict.rs b/vendor/web-sys/src/features/gen_GpuOrigin2dDict.rs index 7e608ca10..17076b5e1 100644 --- a/vendor/web-sys/src/features/gen_GpuOrigin2dDict.rs +++ b/vendor/web-sys/src/features/gen_GpuOrigin2dDict.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuOrigin3dDict.rs b/vendor/web-sys/src/features/gen_GpuOrigin3dDict.rs index 6bc5fb63b..046991140 100644 --- a/vendor/web-sys/src/features/gen_GpuOrigin3dDict.rs +++ b/vendor/web-sys/src/features/gen_GpuOrigin3dDict.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuOutOfMemoryError.rs b/vendor/web-sys/src/features/gen_GpuOutOfMemoryError.rs index 91a605915..039b3936c 100644 --- a/vendor/web-sys/src/features/gen_GpuOutOfMemoryError.rs +++ b/vendor/web-sys/src/features/gen_GpuOutOfMemoryError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuPipelineDescriptorBase.rs b/vendor/web-sys/src/features/gen_GpuPipelineDescriptorBase.rs index f88b58b02..6b09d6543 100644 --- a/vendor/web-sys/src/features/gen_GpuPipelineDescriptorBase.rs +++ b/vendor/web-sys/src/features/gen_GpuPipelineDescriptorBase.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuPipelineLayout.rs b/vendor/web-sys/src/features/gen_GpuPipelineLayout.rs index 85978241f..b2ca2d974 100644 --- a/vendor/web-sys/src/features/gen_GpuPipelineLayout.rs +++ b/vendor/web-sys/src/features/gen_GpuPipelineLayout.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuPipelineLayoutDescriptor.rs b/vendor/web-sys/src/features/gen_GpuPipelineLayoutDescriptor.rs index 4e9b55e5f..40fd2d3e6 100644 --- a/vendor/web-sys/src/features/gen_GpuPipelineLayoutDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuPipelineLayoutDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuPowerPreference.rs b/vendor/web-sys/src/features/gen_GpuPowerPreference.rs index 1bf7015f2..41c15a84d 100644 --- a/vendor/web-sys/src/features/gen_GpuPowerPreference.rs +++ b/vendor/web-sys/src/features/gen_GpuPowerPreference.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuPrimitiveState.rs b/vendor/web-sys/src/features/gen_GpuPrimitiveState.rs index ff82fb1e0..a7e63b3cc 100644 --- a/vendor/web-sys/src/features/gen_GpuPrimitiveState.rs +++ b/vendor/web-sys/src/features/gen_GpuPrimitiveState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuPrimitiveTopology.rs b/vendor/web-sys/src/features/gen_GpuPrimitiveTopology.rs index 341611a19..848b4c3e1 100644 --- a/vendor/web-sys/src/features/gen_GpuPrimitiveTopology.rs +++ b/vendor/web-sys/src/features/gen_GpuPrimitiveTopology.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuProgrammableStage.rs b/vendor/web-sys/src/features/gen_GpuProgrammableStage.rs index cf569c1e4..c36ee597e 100644 --- a/vendor/web-sys/src/features/gen_GpuProgrammableStage.rs +++ b/vendor/web-sys/src/features/gen_GpuProgrammableStage.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuQuerySet.rs b/vendor/web-sys/src/features/gen_GpuQuerySet.rs index 802057965..6bce0840c 100644 --- a/vendor/web-sys/src/features/gen_GpuQuerySet.rs +++ b/vendor/web-sys/src/features/gen_GpuQuerySet.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuQuerySetDescriptor.rs b/vendor/web-sys/src/features/gen_GpuQuerySetDescriptor.rs index be7fbda54..7dcddb12d 100644 --- a/vendor/web-sys/src/features/gen_GpuQuerySetDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuQuerySetDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuQueryType.rs b/vendor/web-sys/src/features/gen_GpuQueryType.rs index 5fa437b6a..4e115a987 100644 --- a/vendor/web-sys/src/features/gen_GpuQueryType.rs +++ b/vendor/web-sys/src/features/gen_GpuQueryType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuQueue.rs b/vendor/web-sys/src/features/gen_GpuQueue.rs index 45b0bfeb8..f1c02321b 100644 --- a/vendor/web-sys/src/features/gen_GpuQueue.rs +++ b/vendor/web-sys/src/features/gen_GpuQueue.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuQueueDescriptor.rs b/vendor/web-sys/src/features/gen_GpuQueueDescriptor.rs index 26f6e28d3..8f4412ccf 100644 --- a/vendor/web-sys/src/features/gen_GpuQueueDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuQueueDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuRenderBundle.rs b/vendor/web-sys/src/features/gen_GpuRenderBundle.rs index 2fba3c333..ff40728a6 100644 --- a/vendor/web-sys/src/features/gen_GpuRenderBundle.rs +++ b/vendor/web-sys/src/features/gen_GpuRenderBundle.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuRenderBundleDescriptor.rs b/vendor/web-sys/src/features/gen_GpuRenderBundleDescriptor.rs index 22ef82ce8..df29fdacc 100644 --- a/vendor/web-sys/src/features/gen_GpuRenderBundleDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuRenderBundleDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuRenderBundleEncoder.rs b/vendor/web-sys/src/features/gen_GpuRenderBundleEncoder.rs index c2222f67a..7c3728cc3 100644 --- a/vendor/web-sys/src/features/gen_GpuRenderBundleEncoder.rs +++ b/vendor/web-sys/src/features/gen_GpuRenderBundleEncoder.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuRenderBundleEncoderDescriptor.rs b/vendor/web-sys/src/features/gen_GpuRenderBundleEncoderDescriptor.rs index d120becc5..c7857f88b 100644 --- a/vendor/web-sys/src/features/gen_GpuRenderBundleEncoderDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuRenderBundleEncoderDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassColorAttachment.rs b/vendor/web-sys/src/features/gen_GpuRenderPassColorAttachment.rs index 9945950eb..e02f53ad5 100644 --- a/vendor/web-sys/src/features/gen_GpuRenderPassColorAttachment.rs +++ b/vendor/web-sys/src/features/gen_GpuRenderPassColorAttachment.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassDepthStencilAttachment.rs b/vendor/web-sys/src/features/gen_GpuRenderPassDepthStencilAttachment.rs index 86117851b..f08e15ee6 100644 --- a/vendor/web-sys/src/features/gen_GpuRenderPassDepthStencilAttachment.rs +++ b/vendor/web-sys/src/features/gen_GpuRenderPassDepthStencilAttachment.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassDescriptor.rs b/vendor/web-sys/src/features/gen_GpuRenderPassDescriptor.rs index bb7592999..d7ef54d52 100644 --- a/vendor/web-sys/src/features/gen_GpuRenderPassDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuRenderPassDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassEncoder.rs b/vendor/web-sys/src/features/gen_GpuRenderPassEncoder.rs index ba680dfca..57ab7b212 100644 --- a/vendor/web-sys/src/features/gen_GpuRenderPassEncoder.rs +++ b/vendor/web-sys/src/features/gen_GpuRenderPassEncoder.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassLayout.rs b/vendor/web-sys/src/features/gen_GpuRenderPassLayout.rs index f583d10b3..b056eb51c 100644 --- a/vendor/web-sys/src/features/gen_GpuRenderPassLayout.rs +++ b/vendor/web-sys/src/features/gen_GpuRenderPassLayout.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassTimestampLocation.rs b/vendor/web-sys/src/features/gen_GpuRenderPassTimestampLocation.rs index 449d1264b..23e531ba3 100644 --- a/vendor/web-sys/src/features/gen_GpuRenderPassTimestampLocation.rs +++ b/vendor/web-sys/src/features/gen_GpuRenderPassTimestampLocation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuRenderPassTimestampWrite.rs b/vendor/web-sys/src/features/gen_GpuRenderPassTimestampWrite.rs index fa35942a6..f1aa587e2 100644 --- a/vendor/web-sys/src/features/gen_GpuRenderPassTimestampWrite.rs +++ b/vendor/web-sys/src/features/gen_GpuRenderPassTimestampWrite.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuRenderPipeline.rs b/vendor/web-sys/src/features/gen_GpuRenderPipeline.rs index 5655855ca..b4f94c5e6 100644 --- a/vendor/web-sys/src/features/gen_GpuRenderPipeline.rs +++ b/vendor/web-sys/src/features/gen_GpuRenderPipeline.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuRenderPipelineDescriptor.rs b/vendor/web-sys/src/features/gen_GpuRenderPipelineDescriptor.rs index b7ede7f58..13f705a5b 100644 --- a/vendor/web-sys/src/features/gen_GpuRenderPipelineDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuRenderPipelineDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuRequestAdapterOptions.rs b/vendor/web-sys/src/features/gen_GpuRequestAdapterOptions.rs index 43019647d..843122598 100644 --- a/vendor/web-sys/src/features/gen_GpuRequestAdapterOptions.rs +++ b/vendor/web-sys/src/features/gen_GpuRequestAdapterOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuSampler.rs b/vendor/web-sys/src/features/gen_GpuSampler.rs index e98b38642..c332f4dec 100644 --- a/vendor/web-sys/src/features/gen_GpuSampler.rs +++ b/vendor/web-sys/src/features/gen_GpuSampler.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuSamplerBindingLayout.rs b/vendor/web-sys/src/features/gen_GpuSamplerBindingLayout.rs index aba8ea665..3112b7533 100644 --- a/vendor/web-sys/src/features/gen_GpuSamplerBindingLayout.rs +++ b/vendor/web-sys/src/features/gen_GpuSamplerBindingLayout.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuSamplerBindingType.rs b/vendor/web-sys/src/features/gen_GpuSamplerBindingType.rs index ea4a3c446..0b406c0d3 100644 --- a/vendor/web-sys/src/features/gen_GpuSamplerBindingType.rs +++ b/vendor/web-sys/src/features/gen_GpuSamplerBindingType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuSamplerDescriptor.rs b/vendor/web-sys/src/features/gen_GpuSamplerDescriptor.rs index 431414b80..5ac008aee 100644 --- a/vendor/web-sys/src/features/gen_GpuSamplerDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuSamplerDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuShaderModule.rs b/vendor/web-sys/src/features/gen_GpuShaderModule.rs index 18b78c1a4..082c3af82 100644 --- a/vendor/web-sys/src/features/gen_GpuShaderModule.rs +++ b/vendor/web-sys/src/features/gen_GpuShaderModule.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuShaderModuleCompilationHint.rs b/vendor/web-sys/src/features/gen_GpuShaderModuleCompilationHint.rs index 729bf0bd1..f33ce1b1d 100644 --- a/vendor/web-sys/src/features/gen_GpuShaderModuleCompilationHint.rs +++ b/vendor/web-sys/src/features/gen_GpuShaderModuleCompilationHint.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuShaderModuleDescriptor.rs b/vendor/web-sys/src/features/gen_GpuShaderModuleDescriptor.rs index fcf1c9784..73fe9f040 100644 --- a/vendor/web-sys/src/features/gen_GpuShaderModuleDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuShaderModuleDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuStencilFaceState.rs b/vendor/web-sys/src/features/gen_GpuStencilFaceState.rs index 80b4e5212..4c4eebc47 100644 --- a/vendor/web-sys/src/features/gen_GpuStencilFaceState.rs +++ b/vendor/web-sys/src/features/gen_GpuStencilFaceState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuStencilOperation.rs b/vendor/web-sys/src/features/gen_GpuStencilOperation.rs index 6b9573f72..6206b66c5 100644 --- a/vendor/web-sys/src/features/gen_GpuStencilOperation.rs +++ b/vendor/web-sys/src/features/gen_GpuStencilOperation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuStorageTextureAccess.rs b/vendor/web-sys/src/features/gen_GpuStorageTextureAccess.rs index e5dd0af10..e68ce7b3c 100644 --- a/vendor/web-sys/src/features/gen_GpuStorageTextureAccess.rs +++ b/vendor/web-sys/src/features/gen_GpuStorageTextureAccess.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuStorageTextureBindingLayout.rs b/vendor/web-sys/src/features/gen_GpuStorageTextureBindingLayout.rs index 90555a09b..1d3f5ff14 100644 --- a/vendor/web-sys/src/features/gen_GpuStorageTextureBindingLayout.rs +++ b/vendor/web-sys/src/features/gen_GpuStorageTextureBindingLayout.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuStoreOp.rs b/vendor/web-sys/src/features/gen_GpuStoreOp.rs index d1e178498..fc01989a1 100644 --- a/vendor/web-sys/src/features/gen_GpuStoreOp.rs +++ b/vendor/web-sys/src/features/gen_GpuStoreOp.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuSupportedFeatures.rs b/vendor/web-sys/src/features/gen_GpuSupportedFeatures.rs index 7d893c05c..0f14c56a4 100644 --- a/vendor/web-sys/src/features/gen_GpuSupportedFeatures.rs +++ b/vendor/web-sys/src/features/gen_GpuSupportedFeatures.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuSupportedLimits.rs b/vendor/web-sys/src/features/gen_GpuSupportedLimits.rs index 4751a2021..4abf9d913 100644 --- a/vendor/web-sys/src/features/gen_GpuSupportedLimits.rs +++ b/vendor/web-sys/src/features/gen_GpuSupportedLimits.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuTexture.rs b/vendor/web-sys/src/features/gen_GpuTexture.rs index acd4ffb11..0e7fc68ed 100644 --- a/vendor/web-sys/src/features/gen_GpuTexture.rs +++ b/vendor/web-sys/src/features/gen_GpuTexture.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuTextureAspect.rs b/vendor/web-sys/src/features/gen_GpuTextureAspect.rs index 0a0742d53..21216c326 100644 --- a/vendor/web-sys/src/features/gen_GpuTextureAspect.rs +++ b/vendor/web-sys/src/features/gen_GpuTextureAspect.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuTextureBindingLayout.rs b/vendor/web-sys/src/features/gen_GpuTextureBindingLayout.rs index 621e6d23b..65551e9ac 100644 --- a/vendor/web-sys/src/features/gen_GpuTextureBindingLayout.rs +++ b/vendor/web-sys/src/features/gen_GpuTextureBindingLayout.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuTextureDescriptor.rs b/vendor/web-sys/src/features/gen_GpuTextureDescriptor.rs index d4087b3f6..f7cb4f668 100644 --- a/vendor/web-sys/src/features/gen_GpuTextureDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuTextureDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuTextureDimension.rs b/vendor/web-sys/src/features/gen_GpuTextureDimension.rs index 363675117..a9676ac30 100644 --- a/vendor/web-sys/src/features/gen_GpuTextureDimension.rs +++ b/vendor/web-sys/src/features/gen_GpuTextureDimension.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuTextureFormat.rs b/vendor/web-sys/src/features/gen_GpuTextureFormat.rs index 7f2772bb0..cc2be609a 100644 --- a/vendor/web-sys/src/features/gen_GpuTextureFormat.rs +++ b/vendor/web-sys/src/features/gen_GpuTextureFormat.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuTextureSampleType.rs b/vendor/web-sys/src/features/gen_GpuTextureSampleType.rs index 6007e61c1..8c5a8f963 100644 --- a/vendor/web-sys/src/features/gen_GpuTextureSampleType.rs +++ b/vendor/web-sys/src/features/gen_GpuTextureSampleType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuTextureView.rs b/vendor/web-sys/src/features/gen_GpuTextureView.rs index 4ab52473e..c15f96504 100644 --- a/vendor/web-sys/src/features/gen_GpuTextureView.rs +++ b/vendor/web-sys/src/features/gen_GpuTextureView.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuTextureViewDescriptor.rs b/vendor/web-sys/src/features/gen_GpuTextureViewDescriptor.rs index acc8216ff..30b8fc31c 100644 --- a/vendor/web-sys/src/features/gen_GpuTextureViewDescriptor.rs +++ b/vendor/web-sys/src/features/gen_GpuTextureViewDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuTextureViewDimension.rs b/vendor/web-sys/src/features/gen_GpuTextureViewDimension.rs index 77d8e5d1b..8e341635f 100644 --- a/vendor/web-sys/src/features/gen_GpuTextureViewDimension.rs +++ b/vendor/web-sys/src/features/gen_GpuTextureViewDimension.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuUncapturedErrorEvent.rs b/vendor/web-sys/src/features/gen_GpuUncapturedErrorEvent.rs index 07f10daa5..37c29a020 100644 --- a/vendor/web-sys/src/features/gen_GpuUncapturedErrorEvent.rs +++ b/vendor/web-sys/src/features/gen_GpuUncapturedErrorEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuUncapturedErrorEventInit.rs b/vendor/web-sys/src/features/gen_GpuUncapturedErrorEventInit.rs index 986dd5048..8674ca879 100644 --- a/vendor/web-sys/src/features/gen_GpuUncapturedErrorEventInit.rs +++ b/vendor/web-sys/src/features/gen_GpuUncapturedErrorEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuValidationError.rs b/vendor/web-sys/src/features/gen_GpuValidationError.rs index 7b6b0d7db..596f96d4f 100644 --- a/vendor/web-sys/src/features/gen_GpuValidationError.rs +++ b/vendor/web-sys/src/features/gen_GpuValidationError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuVertexAttribute.rs b/vendor/web-sys/src/features/gen_GpuVertexAttribute.rs index 2fde6d181..f70761628 100644 --- a/vendor/web-sys/src/features/gen_GpuVertexAttribute.rs +++ b/vendor/web-sys/src/features/gen_GpuVertexAttribute.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuVertexBufferLayout.rs b/vendor/web-sys/src/features/gen_GpuVertexBufferLayout.rs index e8843020f..18a3dc0f5 100644 --- a/vendor/web-sys/src/features/gen_GpuVertexBufferLayout.rs +++ b/vendor/web-sys/src/features/gen_GpuVertexBufferLayout.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuVertexFormat.rs b/vendor/web-sys/src/features/gen_GpuVertexFormat.rs index 07e4d22b5..509357ff2 100644 --- a/vendor/web-sys/src/features/gen_GpuVertexFormat.rs +++ b/vendor/web-sys/src/features/gen_GpuVertexFormat.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GpuVertexState.rs b/vendor/web-sys/src/features/gen_GpuVertexState.rs index 4086fe436..a551e1c49 100644 --- a/vendor/web-sys/src/features/gen_GpuVertexState.rs +++ b/vendor/web-sys/src/features/gen_GpuVertexState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_GpuVertexStepMode.rs b/vendor/web-sys/src/features/gen_GpuVertexStepMode.rs index 49140a4b8..16552bbab 100644 --- a/vendor/web-sys/src/features/gen_GpuVertexStepMode.rs +++ b/vendor/web-sys/src/features/gen_GpuVertexStepMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_GridDeclaration.rs b/vendor/web-sys/src/features/gen_GridDeclaration.rs index 325ac2bbc..c01e2adba 100644 --- a/vendor/web-sys/src/features/gen_GridDeclaration.rs +++ b/vendor/web-sys/src/features/gen_GridDeclaration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `GridDeclaration` enum."] diff --git a/vendor/web-sys/src/features/gen_GridTrackState.rs b/vendor/web-sys/src/features/gen_GridTrackState.rs index 0ff0ee27e..c3c43cf55 100644 --- a/vendor/web-sys/src/features/gen_GridTrackState.rs +++ b/vendor/web-sys/src/features/gen_GridTrackState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `GridTrackState` enum."] diff --git a/vendor/web-sys/src/features/gen_GroupedHistoryEventInit.rs b/vendor/web-sys/src/features/gen_GroupedHistoryEventInit.rs index c0e2441e7..b54387151 100644 --- a/vendor/web-sys/src/features/gen_GroupedHistoryEventInit.rs +++ b/vendor/web-sys/src/features/gen_GroupedHistoryEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HalfOpenInfoDict.rs b/vendor/web-sys/src/features/gen_HalfOpenInfoDict.rs index 6cef66fd8..e3c566c2b 100644 --- a/vendor/web-sys/src/features/gen_HalfOpenInfoDict.rs +++ b/vendor/web-sys/src/features/gen_HalfOpenInfoDict.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HardwareAcceleration.rs b/vendor/web-sys/src/features/gen_HardwareAcceleration.rs index 6ca41d5b6..35320b360 100644 --- a/vendor/web-sys/src/features/gen_HardwareAcceleration.rs +++ b/vendor/web-sys/src/features/gen_HardwareAcceleration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HashChangeEvent.rs b/vendor/web-sys/src/features/gen_HashChangeEvent.rs index 9623ed333..a697b2bd9 100644 --- a/vendor/web-sys/src/features/gen_HashChangeEvent.rs +++ b/vendor/web-sys/src/features/gen_HashChangeEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HashChangeEventInit.rs b/vendor/web-sys/src/features/gen_HashChangeEventInit.rs index 75e3f7f5c..879339a13 100644 --- a/vendor/web-sys/src/features/gen_HashChangeEventInit.rs +++ b/vendor/web-sys/src/features/gen_HashChangeEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Headers.rs b/vendor/web-sys/src/features/gen_Headers.rs index 47e0261ff..143f68a63 100644 --- a/vendor/web-sys/src/features/gen_Headers.rs +++ b/vendor/web-sys/src/features/gen_Headers.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HeadersGuardEnum.rs b/vendor/web-sys/src/features/gen_HeadersGuardEnum.rs index 0f5c714e4..130118979 100644 --- a/vendor/web-sys/src/features/gen_HeadersGuardEnum.rs +++ b/vendor/web-sys/src/features/gen_HeadersGuardEnum.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `HeadersGuardEnum` enum."] diff --git a/vendor/web-sys/src/features/gen_Hid.rs b/vendor/web-sys/src/features/gen_Hid.rs index 1980c6d65..0b9e97cb3 100644 --- a/vendor/web-sys/src/features/gen_Hid.rs +++ b/vendor/web-sys/src/features/gen_Hid.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_HidCollectionInfo.rs b/vendor/web-sys/src/features/gen_HidCollectionInfo.rs index 41af4f16c..5bf395ad0 100644 --- a/vendor/web-sys/src/features/gen_HidCollectionInfo.rs +++ b/vendor/web-sys/src/features/gen_HidCollectionInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_HidConnectionEvent.rs b/vendor/web-sys/src/features/gen_HidConnectionEvent.rs index 87dae4e4b..f6fd89401 100644 --- a/vendor/web-sys/src/features/gen_HidConnectionEvent.rs +++ b/vendor/web-sys/src/features/gen_HidConnectionEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_HidConnectionEventInit.rs b/vendor/web-sys/src/features/gen_HidConnectionEventInit.rs index 09e6261d3..5b0184421 100644 --- a/vendor/web-sys/src/features/gen_HidConnectionEventInit.rs +++ b/vendor/web-sys/src/features/gen_HidConnectionEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_HidDevice.rs b/vendor/web-sys/src/features/gen_HidDevice.rs index 5416e544d..3a24d5d96 100644 --- a/vendor/web-sys/src/features/gen_HidDevice.rs +++ b/vendor/web-sys/src/features/gen_HidDevice.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_HidDeviceFilter.rs b/vendor/web-sys/src/features/gen_HidDeviceFilter.rs index 48b756484..f82a20538 100644 --- a/vendor/web-sys/src/features/gen_HidDeviceFilter.rs +++ b/vendor/web-sys/src/features/gen_HidDeviceFilter.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_HidDeviceRequestOptions.rs b/vendor/web-sys/src/features/gen_HidDeviceRequestOptions.rs index 0dfe5999b..2193db4d3 100644 --- a/vendor/web-sys/src/features/gen_HidDeviceRequestOptions.rs +++ b/vendor/web-sys/src/features/gen_HidDeviceRequestOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_HidInputReportEvent.rs b/vendor/web-sys/src/features/gen_HidInputReportEvent.rs index 95e57da6a..43119f8e2 100644 --- a/vendor/web-sys/src/features/gen_HidInputReportEvent.rs +++ b/vendor/web-sys/src/features/gen_HidInputReportEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_HidInputReportEventInit.rs b/vendor/web-sys/src/features/gen_HidInputReportEventInit.rs index 7b0c9b54d..c31c86886 100644 --- a/vendor/web-sys/src/features/gen_HidInputReportEventInit.rs +++ b/vendor/web-sys/src/features/gen_HidInputReportEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_HidReportInfo.rs b/vendor/web-sys/src/features/gen_HidReportInfo.rs index 660093a88..d68a9a07d 100644 --- a/vendor/web-sys/src/features/gen_HidReportInfo.rs +++ b/vendor/web-sys/src/features/gen_HidReportInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_HidReportItem.rs b/vendor/web-sys/src/features/gen_HidReportItem.rs index 51af5203b..72c07abb7 100644 --- a/vendor/web-sys/src/features/gen_HidReportItem.rs +++ b/vendor/web-sys/src/features/gen_HidReportItem.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_HidUnitSystem.rs b/vendor/web-sys/src/features/gen_HidUnitSystem.rs index 866d30536..4f9e39c5c 100644 --- a/vendor/web-sys/src/features/gen_HidUnitSystem.rs +++ b/vendor/web-sys/src/features/gen_HidUnitSystem.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HiddenPluginEventInit.rs b/vendor/web-sys/src/features/gen_HiddenPluginEventInit.rs index 5ed75adec..c7f692f2c 100644 --- a/vendor/web-sys/src/features/gen_HiddenPluginEventInit.rs +++ b/vendor/web-sys/src/features/gen_HiddenPluginEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_History.rs b/vendor/web-sys/src/features/gen_History.rs index 50d9b9ad0..5a950c140 100644 --- a/vendor/web-sys/src/features/gen_History.rs +++ b/vendor/web-sys/src/features/gen_History.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HitRegionOptions.rs b/vendor/web-sys/src/features/gen_HitRegionOptions.rs index a06540990..8a3a3aaee 100644 --- a/vendor/web-sys/src/features/gen_HitRegionOptions.rs +++ b/vendor/web-sys/src/features/gen_HitRegionOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HkdfParams.rs b/vendor/web-sys/src/features/gen_HkdfParams.rs index 059bbe356..3354ef776 100644 --- a/vendor/web-sys/src/features/gen_HkdfParams.rs +++ b/vendor/web-sys/src/features/gen_HkdfParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HmacDerivedKeyParams.rs b/vendor/web-sys/src/features/gen_HmacDerivedKeyParams.rs index b1708bcff..49e33e0e5 100644 --- a/vendor/web-sys/src/features/gen_HmacDerivedKeyParams.rs +++ b/vendor/web-sys/src/features/gen_HmacDerivedKeyParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HmacImportParams.rs b/vendor/web-sys/src/features/gen_HmacImportParams.rs index eb9489c05..750c2ae51 100644 --- a/vendor/web-sys/src/features/gen_HmacImportParams.rs +++ b/vendor/web-sys/src/features/gen_HmacImportParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HmacKeyAlgorithm.rs b/vendor/web-sys/src/features/gen_HmacKeyAlgorithm.rs index 5910552e3..86dcaecea 100644 --- a/vendor/web-sys/src/features/gen_HmacKeyAlgorithm.rs +++ b/vendor/web-sys/src/features/gen_HmacKeyAlgorithm.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HmacKeyGenParams.rs b/vendor/web-sys/src/features/gen_HmacKeyGenParams.rs index 3903d71a7..a443aa342 100644 --- a/vendor/web-sys/src/features/gen_HmacKeyGenParams.rs +++ b/vendor/web-sys/src/features/gen_HmacKeyGenParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlAllCollection.rs b/vendor/web-sys/src/features/gen_HtmlAllCollection.rs index 8510f7f4c..264f7ee5a 100644 --- a/vendor/web-sys/src/features/gen_HtmlAllCollection.rs +++ b/vendor/web-sys/src/features/gen_HtmlAllCollection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlAnchorElement.rs b/vendor/web-sys/src/features/gen_HtmlAnchorElement.rs index 0b953108c..03fb3e54d 100644 --- a/vendor/web-sys/src/features/gen_HtmlAnchorElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlAnchorElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlAreaElement.rs b/vendor/web-sys/src/features/gen_HtmlAreaElement.rs index 23a9ae2c7..4b8560faf 100644 --- a/vendor/web-sys/src/features/gen_HtmlAreaElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlAreaElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlAudioElement.rs b/vendor/web-sys/src/features/gen_HtmlAudioElement.rs index 03ea58ccf..0c8f44abd 100644 --- a/vendor/web-sys/src/features/gen_HtmlAudioElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlAudioElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlBaseElement.rs b/vendor/web-sys/src/features/gen_HtmlBaseElement.rs index d521cabb7..7c495bd1a 100644 --- a/vendor/web-sys/src/features/gen_HtmlBaseElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlBaseElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlBodyElement.rs b/vendor/web-sys/src/features/gen_HtmlBodyElement.rs index f7355c4c3..c7870c9af 100644 --- a/vendor/web-sys/src/features/gen_HtmlBodyElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlBodyElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlBrElement.rs b/vendor/web-sys/src/features/gen_HtmlBrElement.rs index aa332a90a..0c239d02f 100644 --- a/vendor/web-sys/src/features/gen_HtmlBrElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlBrElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlButtonElement.rs b/vendor/web-sys/src/features/gen_HtmlButtonElement.rs index e8958b145..08d5fb91d 100644 --- a/vendor/web-sys/src/features/gen_HtmlButtonElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlButtonElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlCanvasElement.rs b/vendor/web-sys/src/features/gen_HtmlCanvasElement.rs index ff8ab7e2d..5b35060ab 100644 --- a/vendor/web-sys/src/features/gen_HtmlCanvasElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlCanvasElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -39,6 +40,25 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`*"] pub fn set_height(this: &HtmlCanvasElement, value: u32); + #[cfg(feature = "MediaStream")] + # [wasm_bindgen (catch , method , structural , js_class = "HTMLCanvasElement" , js_name = captureStream)] + #[doc = "The `captureStream()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/captureStream)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `MediaStream`*"] + pub fn capture_stream(this: &HtmlCanvasElement) -> Result<MediaStream, JsValue>; + #[cfg(feature = "MediaStream")] + # [wasm_bindgen (catch , method , structural , js_class = "HTMLCanvasElement" , js_name = captureStream)] + #[doc = "The `captureStream()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/captureStream)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `MediaStream`*"] + pub fn capture_stream_with_frame_request_rate( + this: &HtmlCanvasElement, + frame_request_rate: f64, + ) -> Result<MediaStream, JsValue>; # [wasm_bindgen (catch , method , structural , js_class = "HTMLCanvasElement" , js_name = getContext)] #[doc = "The `getContext()` method."] #[doc = ""] diff --git a/vendor/web-sys/src/features/gen_HtmlCollection.rs b/vendor/web-sys/src/features/gen_HtmlCollection.rs index cf3ff4fbe..63589be0c 100644 --- a/vendor/web-sys/src/features/gen_HtmlCollection.rs +++ b/vendor/web-sys/src/features/gen_HtmlCollection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlDListElement.rs b/vendor/web-sys/src/features/gen_HtmlDListElement.rs index 74fab306a..6b54efdfb 100644 --- a/vendor/web-sys/src/features/gen_HtmlDListElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlDListElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlDataElement.rs b/vendor/web-sys/src/features/gen_HtmlDataElement.rs index f43586af6..07d7b8b80 100644 --- a/vendor/web-sys/src/features/gen_HtmlDataElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlDataElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlDataListElement.rs b/vendor/web-sys/src/features/gen_HtmlDataListElement.rs index b19b0c19e..6b7ce7a54 100644 --- a/vendor/web-sys/src/features/gen_HtmlDataListElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlDataListElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlDetailsElement.rs b/vendor/web-sys/src/features/gen_HtmlDetailsElement.rs index a816f04e7..80f5eef0c 100644 --- a/vendor/web-sys/src/features/gen_HtmlDetailsElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlDetailsElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlDialogElement.rs b/vendor/web-sys/src/features/gen_HtmlDialogElement.rs index 9fda1ac7d..3df737051 100644 --- a/vendor/web-sys/src/features/gen_HtmlDialogElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlDialogElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlDirectoryElement.rs b/vendor/web-sys/src/features/gen_HtmlDirectoryElement.rs index 5302969c2..66ec50f04 100644 --- a/vendor/web-sys/src/features/gen_HtmlDirectoryElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlDirectoryElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlDivElement.rs b/vendor/web-sys/src/features/gen_HtmlDivElement.rs index eadb4fb7d..e293b0144 100644 --- a/vendor/web-sys/src/features/gen_HtmlDivElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlDivElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlDocument.rs b/vendor/web-sys/src/features/gen_HtmlDocument.rs index 94c2d0cdb..5dce0e056 100644 --- a/vendor/web-sys/src/features/gen_HtmlDocument.rs +++ b/vendor/web-sys/src/features/gen_HtmlDocument.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlElement.rs b/vendor/web-sys/src/features/gen_HtmlElement.rs index b7850a6fc..91b027780 100644 --- a/vendor/web-sys/src/features/gen_HtmlElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlEmbedElement.rs b/vendor/web-sys/src/features/gen_HtmlEmbedElement.rs index 704b7d125..ab89c6e31 100644 --- a/vendor/web-sys/src/features/gen_HtmlEmbedElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlEmbedElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlFieldSetElement.rs b/vendor/web-sys/src/features/gen_HtmlFieldSetElement.rs index 8c32c0171..45ca9d2c1 100644 --- a/vendor/web-sys/src/features/gen_HtmlFieldSetElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlFieldSetElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlFontElement.rs b/vendor/web-sys/src/features/gen_HtmlFontElement.rs index d12ce40cc..bd7fe7161 100644 --- a/vendor/web-sys/src/features/gen_HtmlFontElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlFontElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlFormControlsCollection.rs b/vendor/web-sys/src/features/gen_HtmlFormControlsCollection.rs index 1972cc54b..1f5c8cfb3 100644 --- a/vendor/web-sys/src/features/gen_HtmlFormControlsCollection.rs +++ b/vendor/web-sys/src/features/gen_HtmlFormControlsCollection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlFormElement.rs b/vendor/web-sys/src/features/gen_HtmlFormElement.rs index 0b8e49735..d9381ab95 100644 --- a/vendor/web-sys/src/features/gen_HtmlFormElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlFormElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlFrameElement.rs b/vendor/web-sys/src/features/gen_HtmlFrameElement.rs index 6f7b5afc4..2fc4d2e98 100644 --- a/vendor/web-sys/src/features/gen_HtmlFrameElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlFrameElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlFrameSetElement.rs b/vendor/web-sys/src/features/gen_HtmlFrameSetElement.rs index eeda63cfa..85458a0d8 100644 --- a/vendor/web-sys/src/features/gen_HtmlFrameSetElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlFrameSetElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlHeadElement.rs b/vendor/web-sys/src/features/gen_HtmlHeadElement.rs index 23fbca796..c0557b061 100644 --- a/vendor/web-sys/src/features/gen_HtmlHeadElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlHeadElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlHeadingElement.rs b/vendor/web-sys/src/features/gen_HtmlHeadingElement.rs index 0819e7dd8..289007821 100644 --- a/vendor/web-sys/src/features/gen_HtmlHeadingElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlHeadingElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlHrElement.rs b/vendor/web-sys/src/features/gen_HtmlHrElement.rs index 90b7b9b35..911e385f5 100644 --- a/vendor/web-sys/src/features/gen_HtmlHrElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlHrElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlHtmlElement.rs b/vendor/web-sys/src/features/gen_HtmlHtmlElement.rs index f3f8c63e3..57a0f68fb 100644 --- a/vendor/web-sys/src/features/gen_HtmlHtmlElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlHtmlElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlIFrameElement.rs b/vendor/web-sys/src/features/gen_HtmlIFrameElement.rs index 5a2845293..8d0eab984 100644 --- a/vendor/web-sys/src/features/gen_HtmlIFrameElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlIFrameElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlImageElement.rs b/vendor/web-sys/src/features/gen_HtmlImageElement.rs index 692dc64b6..ca486278d 100644 --- a/vendor/web-sys/src/features/gen_HtmlImageElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlImageElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlInputElement.rs b/vendor/web-sys/src/features/gen_HtmlInputElement.rs index 506557d24..bb780650a 100644 --- a/vendor/web-sys/src/features/gen_HtmlInputElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlInputElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -675,6 +676,20 @@ extern "C" { start: u32, end: u32, ) -> Result<(), JsValue>; + #[cfg(feature = "SelectionMode")] + # [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`, `SelectionMode`*"] + pub fn set_range_text_with_start_and_end_and_selection_mode( + this: &HtmlInputElement, + replacement: &str, + start: u32, + end: u32, + selection_mode: SelectionMode, + ) -> Result<(), JsValue>; # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setSelectionRange)] #[doc = "The `setSelectionRange()` method."] #[doc = ""] diff --git a/vendor/web-sys/src/features/gen_HtmlLabelElement.rs b/vendor/web-sys/src/features/gen_HtmlLabelElement.rs index 184ce648f..bde3c7fba 100644 --- a/vendor/web-sys/src/features/gen_HtmlLabelElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlLabelElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlLegendElement.rs b/vendor/web-sys/src/features/gen_HtmlLegendElement.rs index 36ce3bda0..76b9bb707 100644 --- a/vendor/web-sys/src/features/gen_HtmlLegendElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlLegendElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlLiElement.rs b/vendor/web-sys/src/features/gen_HtmlLiElement.rs index 3a5db06c8..07056913c 100644 --- a/vendor/web-sys/src/features/gen_HtmlLiElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlLiElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlLinkElement.rs b/vendor/web-sys/src/features/gen_HtmlLinkElement.rs index c947f16c0..8e3ab5225 100644 --- a/vendor/web-sys/src/features/gen_HtmlLinkElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlLinkElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlMapElement.rs b/vendor/web-sys/src/features/gen_HtmlMapElement.rs index f7dcc17ce..f1bf09509 100644 --- a/vendor/web-sys/src/features/gen_HtmlMapElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlMapElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlMediaElement.rs b/vendor/web-sys/src/features/gen_HtmlMediaElement.rs index 8fba170ed..51746c49f 100644 --- a/vendor/web-sys/src/features/gen_HtmlMediaElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlMediaElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlMenuElement.rs b/vendor/web-sys/src/features/gen_HtmlMenuElement.rs index a271be1fa..083cdf453 100644 --- a/vendor/web-sys/src/features/gen_HtmlMenuElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlMenuElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlMenuItemElement.rs b/vendor/web-sys/src/features/gen_HtmlMenuItemElement.rs index 87a775374..dd1f4d832 100644 --- a/vendor/web-sys/src/features/gen_HtmlMenuItemElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlMenuItemElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -10,7 +11,9 @@ extern "C" { #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] + #[deprecated(note = "Absent in all major browsers")] pub type HtmlMenuItemElement; + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = type)] #[doc = "Getter for the `type` field of this object."] #[doc = ""] @@ -18,6 +21,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] pub fn type_(this: &HtmlMenuItemElement) -> String; + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = type)] #[doc = "Setter for the `type` field of this object."] #[doc = ""] @@ -25,6 +29,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] pub fn set_type(this: &HtmlMenuItemElement, value: &str); + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = label)] #[doc = "Getter for the `label` field of this object."] #[doc = ""] @@ -32,6 +37,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] pub fn label(this: &HtmlMenuItemElement) -> String; + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = label)] #[doc = "Setter for the `label` field of this object."] #[doc = ""] @@ -39,6 +45,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] pub fn set_label(this: &HtmlMenuItemElement, value: &str); + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = icon)] #[doc = "Getter for the `icon` field of this object."] #[doc = ""] @@ -46,6 +53,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] pub fn icon(this: &HtmlMenuItemElement) -> String; + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = icon)] #[doc = "Setter for the `icon` field of this object."] #[doc = ""] @@ -53,6 +61,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] pub fn set_icon(this: &HtmlMenuItemElement, value: &str); + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = disabled)] #[doc = "Getter for the `disabled` field of this object."] #[doc = ""] @@ -60,6 +69,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] pub fn disabled(this: &HtmlMenuItemElement) -> bool; + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = disabled)] #[doc = "Setter for the `disabled` field of this object."] #[doc = ""] @@ -67,6 +77,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] pub fn set_disabled(this: &HtmlMenuItemElement, value: bool); + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = checked)] #[doc = "Getter for the `checked` field of this object."] #[doc = ""] @@ -74,6 +85,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] pub fn checked(this: &HtmlMenuItemElement) -> bool; + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = checked)] #[doc = "Setter for the `checked` field of this object."] #[doc = ""] @@ -81,6 +93,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] pub fn set_checked(this: &HtmlMenuItemElement, value: bool); + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = radiogroup)] #[doc = "Getter for the `radiogroup` field of this object."] #[doc = ""] @@ -88,6 +101,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] pub fn radiogroup(this: &HtmlMenuItemElement) -> String; + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = radiogroup)] #[doc = "Setter for the `radiogroup` field of this object."] #[doc = ""] @@ -95,6 +109,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] pub fn set_radiogroup(this: &HtmlMenuItemElement, value: &str); + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = defaultChecked)] #[doc = "Getter for the `defaultChecked` field of this object."] #[doc = ""] @@ -102,6 +117,7 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*"] pub fn default_checked(this: &HtmlMenuItemElement) -> bool; + #[deprecated(note = "Absent in all major browsers")] # [wasm_bindgen (structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = defaultChecked)] #[doc = "Setter for the `defaultChecked` field of this object."] #[doc = ""] diff --git a/vendor/web-sys/src/features/gen_HtmlMetaElement.rs b/vendor/web-sys/src/features/gen_HtmlMetaElement.rs index 5a1d570ea..db16bee0f 100644 --- a/vendor/web-sys/src/features/gen_HtmlMetaElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlMetaElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlMeterElement.rs b/vendor/web-sys/src/features/gen_HtmlMeterElement.rs index 997245636..0ec35cce9 100644 --- a/vendor/web-sys/src/features/gen_HtmlMeterElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlMeterElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlModElement.rs b/vendor/web-sys/src/features/gen_HtmlModElement.rs index 7ce1087a2..e47d87a7b 100644 --- a/vendor/web-sys/src/features/gen_HtmlModElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlModElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlOListElement.rs b/vendor/web-sys/src/features/gen_HtmlOListElement.rs index d57eb9a35..380f753c8 100644 --- a/vendor/web-sys/src/features/gen_HtmlOListElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlOListElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlObjectElement.rs b/vendor/web-sys/src/features/gen_HtmlObjectElement.rs index 8ef2219a7..bc5dfbd9c 100644 --- a/vendor/web-sys/src/features/gen_HtmlObjectElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlObjectElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlOptGroupElement.rs b/vendor/web-sys/src/features/gen_HtmlOptGroupElement.rs index a6510ff5b..0f90bd36d 100644 --- a/vendor/web-sys/src/features/gen_HtmlOptGroupElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlOptGroupElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlOptionElement.rs b/vendor/web-sys/src/features/gen_HtmlOptionElement.rs index 5d34d0dc2..d87adc273 100644 --- a/vendor/web-sys/src/features/gen_HtmlOptionElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlOptionElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlOptionsCollection.rs b/vendor/web-sys/src/features/gen_HtmlOptionsCollection.rs index 2dca06380..ac4007777 100644 --- a/vendor/web-sys/src/features/gen_HtmlOptionsCollection.rs +++ b/vendor/web-sys/src/features/gen_HtmlOptionsCollection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlOutputElement.rs b/vendor/web-sys/src/features/gen_HtmlOutputElement.rs index 8cb898080..90f162967 100644 --- a/vendor/web-sys/src/features/gen_HtmlOutputElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlOutputElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlParagraphElement.rs b/vendor/web-sys/src/features/gen_HtmlParagraphElement.rs index 51e139c1c..25f7c0501 100644 --- a/vendor/web-sys/src/features/gen_HtmlParagraphElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlParagraphElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlParamElement.rs b/vendor/web-sys/src/features/gen_HtmlParamElement.rs index a6ea0d411..00cee244f 100644 --- a/vendor/web-sys/src/features/gen_HtmlParamElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlParamElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlPictureElement.rs b/vendor/web-sys/src/features/gen_HtmlPictureElement.rs index 26112ae99..f3ae3e0b3 100644 --- a/vendor/web-sys/src/features/gen_HtmlPictureElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlPictureElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlPreElement.rs b/vendor/web-sys/src/features/gen_HtmlPreElement.rs index 5ce97ef3f..74f8f0d70 100644 --- a/vendor/web-sys/src/features/gen_HtmlPreElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlPreElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlProgressElement.rs b/vendor/web-sys/src/features/gen_HtmlProgressElement.rs index ba5c6a7ca..a6fdc916b 100644 --- a/vendor/web-sys/src/features/gen_HtmlProgressElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlProgressElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlQuoteElement.rs b/vendor/web-sys/src/features/gen_HtmlQuoteElement.rs index 9d18e1382..723bc2582 100644 --- a/vendor/web-sys/src/features/gen_HtmlQuoteElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlQuoteElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlScriptElement.rs b/vendor/web-sys/src/features/gen_HtmlScriptElement.rs index 21198eb79..ce910c241 100644 --- a/vendor/web-sys/src/features/gen_HtmlScriptElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlScriptElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlSelectElement.rs b/vendor/web-sys/src/features/gen_HtmlSelectElement.rs index 87f3ddd7a..f15b03471 100644 --- a/vendor/web-sys/src/features/gen_HtmlSelectElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlSelectElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlSlotElement.rs b/vendor/web-sys/src/features/gen_HtmlSlotElement.rs index c822a2ee4..04b96da24 100644 --- a/vendor/web-sys/src/features/gen_HtmlSlotElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlSlotElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlSourceElement.rs b/vendor/web-sys/src/features/gen_HtmlSourceElement.rs index fd01150d9..8fb7dee9d 100644 --- a/vendor/web-sys/src/features/gen_HtmlSourceElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlSourceElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlSpanElement.rs b/vendor/web-sys/src/features/gen_HtmlSpanElement.rs index fee20cc82..e050b625d 100644 --- a/vendor/web-sys/src/features/gen_HtmlSpanElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlSpanElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlStyleElement.rs b/vendor/web-sys/src/features/gen_HtmlStyleElement.rs index a8082b11c..e7ca11f0d 100644 --- a/vendor/web-sys/src/features/gen_HtmlStyleElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlStyleElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlTableCaptionElement.rs b/vendor/web-sys/src/features/gen_HtmlTableCaptionElement.rs index a3051b715..7a19986f7 100644 --- a/vendor/web-sys/src/features/gen_HtmlTableCaptionElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlTableCaptionElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlTableCellElement.rs b/vendor/web-sys/src/features/gen_HtmlTableCellElement.rs index 343b94349..0398abfdd 100644 --- a/vendor/web-sys/src/features/gen_HtmlTableCellElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlTableCellElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlTableColElement.rs b/vendor/web-sys/src/features/gen_HtmlTableColElement.rs index d2e4e771a..91febc5a8 100644 --- a/vendor/web-sys/src/features/gen_HtmlTableColElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlTableColElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlTableElement.rs b/vendor/web-sys/src/features/gen_HtmlTableElement.rs index 036e2ab88..2a63f76da 100644 --- a/vendor/web-sys/src/features/gen_HtmlTableElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlTableElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlTableRowElement.rs b/vendor/web-sys/src/features/gen_HtmlTableRowElement.rs index 222d7b0df..287cdcc53 100644 --- a/vendor/web-sys/src/features/gen_HtmlTableRowElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlTableRowElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlTableSectionElement.rs b/vendor/web-sys/src/features/gen_HtmlTableSectionElement.rs index 503f2245e..ee7cfa136 100644 --- a/vendor/web-sys/src/features/gen_HtmlTableSectionElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlTableSectionElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlTemplateElement.rs b/vendor/web-sys/src/features/gen_HtmlTemplateElement.rs index dba10b0c0..b8b153eef 100644 --- a/vendor/web-sys/src/features/gen_HtmlTemplateElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlTemplateElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlTextAreaElement.rs b/vendor/web-sys/src/features/gen_HtmlTextAreaElement.rs index b21d4758a..343281e15 100644 --- a/vendor/web-sys/src/features/gen_HtmlTextAreaElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlTextAreaElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -355,6 +356,19 @@ extern "C" { start: u32, end: u32, ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setRangeText)] + #[doc = "The `setRangeText()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setRangeText)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"] + pub fn set_range_text_with_start_and_end_and_mode( + this: &HtmlTextAreaElement, + replacement: &str, + start: u32, + end: u32, + mode: &str, + ) -> Result<(), JsValue>; # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setSelectionRange)] #[doc = "The `setSelectionRange()` method."] #[doc = ""] diff --git a/vendor/web-sys/src/features/gen_HtmlTimeElement.rs b/vendor/web-sys/src/features/gen_HtmlTimeElement.rs index 58b916fb6..bb83d28e1 100644 --- a/vendor/web-sys/src/features/gen_HtmlTimeElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlTimeElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlTitleElement.rs b/vendor/web-sys/src/features/gen_HtmlTitleElement.rs index 7c3f6e78b..5d515078e 100644 --- a/vendor/web-sys/src/features/gen_HtmlTitleElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlTitleElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlTrackElement.rs b/vendor/web-sys/src/features/gen_HtmlTrackElement.rs index e1dbf4b5a..0d388db95 100644 --- a/vendor/web-sys/src/features/gen_HtmlTrackElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlTrackElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlUListElement.rs b/vendor/web-sys/src/features/gen_HtmlUListElement.rs index 484925a6c..aae4b944a 100644 --- a/vendor/web-sys/src/features/gen_HtmlUListElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlUListElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlUnknownElement.rs b/vendor/web-sys/src/features/gen_HtmlUnknownElement.rs index 63a86e4e5..2405844f5 100644 --- a/vendor/web-sys/src/features/gen_HtmlUnknownElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlUnknownElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HtmlVideoElement.rs b/vendor/web-sys/src/features/gen_HtmlVideoElement.rs index 3301d64f5..c76989ab1 100644 --- a/vendor/web-sys/src/features/gen_HtmlVideoElement.rs +++ b/vendor/web-sys/src/features/gen_HtmlVideoElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HttpConnDict.rs b/vendor/web-sys/src/features/gen_HttpConnDict.rs index 87eea9edc..213a86caa 100644 --- a/vendor/web-sys/src/features/gen_HttpConnDict.rs +++ b/vendor/web-sys/src/features/gen_HttpConnDict.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HttpConnInfo.rs b/vendor/web-sys/src/features/gen_HttpConnInfo.rs index 987420ebc..d91495602 100644 --- a/vendor/web-sys/src/features/gen_HttpConnInfo.rs +++ b/vendor/web-sys/src/features/gen_HttpConnInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_HttpConnectionElement.rs b/vendor/web-sys/src/features/gen_HttpConnectionElement.rs index 5fef1331a..ecb934db5 100644 --- a/vendor/web-sys/src/features/gen_HttpConnectionElement.rs +++ b/vendor/web-sys/src/features/gen_HttpConnectionElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbCursor.rs b/vendor/web-sys/src/features/gen_IdbCursor.rs index f7d124d03..bf8d23543 100644 --- a/vendor/web-sys/src/features/gen_IdbCursor.rs +++ b/vendor/web-sys/src/features/gen_IdbCursor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbCursorDirection.rs b/vendor/web-sys/src/features/gen_IdbCursorDirection.rs index c01fef471..1013cf5db 100644 --- a/vendor/web-sys/src/features/gen_IdbCursorDirection.rs +++ b/vendor/web-sys/src/features/gen_IdbCursorDirection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `IdbCursorDirection` enum."] diff --git a/vendor/web-sys/src/features/gen_IdbCursorWithValue.rs b/vendor/web-sys/src/features/gen_IdbCursorWithValue.rs index 2f66c5a93..b337692eb 100644 --- a/vendor/web-sys/src/features/gen_IdbCursorWithValue.rs +++ b/vendor/web-sys/src/features/gen_IdbCursorWithValue.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbDatabase.rs b/vendor/web-sys/src/features/gen_IdbDatabase.rs index ebcb2f627..077388209 100644 --- a/vendor/web-sys/src/features/gen_IdbDatabase.rs +++ b/vendor/web-sys/src/features/gen_IdbDatabase.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbFactory.rs b/vendor/web-sys/src/features/gen_IdbFactory.rs index 30fac16d7..573493931 100644 --- a/vendor/web-sys/src/features/gen_IdbFactory.rs +++ b/vendor/web-sys/src/features/gen_IdbFactory.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbFileHandle.rs b/vendor/web-sys/src/features/gen_IdbFileHandle.rs index 0e395303b..91ce76a42 100644 --- a/vendor/web-sys/src/features/gen_IdbFileHandle.rs +++ b/vendor/web-sys/src/features/gen_IdbFileHandle.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbFileMetadataParameters.rs b/vendor/web-sys/src/features/gen_IdbFileMetadataParameters.rs index 48e322cf1..bbaeb9424 100644 --- a/vendor/web-sys/src/features/gen_IdbFileMetadataParameters.rs +++ b/vendor/web-sys/src/features/gen_IdbFileMetadataParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbFileRequest.rs b/vendor/web-sys/src/features/gen_IdbFileRequest.rs index e228c1a79..67d8a4c1c 100644 --- a/vendor/web-sys/src/features/gen_IdbFileRequest.rs +++ b/vendor/web-sys/src/features/gen_IdbFileRequest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbIndex.rs b/vendor/web-sys/src/features/gen_IdbIndex.rs index 98a76e657..675da44ef 100644 --- a/vendor/web-sys/src/features/gen_IdbIndex.rs +++ b/vendor/web-sys/src/features/gen_IdbIndex.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbIndexParameters.rs b/vendor/web-sys/src/features/gen_IdbIndexParameters.rs index 7da00bccf..2162121cf 100644 --- a/vendor/web-sys/src/features/gen_IdbIndexParameters.rs +++ b/vendor/web-sys/src/features/gen_IdbIndexParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbKeyRange.rs b/vendor/web-sys/src/features/gen_IdbKeyRange.rs index 6a9841624..c24650ba9 100644 --- a/vendor/web-sys/src/features/gen_IdbKeyRange.rs +++ b/vendor/web-sys/src/features/gen_IdbKeyRange.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbLocaleAwareKeyRange.rs b/vendor/web-sys/src/features/gen_IdbLocaleAwareKeyRange.rs index 09420bd3b..6e23edbe0 100644 --- a/vendor/web-sys/src/features/gen_IdbLocaleAwareKeyRange.rs +++ b/vendor/web-sys/src/features/gen_IdbLocaleAwareKeyRange.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbMutableFile.rs b/vendor/web-sys/src/features/gen_IdbMutableFile.rs index 47284d121..6b4414474 100644 --- a/vendor/web-sys/src/features/gen_IdbMutableFile.rs +++ b/vendor/web-sys/src/features/gen_IdbMutableFile.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbObjectStore.rs b/vendor/web-sys/src/features/gen_IdbObjectStore.rs index b662f01fb..7916454a8 100644 --- a/vendor/web-sys/src/features/gen_IdbObjectStore.rs +++ b/vendor/web-sys/src/features/gen_IdbObjectStore.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbObjectStoreParameters.rs b/vendor/web-sys/src/features/gen_IdbObjectStoreParameters.rs index d151ccc21..71689ac14 100644 --- a/vendor/web-sys/src/features/gen_IdbObjectStoreParameters.rs +++ b/vendor/web-sys/src/features/gen_IdbObjectStoreParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbOpenDbOptions.rs b/vendor/web-sys/src/features/gen_IdbOpenDbOptions.rs index 57ded3a72..0a7caecc9 100644 --- a/vendor/web-sys/src/features/gen_IdbOpenDbOptions.rs +++ b/vendor/web-sys/src/features/gen_IdbOpenDbOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbOpenDbRequest.rs b/vendor/web-sys/src/features/gen_IdbOpenDbRequest.rs index 2810085da..5be55d72d 100644 --- a/vendor/web-sys/src/features/gen_IdbOpenDbRequest.rs +++ b/vendor/web-sys/src/features/gen_IdbOpenDbRequest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbRequest.rs b/vendor/web-sys/src/features/gen_IdbRequest.rs index e6f54e2ea..340073898 100644 --- a/vendor/web-sys/src/features/gen_IdbRequest.rs +++ b/vendor/web-sys/src/features/gen_IdbRequest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbRequestReadyState.rs b/vendor/web-sys/src/features/gen_IdbRequestReadyState.rs index bd5a50e69..49644e6e6 100644 --- a/vendor/web-sys/src/features/gen_IdbRequestReadyState.rs +++ b/vendor/web-sys/src/features/gen_IdbRequestReadyState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `IdbRequestReadyState` enum."] diff --git a/vendor/web-sys/src/features/gen_IdbTransaction.rs b/vendor/web-sys/src/features/gen_IdbTransaction.rs index 9e10c9295..70a8620df 100644 --- a/vendor/web-sys/src/features/gen_IdbTransaction.rs +++ b/vendor/web-sys/src/features/gen_IdbTransaction.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbTransactionMode.rs b/vendor/web-sys/src/features/gen_IdbTransactionMode.rs index 8f0eb7647..8115b39d2 100644 --- a/vendor/web-sys/src/features/gen_IdbTransactionMode.rs +++ b/vendor/web-sys/src/features/gen_IdbTransactionMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `IdbTransactionMode` enum."] diff --git a/vendor/web-sys/src/features/gen_IdbVersionChangeEvent.rs b/vendor/web-sys/src/features/gen_IdbVersionChangeEvent.rs index 32348fce7..7e6892ab2 100644 --- a/vendor/web-sys/src/features/gen_IdbVersionChangeEvent.rs +++ b/vendor/web-sys/src/features/gen_IdbVersionChangeEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdbVersionChangeEventInit.rs b/vendor/web-sys/src/features/gen_IdbVersionChangeEventInit.rs index 5ec7d76eb..8e2cdd787 100644 --- a/vendor/web-sys/src/features/gen_IdbVersionChangeEventInit.rs +++ b/vendor/web-sys/src/features/gen_IdbVersionChangeEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdleDeadline.rs b/vendor/web-sys/src/features/gen_IdleDeadline.rs index d79f9ae5e..6776e6b1e 100644 --- a/vendor/web-sys/src/features/gen_IdleDeadline.rs +++ b/vendor/web-sys/src/features/gen_IdleDeadline.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IdleRequestOptions.rs b/vendor/web-sys/src/features/gen_IdleRequestOptions.rs index 06abc336e..61dfe1043 100644 --- a/vendor/web-sys/src/features/gen_IdleRequestOptions.rs +++ b/vendor/web-sys/src/features/gen_IdleRequestOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IirFilterNode.rs b/vendor/web-sys/src/features/gen_IirFilterNode.rs index 833bd3073..b84c9f12f 100644 --- a/vendor/web-sys/src/features/gen_IirFilterNode.rs +++ b/vendor/web-sys/src/features/gen_IirFilterNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IirFilterOptions.rs b/vendor/web-sys/src/features/gen_IirFilterOptions.rs index 2961ffc0c..d21e80ccf 100644 --- a/vendor/web-sys/src/features/gen_IirFilterOptions.rs +++ b/vendor/web-sys/src/features/gen_IirFilterOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ImageBitmap.rs b/vendor/web-sys/src/features/gen_ImageBitmap.rs index 7d73db26d..4a08e980d 100644 --- a/vendor/web-sys/src/features/gen_ImageBitmap.rs +++ b/vendor/web-sys/src/features/gen_ImageBitmap.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ImageBitmapOptions.rs b/vendor/web-sys/src/features/gen_ImageBitmapOptions.rs index e789794d0..bda518acf 100644 --- a/vendor/web-sys/src/features/gen_ImageBitmapOptions.rs +++ b/vendor/web-sys/src/features/gen_ImageBitmapOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ImageBitmapRenderingContext.rs b/vendor/web-sys/src/features/gen_ImageBitmapRenderingContext.rs index 33cc46f02..b0aeb6174 100644 --- a/vendor/web-sys/src/features/gen_ImageBitmapRenderingContext.rs +++ b/vendor/web-sys/src/features/gen_ImageBitmapRenderingContext.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ImageCapture.rs b/vendor/web-sys/src/features/gen_ImageCapture.rs index 4bf2d71cc..d435c4c45 100644 --- a/vendor/web-sys/src/features/gen_ImageCapture.rs +++ b/vendor/web-sys/src/features/gen_ImageCapture.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_ImageCaptureError.rs b/vendor/web-sys/src/features/gen_ImageCaptureError.rs index e04c915d1..114784889 100644 --- a/vendor/web-sys/src/features/gen_ImageCaptureError.rs +++ b/vendor/web-sys/src/features/gen_ImageCaptureError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ImageCaptureErrorEvent.rs b/vendor/web-sys/src/features/gen_ImageCaptureErrorEvent.rs index d51297ae9..b873e01bb 100644 --- a/vendor/web-sys/src/features/gen_ImageCaptureErrorEvent.rs +++ b/vendor/web-sys/src/features/gen_ImageCaptureErrorEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ImageCaptureErrorEventInit.rs b/vendor/web-sys/src/features/gen_ImageCaptureErrorEventInit.rs index b6287188b..b7299dc41 100644 --- a/vendor/web-sys/src/features/gen_ImageCaptureErrorEventInit.rs +++ b/vendor/web-sys/src/features/gen_ImageCaptureErrorEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ImageData.rs b/vendor/web-sys/src/features/gen_ImageData.rs index 60b95675d..a7d624a75 100644 --- a/vendor/web-sys/src/features/gen_ImageData.rs +++ b/vendor/web-sys/src/features/gen_ImageData.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ImageDecodeOptions.rs b/vendor/web-sys/src/features/gen_ImageDecodeOptions.rs index b23963c2a..b19a2ff5e 100644 --- a/vendor/web-sys/src/features/gen_ImageDecodeOptions.rs +++ b/vendor/web-sys/src/features/gen_ImageDecodeOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_ImageDecodeResult.rs b/vendor/web-sys/src/features/gen_ImageDecodeResult.rs index 2af1bf5b9..deccede5a 100644 --- a/vendor/web-sys/src/features/gen_ImageDecodeResult.rs +++ b/vendor/web-sys/src/features/gen_ImageDecodeResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_ImageDecoder.rs b/vendor/web-sys/src/features/gen_ImageDecoder.rs index 2dae3f051..39eab5254 100644 --- a/vendor/web-sys/src/features/gen_ImageDecoder.rs +++ b/vendor/web-sys/src/features/gen_ImageDecoder.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_ImageDecoderInit.rs b/vendor/web-sys/src/features/gen_ImageDecoderInit.rs index a787ca672..165473031 100644 --- a/vendor/web-sys/src/features/gen_ImageDecoderInit.rs +++ b/vendor/web-sys/src/features/gen_ImageDecoderInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_ImageEncodeOptions.rs b/vendor/web-sys/src/features/gen_ImageEncodeOptions.rs new file mode 100644 index 000000000..d3b492287 --- /dev/null +++ b/vendor/web-sys/src/features/gen_ImageEncodeOptions.rs @@ -0,0 +1,58 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageEncodeOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `ImageEncodeOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ImageEncodeOptions`*"] + pub type ImageEncodeOptions; +} +impl ImageEncodeOptions { + #[doc = "Construct a new `ImageEncodeOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ImageEncodeOptions`*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[doc = "Change the `quality` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ImageEncodeOptions`*"] + pub fn quality(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("quality"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[doc = "Change the `type` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ImageEncodeOptions`*"] + pub fn type_(&mut self, val: &str) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +impl Default for ImageEncodeOptions { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_ImageOrientation.rs b/vendor/web-sys/src/features/gen_ImageOrientation.rs index 8c1c25c13..1fe8d731f 100644 --- a/vendor/web-sys/src/features/gen_ImageOrientation.rs +++ b/vendor/web-sys/src/features/gen_ImageOrientation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ImageOrientation` enum."] diff --git a/vendor/web-sys/src/features/gen_ImageTrack.rs b/vendor/web-sys/src/features/gen_ImageTrack.rs index a710c4776..66aa5ac4c 100644 --- a/vendor/web-sys/src/features/gen_ImageTrack.rs +++ b/vendor/web-sys/src/features/gen_ImageTrack.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_ImageTrackList.rs b/vendor/web-sys/src/features/gen_ImageTrackList.rs index 9ddf49af0..b0c3aa8ce 100644 --- a/vendor/web-sys/src/features/gen_ImageTrackList.rs +++ b/vendor/web-sys/src/features/gen_ImageTrackList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_InputEvent.rs b/vendor/web-sys/src/features/gen_InputEvent.rs index cdf501b4d..dddf6af13 100644 --- a/vendor/web-sys/src/features/gen_InputEvent.rs +++ b/vendor/web-sys/src/features/gen_InputEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_InputEventInit.rs b/vendor/web-sys/src/features/gen_InputEventInit.rs index 1ddd034d1..58790f2b3 100644 --- a/vendor/web-sys/src/features/gen_InputEventInit.rs +++ b/vendor/web-sys/src/features/gen_InputEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_InstallTriggerData.rs b/vendor/web-sys/src/features/gen_InstallTriggerData.rs index bb84c5306..44c494c56 100644 --- a/vendor/web-sys/src/features/gen_InstallTriggerData.rs +++ b/vendor/web-sys/src/features/gen_InstallTriggerData.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IntersectionObserver.rs b/vendor/web-sys/src/features/gen_IntersectionObserver.rs index bf4a27b72..8cd9ae34a 100644 --- a/vendor/web-sys/src/features/gen_IntersectionObserver.rs +++ b/vendor/web-sys/src/features/gen_IntersectionObserver.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IntersectionObserverEntry.rs b/vendor/web-sys/src/features/gen_IntersectionObserverEntry.rs index 6caedd2f8..e79c6a1df 100644 --- a/vendor/web-sys/src/features/gen_IntersectionObserverEntry.rs +++ b/vendor/web-sys/src/features/gen_IntersectionObserverEntry.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IntersectionObserverEntryInit.rs b/vendor/web-sys/src/features/gen_IntersectionObserverEntryInit.rs index cbdd61fa1..b1f228792 100644 --- a/vendor/web-sys/src/features/gen_IntersectionObserverEntryInit.rs +++ b/vendor/web-sys/src/features/gen_IntersectionObserverEntryInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IntersectionObserverInit.rs b/vendor/web-sys/src/features/gen_IntersectionObserverInit.rs index 33115b50e..b861cc013 100644 --- a/vendor/web-sys/src/features/gen_IntersectionObserverInit.rs +++ b/vendor/web-sys/src/features/gen_IntersectionObserverInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IntlUtils.rs b/vendor/web-sys/src/features/gen_IntlUtils.rs index 751ce53e9..3d128e71d 100644 --- a/vendor/web-sys/src/features/gen_IntlUtils.rs +++ b/vendor/web-sys/src/features/gen_IntlUtils.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IterableKeyAndValueResult.rs b/vendor/web-sys/src/features/gen_IterableKeyAndValueResult.rs index c88d7cc1d..03fb25fc6 100644 --- a/vendor/web-sys/src/features/gen_IterableKeyAndValueResult.rs +++ b/vendor/web-sys/src/features/gen_IterableKeyAndValueResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IterableKeyOrValueResult.rs b/vendor/web-sys/src/features/gen_IterableKeyOrValueResult.rs index 7dd96ba8c..eb0862894 100644 --- a/vendor/web-sys/src/features/gen_IterableKeyOrValueResult.rs +++ b/vendor/web-sys/src/features/gen_IterableKeyOrValueResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_IterationCompositeOperation.rs b/vendor/web-sys/src/features/gen_IterationCompositeOperation.rs index b4aa9f6cc..d87ccf885 100644 --- a/vendor/web-sys/src/features/gen_IterationCompositeOperation.rs +++ b/vendor/web-sys/src/features/gen_IterationCompositeOperation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `IterationCompositeOperation` enum."] diff --git a/vendor/web-sys/src/features/gen_JsonWebKey.rs b/vendor/web-sys/src/features/gen_JsonWebKey.rs index b377c19c8..ac0a1d172 100644 --- a/vendor/web-sys/src/features/gen_JsonWebKey.rs +++ b/vendor/web-sys/src/features/gen_JsonWebKey.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_KeyAlgorithm.rs b/vendor/web-sys/src/features/gen_KeyAlgorithm.rs index 556fdb011..ba180ae7d 100644 --- a/vendor/web-sys/src/features/gen_KeyAlgorithm.rs +++ b/vendor/web-sys/src/features/gen_KeyAlgorithm.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_KeyEvent.rs b/vendor/web-sys/src/features/gen_KeyEvent.rs index 997fa8101..6d834cb85 100644 --- a/vendor/web-sys/src/features/gen_KeyEvent.rs +++ b/vendor/web-sys/src/features/gen_KeyEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_KeyIdsInitData.rs b/vendor/web-sys/src/features/gen_KeyIdsInitData.rs index 02c02c124..5076c6835 100644 --- a/vendor/web-sys/src/features/gen_KeyIdsInitData.rs +++ b/vendor/web-sys/src/features/gen_KeyIdsInitData.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_KeyboardEvent.rs b/vendor/web-sys/src/features/gen_KeyboardEvent.rs index 4bb5b0f2a..fbd208213 100644 --- a/vendor/web-sys/src/features/gen_KeyboardEvent.rs +++ b/vendor/web-sys/src/features/gen_KeyboardEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_KeyboardEventInit.rs b/vendor/web-sys/src/features/gen_KeyboardEventInit.rs index a1ec1ae2e..f09608394 100644 --- a/vendor/web-sys/src/features/gen_KeyboardEventInit.rs +++ b/vendor/web-sys/src/features/gen_KeyboardEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_KeyframeAnimationOptions.rs b/vendor/web-sys/src/features/gen_KeyframeAnimationOptions.rs new file mode 100644 index 000000000..430b5e586 --- /dev/null +++ b/vendor/web-sys/src/features/gen_KeyframeAnimationOptions.rs @@ -0,0 +1,279 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = KeyframeAnimationOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `KeyframeAnimationOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type KeyframeAnimationOptions; +} +#[cfg(web_sys_unstable_apis)] +impl KeyframeAnimationOptions { + #[doc = "Construct a new `KeyframeAnimationOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `delay` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn delay(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("delay"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "PlaybackDirection")] + #[doc = "Change the `direction` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `KeyframeAnimationOptions`, `PlaybackDirection`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn direction(&mut self, val: PlaybackDirection) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("direction"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `duration` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn duration(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("duration"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `easing` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn easing(&mut self, val: &str) -> &mut Self { + use wasm_bindgen::JsValue; + let r = + ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("easing"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `endDelay` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn end_delay(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("endDelay"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "FillMode")] + #[doc = "Change the `fill` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FillMode`, `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn fill(&mut self, val: FillMode) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("fill"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `iterationStart` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn iteration_start(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("iterationStart"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `iterations` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn iterations(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("iterations"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "CompositeOperation")] + #[doc = "Change the `composite` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CompositeOperation`, `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn composite(&mut self, val: CompositeOperation) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("composite"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "IterationCompositeOperation")] + #[doc = "Change the `iterationComposite` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `IterationCompositeOperation`, `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn iteration_composite(&mut self, val: IterationCompositeOperation) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("iterationComposite"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `id` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn id(&mut self, val: &str) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "AnimationTimeline")] + #[doc = "Change the `timeline` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `AnimationTimeline`, `KeyframeAnimationOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn timeline(&mut self, val: Option<&AnimationTimeline>) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("timeline"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for KeyframeAnimationOptions { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_KeyframeEffect.rs b/vendor/web-sys/src/features/gen_KeyframeEffect.rs index 08bdbd732..549219350 100644 --- a/vendor/web-sys/src/features/gen_KeyframeEffect.rs +++ b/vendor/web-sys/src/features/gen_KeyframeEffect.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_KeyframeEffectOptions.rs b/vendor/web-sys/src/features/gen_KeyframeEffectOptions.rs index 0aad56b7e..222ba75f3 100644 --- a/vendor/web-sys/src/features/gen_KeyframeEffectOptions.rs +++ b/vendor/web-sys/src/features/gen_KeyframeEffectOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_L10nElement.rs b/vendor/web-sys/src/features/gen_L10nElement.rs index 7bdb10b95..63b382927 100644 --- a/vendor/web-sys/src/features/gen_L10nElement.rs +++ b/vendor/web-sys/src/features/gen_L10nElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_L10nValue.rs b/vendor/web-sys/src/features/gen_L10nValue.rs index 964afcccd..e5dc9f315 100644 --- a/vendor/web-sys/src/features/gen_L10nValue.rs +++ b/vendor/web-sys/src/features/gen_L10nValue.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_LatencyMode.rs b/vendor/web-sys/src/features/gen_LatencyMode.rs index 6179b2849..aa53e603f 100644 --- a/vendor/web-sys/src/features/gen_LatencyMode.rs +++ b/vendor/web-sys/src/features/gen_LatencyMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_LifecycleCallbacks.rs b/vendor/web-sys/src/features/gen_LifecycleCallbacks.rs index bb95ad3c0..c6ce99e14 100644 --- a/vendor/web-sys/src/features/gen_LifecycleCallbacks.rs +++ b/vendor/web-sys/src/features/gen_LifecycleCallbacks.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_LineAlignSetting.rs b/vendor/web-sys/src/features/gen_LineAlignSetting.rs index a8c4e0110..eb1cf3d60 100644 --- a/vendor/web-sys/src/features/gen_LineAlignSetting.rs +++ b/vendor/web-sys/src/features/gen_LineAlignSetting.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `LineAlignSetting` enum."] diff --git a/vendor/web-sys/src/features/gen_ListBoxObject.rs b/vendor/web-sys/src/features/gen_ListBoxObject.rs index 09bc45de5..2a13c9f1f 100644 --- a/vendor/web-sys/src/features/gen_ListBoxObject.rs +++ b/vendor/web-sys/src/features/gen_ListBoxObject.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_LocalMediaStream.rs b/vendor/web-sys/src/features/gen_LocalMediaStream.rs index f6eb15437..5529e8dbd 100644 --- a/vendor/web-sys/src/features/gen_LocalMediaStream.rs +++ b/vendor/web-sys/src/features/gen_LocalMediaStream.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_LocaleInfo.rs b/vendor/web-sys/src/features/gen_LocaleInfo.rs index 75842e840..f6debf394 100644 --- a/vendor/web-sys/src/features/gen_LocaleInfo.rs +++ b/vendor/web-sys/src/features/gen_LocaleInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Location.rs b/vendor/web-sys/src/features/gen_Location.rs index f75f2bd48..f33f74714 100644 --- a/vendor/web-sys/src/features/gen_Location.rs +++ b/vendor/web-sys/src/features/gen_Location.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaCapabilities.rs b/vendor/web-sys/src/features/gen_MediaCapabilities.rs index 1169339b6..e2fb0ad53 100644 --- a/vendor/web-sys/src/features/gen_MediaCapabilities.rs +++ b/vendor/web-sys/src/features/gen_MediaCapabilities.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaCapabilitiesInfo.rs b/vendor/web-sys/src/features/gen_MediaCapabilitiesInfo.rs index 2f36d5d1c..b35b38eed 100644 --- a/vendor/web-sys/src/features/gen_MediaCapabilitiesInfo.rs +++ b/vendor/web-sys/src/features/gen_MediaCapabilitiesInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaConfiguration.rs b/vendor/web-sys/src/features/gen_MediaConfiguration.rs index d56d37044..0f1170f28 100644 --- a/vendor/web-sys/src/features/gen_MediaConfiguration.rs +++ b/vendor/web-sys/src/features/gen_MediaConfiguration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaDecodingConfiguration.rs b/vendor/web-sys/src/features/gen_MediaDecodingConfiguration.rs index ef23b597f..ffa9292de 100644 --- a/vendor/web-sys/src/features/gen_MediaDecodingConfiguration.rs +++ b/vendor/web-sys/src/features/gen_MediaDecodingConfiguration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaDecodingType.rs b/vendor/web-sys/src/features/gen_MediaDecodingType.rs index 79ae5f892..865462b8a 100644 --- a/vendor/web-sys/src/features/gen_MediaDecodingType.rs +++ b/vendor/web-sys/src/features/gen_MediaDecodingType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MediaDecodingType` enum."] diff --git a/vendor/web-sys/src/features/gen_MediaDeviceInfo.rs b/vendor/web-sys/src/features/gen_MediaDeviceInfo.rs index c3f9af20e..e108c8754 100644 --- a/vendor/web-sys/src/features/gen_MediaDeviceInfo.rs +++ b/vendor/web-sys/src/features/gen_MediaDeviceInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaDeviceKind.rs b/vendor/web-sys/src/features/gen_MediaDeviceKind.rs index ff9873c26..69c6ed8ce 100644 --- a/vendor/web-sys/src/features/gen_MediaDeviceKind.rs +++ b/vendor/web-sys/src/features/gen_MediaDeviceKind.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MediaDeviceKind` enum."] diff --git a/vendor/web-sys/src/features/gen_MediaDevices.rs b/vendor/web-sys/src/features/gen_MediaDevices.rs index d8a76c67f..d491e87d8 100644 --- a/vendor/web-sys/src/features/gen_MediaDevices.rs +++ b/vendor/web-sys/src/features/gen_MediaDevices.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaElementAudioSourceNode.rs b/vendor/web-sys/src/features/gen_MediaElementAudioSourceNode.rs index 4b5507167..94023c046 100644 --- a/vendor/web-sys/src/features/gen_MediaElementAudioSourceNode.rs +++ b/vendor/web-sys/src/features/gen_MediaElementAudioSourceNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaElementAudioSourceOptions.rs b/vendor/web-sys/src/features/gen_MediaElementAudioSourceOptions.rs index 6db428e58..8a8bb78ab 100644 --- a/vendor/web-sys/src/features/gen_MediaElementAudioSourceOptions.rs +++ b/vendor/web-sys/src/features/gen_MediaElementAudioSourceOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaEncodingConfiguration.rs b/vendor/web-sys/src/features/gen_MediaEncodingConfiguration.rs index a52fe6a76..d08e4ef3b 100644 --- a/vendor/web-sys/src/features/gen_MediaEncodingConfiguration.rs +++ b/vendor/web-sys/src/features/gen_MediaEncodingConfiguration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaEncodingType.rs b/vendor/web-sys/src/features/gen_MediaEncodingType.rs index e478627cb..84d8bba8c 100644 --- a/vendor/web-sys/src/features/gen_MediaEncodingType.rs +++ b/vendor/web-sys/src/features/gen_MediaEncodingType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MediaEncodingType` enum."] diff --git a/vendor/web-sys/src/features/gen_MediaEncryptedEvent.rs b/vendor/web-sys/src/features/gen_MediaEncryptedEvent.rs index 07eab6308..296da0e21 100644 --- a/vendor/web-sys/src/features/gen_MediaEncryptedEvent.rs +++ b/vendor/web-sys/src/features/gen_MediaEncryptedEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaError.rs b/vendor/web-sys/src/features/gen_MediaError.rs index 538ed20da..e9427d212 100644 --- a/vendor/web-sys/src/features/gen_MediaError.rs +++ b/vendor/web-sys/src/features/gen_MediaError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaImage.rs b/vendor/web-sys/src/features/gen_MediaImage.rs index 5a58a88bc..2eb3a955c 100644 --- a/vendor/web-sys/src/features/gen_MediaImage.rs +++ b/vendor/web-sys/src/features/gen_MediaImage.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_MediaKeyError.rs b/vendor/web-sys/src/features/gen_MediaKeyError.rs index 3d9306c9f..5ceee0e5f 100644 --- a/vendor/web-sys/src/features/gen_MediaKeyError.rs +++ b/vendor/web-sys/src/features/gen_MediaKeyError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaKeyMessageEvent.rs b/vendor/web-sys/src/features/gen_MediaKeyMessageEvent.rs index bfc16e9cd..ee3356200 100644 --- a/vendor/web-sys/src/features/gen_MediaKeyMessageEvent.rs +++ b/vendor/web-sys/src/features/gen_MediaKeyMessageEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaKeyMessageEventInit.rs b/vendor/web-sys/src/features/gen_MediaKeyMessageEventInit.rs index a741832a2..9e48fad21 100644 --- a/vendor/web-sys/src/features/gen_MediaKeyMessageEventInit.rs +++ b/vendor/web-sys/src/features/gen_MediaKeyMessageEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaKeyMessageType.rs b/vendor/web-sys/src/features/gen_MediaKeyMessageType.rs index b101fb7ec..c4251b25a 100644 --- a/vendor/web-sys/src/features/gen_MediaKeyMessageType.rs +++ b/vendor/web-sys/src/features/gen_MediaKeyMessageType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MediaKeyMessageType` enum."] diff --git a/vendor/web-sys/src/features/gen_MediaKeyNeededEventInit.rs b/vendor/web-sys/src/features/gen_MediaKeyNeededEventInit.rs index 5dc1067f3..96041fcbb 100644 --- a/vendor/web-sys/src/features/gen_MediaKeyNeededEventInit.rs +++ b/vendor/web-sys/src/features/gen_MediaKeyNeededEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaKeySession.rs b/vendor/web-sys/src/features/gen_MediaKeySession.rs index df29983ca..8f639f8a6 100644 --- a/vendor/web-sys/src/features/gen_MediaKeySession.rs +++ b/vendor/web-sys/src/features/gen_MediaKeySession.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaKeySessionType.rs b/vendor/web-sys/src/features/gen_MediaKeySessionType.rs index c50b308c0..0f131bccc 100644 --- a/vendor/web-sys/src/features/gen_MediaKeySessionType.rs +++ b/vendor/web-sys/src/features/gen_MediaKeySessionType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MediaKeySessionType` enum."] diff --git a/vendor/web-sys/src/features/gen_MediaKeyStatus.rs b/vendor/web-sys/src/features/gen_MediaKeyStatus.rs index 7e24d37ab..8016cdeb2 100644 --- a/vendor/web-sys/src/features/gen_MediaKeyStatus.rs +++ b/vendor/web-sys/src/features/gen_MediaKeyStatus.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MediaKeyStatus` enum."] diff --git a/vendor/web-sys/src/features/gen_MediaKeyStatusMap.rs b/vendor/web-sys/src/features/gen_MediaKeyStatusMap.rs index ee2b22c9d..ea2a4aef6 100644 --- a/vendor/web-sys/src/features/gen_MediaKeyStatusMap.rs +++ b/vendor/web-sys/src/features/gen_MediaKeyStatusMap.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaKeySystemAccess.rs b/vendor/web-sys/src/features/gen_MediaKeySystemAccess.rs index 544a59a87..fd61076c4 100644 --- a/vendor/web-sys/src/features/gen_MediaKeySystemAccess.rs +++ b/vendor/web-sys/src/features/gen_MediaKeySystemAccess.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaKeySystemConfiguration.rs b/vendor/web-sys/src/features/gen_MediaKeySystemConfiguration.rs index c565cf98f..2491b941a 100644 --- a/vendor/web-sys/src/features/gen_MediaKeySystemConfiguration.rs +++ b/vendor/web-sys/src/features/gen_MediaKeySystemConfiguration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaKeySystemMediaCapability.rs b/vendor/web-sys/src/features/gen_MediaKeySystemMediaCapability.rs index b3def21e2..fab911889 100644 --- a/vendor/web-sys/src/features/gen_MediaKeySystemMediaCapability.rs +++ b/vendor/web-sys/src/features/gen_MediaKeySystemMediaCapability.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaKeySystemStatus.rs b/vendor/web-sys/src/features/gen_MediaKeySystemStatus.rs index eaf627da5..fee902ec5 100644 --- a/vendor/web-sys/src/features/gen_MediaKeySystemStatus.rs +++ b/vendor/web-sys/src/features/gen_MediaKeySystemStatus.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MediaKeySystemStatus` enum."] diff --git a/vendor/web-sys/src/features/gen_MediaKeys.rs b/vendor/web-sys/src/features/gen_MediaKeys.rs index ecf90c11e..6386a769a 100644 --- a/vendor/web-sys/src/features/gen_MediaKeys.rs +++ b/vendor/web-sys/src/features/gen_MediaKeys.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaKeysPolicy.rs b/vendor/web-sys/src/features/gen_MediaKeysPolicy.rs index df5fefbe9..079ed4567 100644 --- a/vendor/web-sys/src/features/gen_MediaKeysPolicy.rs +++ b/vendor/web-sys/src/features/gen_MediaKeysPolicy.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaKeysRequirement.rs b/vendor/web-sys/src/features/gen_MediaKeysRequirement.rs index 8703cbe66..e1f3bb08c 100644 --- a/vendor/web-sys/src/features/gen_MediaKeysRequirement.rs +++ b/vendor/web-sys/src/features/gen_MediaKeysRequirement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MediaKeysRequirement` enum."] diff --git a/vendor/web-sys/src/features/gen_MediaList.rs b/vendor/web-sys/src/features/gen_MediaList.rs index 89b8f383f..b74a1f680 100644 --- a/vendor/web-sys/src/features/gen_MediaList.rs +++ b/vendor/web-sys/src/features/gen_MediaList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaMetadata.rs b/vendor/web-sys/src/features/gen_MediaMetadata.rs index 6911f663c..57174ef7c 100644 --- a/vendor/web-sys/src/features/gen_MediaMetadata.rs +++ b/vendor/web-sys/src/features/gen_MediaMetadata.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_MediaMetadataInit.rs b/vendor/web-sys/src/features/gen_MediaMetadataInit.rs index 4551618b5..7ec33aa14 100644 --- a/vendor/web-sys/src/features/gen_MediaMetadataInit.rs +++ b/vendor/web-sys/src/features/gen_MediaMetadataInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_MediaPositionState.rs b/vendor/web-sys/src/features/gen_MediaPositionState.rs index 452f445ce..b8ac6fa5f 100644 --- a/vendor/web-sys/src/features/gen_MediaPositionState.rs +++ b/vendor/web-sys/src/features/gen_MediaPositionState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_MediaQueryList.rs b/vendor/web-sys/src/features/gen_MediaQueryList.rs index 24faf3a31..9465c3827 100644 --- a/vendor/web-sys/src/features/gen_MediaQueryList.rs +++ b/vendor/web-sys/src/features/gen_MediaQueryList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaQueryListEvent.rs b/vendor/web-sys/src/features/gen_MediaQueryListEvent.rs index ceca733f1..8733d985b 100644 --- a/vendor/web-sys/src/features/gen_MediaQueryListEvent.rs +++ b/vendor/web-sys/src/features/gen_MediaQueryListEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaQueryListEventInit.rs b/vendor/web-sys/src/features/gen_MediaQueryListEventInit.rs index 5546b6ed5..b792f8ec2 100644 --- a/vendor/web-sys/src/features/gen_MediaQueryListEventInit.rs +++ b/vendor/web-sys/src/features/gen_MediaQueryListEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaRecorder.rs b/vendor/web-sys/src/features/gen_MediaRecorder.rs index 1153152da..acd57cb27 100644 --- a/vendor/web-sys/src/features/gen_MediaRecorder.rs +++ b/vendor/web-sys/src/features/gen_MediaRecorder.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaRecorderErrorEvent.rs b/vendor/web-sys/src/features/gen_MediaRecorderErrorEvent.rs index 5a00bb630..c4bd916ed 100644 --- a/vendor/web-sys/src/features/gen_MediaRecorderErrorEvent.rs +++ b/vendor/web-sys/src/features/gen_MediaRecorderErrorEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaRecorderErrorEventInit.rs b/vendor/web-sys/src/features/gen_MediaRecorderErrorEventInit.rs index 834785822..41ca06922 100644 --- a/vendor/web-sys/src/features/gen_MediaRecorderErrorEventInit.rs +++ b/vendor/web-sys/src/features/gen_MediaRecorderErrorEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaRecorderOptions.rs b/vendor/web-sys/src/features/gen_MediaRecorderOptions.rs index 756be77b7..8a5fc951d 100644 --- a/vendor/web-sys/src/features/gen_MediaRecorderOptions.rs +++ b/vendor/web-sys/src/features/gen_MediaRecorderOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaSession.rs b/vendor/web-sys/src/features/gen_MediaSession.rs index 5f50eec8c..54f0f3ff1 100644 --- a/vendor/web-sys/src/features/gen_MediaSession.rs +++ b/vendor/web-sys/src/features/gen_MediaSession.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_MediaSessionAction.rs b/vendor/web-sys/src/features/gen_MediaSessionAction.rs index b25bf3065..20f74a59a 100644 --- a/vendor/web-sys/src/features/gen_MediaSessionAction.rs +++ b/vendor/web-sys/src/features/gen_MediaSessionAction.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaSessionActionDetails.rs b/vendor/web-sys/src/features/gen_MediaSessionActionDetails.rs index f530e8f98..a9803decf 100644 --- a/vendor/web-sys/src/features/gen_MediaSessionActionDetails.rs +++ b/vendor/web-sys/src/features/gen_MediaSessionActionDetails.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_MediaSessionPlaybackState.rs b/vendor/web-sys/src/features/gen_MediaSessionPlaybackState.rs index 77ea9df59..a1e12dc79 100644 --- a/vendor/web-sys/src/features/gen_MediaSessionPlaybackState.rs +++ b/vendor/web-sys/src/features/gen_MediaSessionPlaybackState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaSource.rs b/vendor/web-sys/src/features/gen_MediaSource.rs index 1edd2c3c5..d2eea445d 100644 --- a/vendor/web-sys/src/features/gen_MediaSource.rs +++ b/vendor/web-sys/src/features/gen_MediaSource.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaSourceEndOfStreamError.rs b/vendor/web-sys/src/features/gen_MediaSourceEndOfStreamError.rs index 76edf0e6d..ca6827210 100644 --- a/vendor/web-sys/src/features/gen_MediaSourceEndOfStreamError.rs +++ b/vendor/web-sys/src/features/gen_MediaSourceEndOfStreamError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MediaSourceEndOfStreamError` enum."] diff --git a/vendor/web-sys/src/features/gen_MediaSourceEnum.rs b/vendor/web-sys/src/features/gen_MediaSourceEnum.rs index a3d8326ee..b10fe7e1b 100644 --- a/vendor/web-sys/src/features/gen_MediaSourceEnum.rs +++ b/vendor/web-sys/src/features/gen_MediaSourceEnum.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MediaSourceEnum` enum."] diff --git a/vendor/web-sys/src/features/gen_MediaSourceReadyState.rs b/vendor/web-sys/src/features/gen_MediaSourceReadyState.rs index b0033cbc5..1b8e06a09 100644 --- a/vendor/web-sys/src/features/gen_MediaSourceReadyState.rs +++ b/vendor/web-sys/src/features/gen_MediaSourceReadyState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MediaSourceReadyState` enum."] diff --git a/vendor/web-sys/src/features/gen_MediaStream.rs b/vendor/web-sys/src/features/gen_MediaStream.rs index 75d5f21a9..9e78ed078 100644 --- a/vendor/web-sys/src/features/gen_MediaStream.rs +++ b/vendor/web-sys/src/features/gen_MediaStream.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaStreamAudioDestinationNode.rs b/vendor/web-sys/src/features/gen_MediaStreamAudioDestinationNode.rs index 844648459..5c32916b0 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamAudioDestinationNode.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamAudioDestinationNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaStreamAudioSourceNode.rs b/vendor/web-sys/src/features/gen_MediaStreamAudioSourceNode.rs index 0c206a44c..b7f56c617 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamAudioSourceNode.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamAudioSourceNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaStreamAudioSourceOptions.rs b/vendor/web-sys/src/features/gen_MediaStreamAudioSourceOptions.rs index 8f72c319a..215d5e004 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamAudioSourceOptions.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamAudioSourceOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaStreamConstraints.rs b/vendor/web-sys/src/features/gen_MediaStreamConstraints.rs index 9950c1844..ef0d435e3 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamConstraints.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamConstraints.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaStreamError.rs b/vendor/web-sys/src/features/gen_MediaStreamError.rs index b18996d42..7c4a544d8 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamError.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaStreamEvent.rs b/vendor/web-sys/src/features/gen_MediaStreamEvent.rs index d562649b4..60996204c 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamEvent.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaStreamEventInit.rs b/vendor/web-sys/src/features/gen_MediaStreamEventInit.rs index eb3d29564..ee276698f 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamEventInit.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrack.rs b/vendor/web-sys/src/features/gen_MediaStreamTrack.rs index 113d02887..1e7007ffc 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamTrack.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamTrack.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackEvent.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackEvent.rs index 30884b9ec..b819e87fd 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamTrackEvent.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamTrackEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackEventInit.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackEventInit.rs index 4657ef56b..6f0d79afc 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamTrackEventInit.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamTrackEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackGenerator.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackGenerator.rs index eed765756..7a83f7e1d 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamTrackGenerator.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamTrackGenerator.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackGeneratorInit.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackGeneratorInit.rs index fc666fd7b..752f66885 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamTrackGeneratorInit.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamTrackGeneratorInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackProcessor.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackProcessor.rs index 8f3b04980..599afdc90 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamTrackProcessor.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamTrackProcessor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackProcessorInit.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackProcessorInit.rs index 8ce1dff7a..bbf2078e8 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamTrackProcessorInit.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamTrackProcessorInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_MediaStreamTrackState.rs b/vendor/web-sys/src/features/gen_MediaStreamTrackState.rs index 66d23902a..854efb461 100644 --- a/vendor/web-sys/src/features/gen_MediaStreamTrackState.rs +++ b/vendor/web-sys/src/features/gen_MediaStreamTrackState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MediaStreamTrackState` enum."] diff --git a/vendor/web-sys/src/features/gen_MediaTrackConstraintSet.rs b/vendor/web-sys/src/features/gen_MediaTrackConstraintSet.rs index f89ab83c1..3c5212071 100644 --- a/vendor/web-sys/src/features/gen_MediaTrackConstraintSet.rs +++ b/vendor/web-sys/src/features/gen_MediaTrackConstraintSet.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaTrackConstraints.rs b/vendor/web-sys/src/features/gen_MediaTrackConstraints.rs index 8f76b7964..dbd4cfd9a 100644 --- a/vendor/web-sys/src/features/gen_MediaTrackConstraints.rs +++ b/vendor/web-sys/src/features/gen_MediaTrackConstraints.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaTrackSettings.rs b/vendor/web-sys/src/features/gen_MediaTrackSettings.rs index e279a5595..6a4493dcc 100644 --- a/vendor/web-sys/src/features/gen_MediaTrackSettings.rs +++ b/vendor/web-sys/src/features/gen_MediaTrackSettings.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MediaTrackSupportedConstraints.rs b/vendor/web-sys/src/features/gen_MediaTrackSupportedConstraints.rs index 068ae203e..aa47b5f02 100644 --- a/vendor/web-sys/src/features/gen_MediaTrackSupportedConstraints.rs +++ b/vendor/web-sys/src/features/gen_MediaTrackSupportedConstraints.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MemoryAttribution.rs b/vendor/web-sys/src/features/gen_MemoryAttribution.rs new file mode 100644 index 000000000..16d6c7056 --- /dev/null +++ b/vendor/web-sys/src/features/gen_MemoryAttribution.rs @@ -0,0 +1,93 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MemoryAttribution)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `MemoryAttribution` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryAttribution`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type MemoryAttribution; +} +#[cfg(web_sys_unstable_apis)] +impl MemoryAttribution { + #[doc = "Construct a new `MemoryAttribution`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryAttribution`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "MemoryAttributionContainer")] + #[doc = "Change the `container` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryAttribution`, `MemoryAttributionContainer`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn container(&mut self, val: &MemoryAttributionContainer) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("container"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `scope` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryAttribution`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn scope(&mut self, val: &str) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("scope"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `url` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryAttribution`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn url(&mut self, val: &str) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("url"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for MemoryAttribution { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_MemoryAttributionContainer.rs b/vendor/web-sys/src/features/gen_MemoryAttributionContainer.rs new file mode 100644 index 000000000..7365be8b9 --- /dev/null +++ b/vendor/web-sys/src/features/gen_MemoryAttributionContainer.rs @@ -0,0 +1,71 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MemoryAttributionContainer)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `MemoryAttributionContainer` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryAttributionContainer`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type MemoryAttributionContainer; +} +#[cfg(web_sys_unstable_apis)] +impl MemoryAttributionContainer { + #[doc = "Construct a new `MemoryAttributionContainer`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryAttributionContainer`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `id` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryAttributionContainer`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn id(&mut self, val: &str) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("id"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `src` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryAttributionContainer`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn src(&mut self, val: &str) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("src"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for MemoryAttributionContainer { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_MemoryBreakdownEntry.rs b/vendor/web-sys/src/features/gen_MemoryBreakdownEntry.rs new file mode 100644 index 000000000..0588e44af --- /dev/null +++ b/vendor/web-sys/src/features/gen_MemoryBreakdownEntry.rs @@ -0,0 +1,92 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MemoryBreakdownEntry)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `MemoryBreakdownEntry` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryBreakdownEntry`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type MemoryBreakdownEntry; +} +#[cfg(web_sys_unstable_apis)] +impl MemoryBreakdownEntry { + #[doc = "Construct a new `MemoryBreakdownEntry`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryBreakdownEntry`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `attribution` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryBreakdownEntry`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn attribution(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("attribution"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `bytes` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryBreakdownEntry`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn bytes(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("bytes"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `types` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryBreakdownEntry`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn types(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("types"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for MemoryBreakdownEntry { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_MemoryMeasurement.rs b/vendor/web-sys/src/features/gen_MemoryMeasurement.rs new file mode 100644 index 000000000..db9b2b695 --- /dev/null +++ b/vendor/web-sys/src/features/gen_MemoryMeasurement.rs @@ -0,0 +1,75 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MemoryMeasurement)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `MemoryMeasurement` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryMeasurement`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type MemoryMeasurement; +} +#[cfg(web_sys_unstable_apis)] +impl MemoryMeasurement { + #[doc = "Construct a new `MemoryMeasurement`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryMeasurement`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `breakdown` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryMeasurement`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn breakdown(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("breakdown"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `bytes` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `MemoryMeasurement`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn bytes(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("bytes"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for MemoryMeasurement { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_MessageChannel.rs b/vendor/web-sys/src/features/gen_MessageChannel.rs index 4422c14af..10c61420b 100644 --- a/vendor/web-sys/src/features/gen_MessageChannel.rs +++ b/vendor/web-sys/src/features/gen_MessageChannel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MessageEvent.rs b/vendor/web-sys/src/features/gen_MessageEvent.rs index 89df39942..38843a95b 100644 --- a/vendor/web-sys/src/features/gen_MessageEvent.rs +++ b/vendor/web-sys/src/features/gen_MessageEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MessageEventInit.rs b/vendor/web-sys/src/features/gen_MessageEventInit.rs index 86092746e..2a098bee6 100644 --- a/vendor/web-sys/src/features/gen_MessageEventInit.rs +++ b/vendor/web-sys/src/features/gen_MessageEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MessagePort.rs b/vendor/web-sys/src/features/gen_MessagePort.rs index 2eaf463d0..3e77303b1 100644 --- a/vendor/web-sys/src/features/gen_MessagePort.rs +++ b/vendor/web-sys/src/features/gen_MessagePort.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MidiAccess.rs b/vendor/web-sys/src/features/gen_MidiAccess.rs index 4c0db7544..e6a9c4e4f 100644 --- a/vendor/web-sys/src/features/gen_MidiAccess.rs +++ b/vendor/web-sys/src/features/gen_MidiAccess.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MidiConnectionEvent.rs b/vendor/web-sys/src/features/gen_MidiConnectionEvent.rs index 03adeb7d6..71503ee74 100644 --- a/vendor/web-sys/src/features/gen_MidiConnectionEvent.rs +++ b/vendor/web-sys/src/features/gen_MidiConnectionEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MidiConnectionEventInit.rs b/vendor/web-sys/src/features/gen_MidiConnectionEventInit.rs index 3b863c8cb..125b7476d 100644 --- a/vendor/web-sys/src/features/gen_MidiConnectionEventInit.rs +++ b/vendor/web-sys/src/features/gen_MidiConnectionEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MidiInput.rs b/vendor/web-sys/src/features/gen_MidiInput.rs index d481aa2e9..7d57ce959 100644 --- a/vendor/web-sys/src/features/gen_MidiInput.rs +++ b/vendor/web-sys/src/features/gen_MidiInput.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MidiInputMap.rs b/vendor/web-sys/src/features/gen_MidiInputMap.rs index c0a409412..f477f0cd4 100644 --- a/vendor/web-sys/src/features/gen_MidiInputMap.rs +++ b/vendor/web-sys/src/features/gen_MidiInputMap.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MidiMessageEvent.rs b/vendor/web-sys/src/features/gen_MidiMessageEvent.rs index f4462faf7..9b19e305d 100644 --- a/vendor/web-sys/src/features/gen_MidiMessageEvent.rs +++ b/vendor/web-sys/src/features/gen_MidiMessageEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MidiMessageEventInit.rs b/vendor/web-sys/src/features/gen_MidiMessageEventInit.rs index b1c6e943e..4002e71c6 100644 --- a/vendor/web-sys/src/features/gen_MidiMessageEventInit.rs +++ b/vendor/web-sys/src/features/gen_MidiMessageEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MidiOptions.rs b/vendor/web-sys/src/features/gen_MidiOptions.rs index d1e320d78..482e5427c 100644 --- a/vendor/web-sys/src/features/gen_MidiOptions.rs +++ b/vendor/web-sys/src/features/gen_MidiOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MidiOutput.rs b/vendor/web-sys/src/features/gen_MidiOutput.rs index 8dc8a7aae..7f1e806da 100644 --- a/vendor/web-sys/src/features/gen_MidiOutput.rs +++ b/vendor/web-sys/src/features/gen_MidiOutput.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MidiOutputMap.rs b/vendor/web-sys/src/features/gen_MidiOutputMap.rs index e0b9f86f1..872306acd 100644 --- a/vendor/web-sys/src/features/gen_MidiOutputMap.rs +++ b/vendor/web-sys/src/features/gen_MidiOutputMap.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MidiPort.rs b/vendor/web-sys/src/features/gen_MidiPort.rs index c69a4ee0a..e34ef8068 100644 --- a/vendor/web-sys/src/features/gen_MidiPort.rs +++ b/vendor/web-sys/src/features/gen_MidiPort.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MidiPortConnectionState.rs b/vendor/web-sys/src/features/gen_MidiPortConnectionState.rs index ae25b7e45..e0389280e 100644 --- a/vendor/web-sys/src/features/gen_MidiPortConnectionState.rs +++ b/vendor/web-sys/src/features/gen_MidiPortConnectionState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MidiPortConnectionState` enum."] diff --git a/vendor/web-sys/src/features/gen_MidiPortDeviceState.rs b/vendor/web-sys/src/features/gen_MidiPortDeviceState.rs index c443c64ed..f1bd843f5 100644 --- a/vendor/web-sys/src/features/gen_MidiPortDeviceState.rs +++ b/vendor/web-sys/src/features/gen_MidiPortDeviceState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MidiPortDeviceState` enum."] diff --git a/vendor/web-sys/src/features/gen_MidiPortType.rs b/vendor/web-sys/src/features/gen_MidiPortType.rs index d987ea7b4..507c37d92 100644 --- a/vendor/web-sys/src/features/gen_MidiPortType.rs +++ b/vendor/web-sys/src/features/gen_MidiPortType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `MidiPortType` enum."] diff --git a/vendor/web-sys/src/features/gen_MimeType.rs b/vendor/web-sys/src/features/gen_MimeType.rs index 1588cb14a..02abadddd 100644 --- a/vendor/web-sys/src/features/gen_MimeType.rs +++ b/vendor/web-sys/src/features/gen_MimeType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MimeTypeArray.rs b/vendor/web-sys/src/features/gen_MimeTypeArray.rs index 79fe54a74..eb6ea2c6e 100644 --- a/vendor/web-sys/src/features/gen_MimeTypeArray.rs +++ b/vendor/web-sys/src/features/gen_MimeTypeArray.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MouseEvent.rs b/vendor/web-sys/src/features/gen_MouseEvent.rs index 3a44e137e..ad7826a20 100644 --- a/vendor/web-sys/src/features/gen_MouseEvent.rs +++ b/vendor/web-sys/src/features/gen_MouseEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MouseEventInit.rs b/vendor/web-sys/src/features/gen_MouseEventInit.rs index def45c9f4..61c5bb518 100644 --- a/vendor/web-sys/src/features/gen_MouseEventInit.rs +++ b/vendor/web-sys/src/features/gen_MouseEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MouseScrollEvent.rs b/vendor/web-sys/src/features/gen_MouseScrollEvent.rs index 01d297011..9bed2d617 100644 --- a/vendor/web-sys/src/features/gen_MouseScrollEvent.rs +++ b/vendor/web-sys/src/features/gen_MouseScrollEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MozDebug.rs b/vendor/web-sys/src/features/gen_MozDebug.rs index 6d83c97f3..7fd1c91d3 100644 --- a/vendor/web-sys/src/features/gen_MozDebug.rs +++ b/vendor/web-sys/src/features/gen_MozDebug.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MutationEvent.rs b/vendor/web-sys/src/features/gen_MutationEvent.rs index 72f7bc9ad..b21ae79ee 100644 --- a/vendor/web-sys/src/features/gen_MutationEvent.rs +++ b/vendor/web-sys/src/features/gen_MutationEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MutationObserver.rs b/vendor/web-sys/src/features/gen_MutationObserver.rs index c9ce64ea2..58ba233c1 100644 --- a/vendor/web-sys/src/features/gen_MutationObserver.rs +++ b/vendor/web-sys/src/features/gen_MutationObserver.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MutationObserverInit.rs b/vendor/web-sys/src/features/gen_MutationObserverInit.rs index fb3aac801..736ea7092 100644 --- a/vendor/web-sys/src/features/gen_MutationObserverInit.rs +++ b/vendor/web-sys/src/features/gen_MutationObserverInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MutationObservingInfo.rs b/vendor/web-sys/src/features/gen_MutationObservingInfo.rs index 96178ea3a..38d26e333 100644 --- a/vendor/web-sys/src/features/gen_MutationObservingInfo.rs +++ b/vendor/web-sys/src/features/gen_MutationObservingInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_MutationRecord.rs b/vendor/web-sys/src/features/gen_MutationRecord.rs index 2a9e4c365..3d6ca83da 100644 --- a/vendor/web-sys/src/features/gen_MutationRecord.rs +++ b/vendor/web-sys/src/features/gen_MutationRecord.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NamedNodeMap.rs b/vendor/web-sys/src/features/gen_NamedNodeMap.rs index ee2d2e043..d30cb7194 100644 --- a/vendor/web-sys/src/features/gen_NamedNodeMap.rs +++ b/vendor/web-sys/src/features/gen_NamedNodeMap.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NativeOsFileReadOptions.rs b/vendor/web-sys/src/features/gen_NativeOsFileReadOptions.rs index 1c1354d22..d50a70e44 100644 --- a/vendor/web-sys/src/features/gen_NativeOsFileReadOptions.rs +++ b/vendor/web-sys/src/features/gen_NativeOsFileReadOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NativeOsFileWriteAtomicOptions.rs b/vendor/web-sys/src/features/gen_NativeOsFileWriteAtomicOptions.rs index a06f19128..3e3c2fd08 100644 --- a/vendor/web-sys/src/features/gen_NativeOsFileWriteAtomicOptions.rs +++ b/vendor/web-sys/src/features/gen_NativeOsFileWriteAtomicOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NavigationType.rs b/vendor/web-sys/src/features/gen_NavigationType.rs index 0ec80186f..8f82bdd28 100644 --- a/vendor/web-sys/src/features/gen_NavigationType.rs +++ b/vendor/web-sys/src/features/gen_NavigationType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `NavigationType` enum."] diff --git a/vendor/web-sys/src/features/gen_Navigator.rs b/vendor/web-sys/src/features/gen_Navigator.rs index 1ecd65deb..7bb30670f 100644 --- a/vendor/web-sys/src/features/gen_Navigator.rs +++ b/vendor/web-sys/src/features/gen_Navigator.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NavigatorAutomationInformation.rs b/vendor/web-sys/src/features/gen_NavigatorAutomationInformation.rs index c1fbff681..730e71295 100644 --- a/vendor/web-sys/src/features/gen_NavigatorAutomationInformation.rs +++ b/vendor/web-sys/src/features/gen_NavigatorAutomationInformation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NetworkCommandOptions.rs b/vendor/web-sys/src/features/gen_NetworkCommandOptions.rs index dbf06652e..a50203b5a 100644 --- a/vendor/web-sys/src/features/gen_NetworkCommandOptions.rs +++ b/vendor/web-sys/src/features/gen_NetworkCommandOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NetworkInformation.rs b/vendor/web-sys/src/features/gen_NetworkInformation.rs index 3669e4c77..f46232b2c 100644 --- a/vendor/web-sys/src/features/gen_NetworkInformation.rs +++ b/vendor/web-sys/src/features/gen_NetworkInformation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NetworkResultOptions.rs b/vendor/web-sys/src/features/gen_NetworkResultOptions.rs index 8e2121981..44acd57ae 100644 --- a/vendor/web-sys/src/features/gen_NetworkResultOptions.rs +++ b/vendor/web-sys/src/features/gen_NetworkResultOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Node.rs b/vendor/web-sys/src/features/gen_Node.rs index f9acb1f9f..32c5b8d7b 100644 --- a/vendor/web-sys/src/features/gen_Node.rs +++ b/vendor/web-sys/src/features/gen_Node.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NodeFilter.rs b/vendor/web-sys/src/features/gen_NodeFilter.rs index 7a1d400c1..f5838a151 100644 --- a/vendor/web-sys/src/features/gen_NodeFilter.rs +++ b/vendor/web-sys/src/features/gen_NodeFilter.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NodeIterator.rs b/vendor/web-sys/src/features/gen_NodeIterator.rs index 1e32cc05f..d6f90a5c2 100644 --- a/vendor/web-sys/src/features/gen_NodeIterator.rs +++ b/vendor/web-sys/src/features/gen_NodeIterator.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NodeList.rs b/vendor/web-sys/src/features/gen_NodeList.rs index b3bf91ef5..bf453d7a7 100644 --- a/vendor/web-sys/src/features/gen_NodeList.rs +++ b/vendor/web-sys/src/features/gen_NodeList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Notification.rs b/vendor/web-sys/src/features/gen_Notification.rs index 2d3c7717d..857ad0089 100644 --- a/vendor/web-sys/src/features/gen_Notification.rs +++ b/vendor/web-sys/src/features/gen_Notification.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NotificationBehavior.rs b/vendor/web-sys/src/features/gen_NotificationBehavior.rs index bfd54b22e..0f11b7e40 100644 --- a/vendor/web-sys/src/features/gen_NotificationBehavior.rs +++ b/vendor/web-sys/src/features/gen_NotificationBehavior.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NotificationDirection.rs b/vendor/web-sys/src/features/gen_NotificationDirection.rs index 6af832627..861eadfe8 100644 --- a/vendor/web-sys/src/features/gen_NotificationDirection.rs +++ b/vendor/web-sys/src/features/gen_NotificationDirection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `NotificationDirection` enum."] diff --git a/vendor/web-sys/src/features/gen_NotificationEvent.rs b/vendor/web-sys/src/features/gen_NotificationEvent.rs index d3c962d87..99d8ea145 100644 --- a/vendor/web-sys/src/features/gen_NotificationEvent.rs +++ b/vendor/web-sys/src/features/gen_NotificationEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NotificationEventInit.rs b/vendor/web-sys/src/features/gen_NotificationEventInit.rs index 270f9fd52..1f0e3f068 100644 --- a/vendor/web-sys/src/features/gen_NotificationEventInit.rs +++ b/vendor/web-sys/src/features/gen_NotificationEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NotificationOptions.rs b/vendor/web-sys/src/features/gen_NotificationOptions.rs index 97d49a302..31d504db7 100644 --- a/vendor/web-sys/src/features/gen_NotificationOptions.rs +++ b/vendor/web-sys/src/features/gen_NotificationOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_NotificationPermission.rs b/vendor/web-sys/src/features/gen_NotificationPermission.rs index 33530560e..35a4b8a59 100644 --- a/vendor/web-sys/src/features/gen_NotificationPermission.rs +++ b/vendor/web-sys/src/features/gen_NotificationPermission.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `NotificationPermission` enum."] diff --git a/vendor/web-sys/src/features/gen_ObserverCallback.rs b/vendor/web-sys/src/features/gen_ObserverCallback.rs index cdcc82dd9..6845b0ffd 100644 --- a/vendor/web-sys/src/features/gen_ObserverCallback.rs +++ b/vendor/web-sys/src/features/gen_ObserverCallback.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OesElementIndexUint.rs b/vendor/web-sys/src/features/gen_OesElementIndexUint.rs index aebb73171..c7af2019b 100644 --- a/vendor/web-sys/src/features/gen_OesElementIndexUint.rs +++ b/vendor/web-sys/src/features/gen_OesElementIndexUint.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OesStandardDerivatives.rs b/vendor/web-sys/src/features/gen_OesStandardDerivatives.rs index 8b1324e14..51beb6438 100644 --- a/vendor/web-sys/src/features/gen_OesStandardDerivatives.rs +++ b/vendor/web-sys/src/features/gen_OesStandardDerivatives.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OesTextureFloat.rs b/vendor/web-sys/src/features/gen_OesTextureFloat.rs index d30aa42d4..767a3e32f 100644 --- a/vendor/web-sys/src/features/gen_OesTextureFloat.rs +++ b/vendor/web-sys/src/features/gen_OesTextureFloat.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OesTextureFloatLinear.rs b/vendor/web-sys/src/features/gen_OesTextureFloatLinear.rs index 61763001e..ab2fc0668 100644 --- a/vendor/web-sys/src/features/gen_OesTextureFloatLinear.rs +++ b/vendor/web-sys/src/features/gen_OesTextureFloatLinear.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OesTextureHalfFloat.rs b/vendor/web-sys/src/features/gen_OesTextureHalfFloat.rs index ae24073a4..13b33fc94 100644 --- a/vendor/web-sys/src/features/gen_OesTextureHalfFloat.rs +++ b/vendor/web-sys/src/features/gen_OesTextureHalfFloat.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OesTextureHalfFloatLinear.rs b/vendor/web-sys/src/features/gen_OesTextureHalfFloatLinear.rs index b96e67ef2..00b9fb70a 100644 --- a/vendor/web-sys/src/features/gen_OesTextureHalfFloatLinear.rs +++ b/vendor/web-sys/src/features/gen_OesTextureHalfFloatLinear.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OesVertexArrayObject.rs b/vendor/web-sys/src/features/gen_OesVertexArrayObject.rs index 0aec22fef..57130833e 100644 --- a/vendor/web-sys/src/features/gen_OesVertexArrayObject.rs +++ b/vendor/web-sys/src/features/gen_OesVertexArrayObject.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OfflineAudioCompletionEvent.rs b/vendor/web-sys/src/features/gen_OfflineAudioCompletionEvent.rs index b4a36f312..0da6735f5 100644 --- a/vendor/web-sys/src/features/gen_OfflineAudioCompletionEvent.rs +++ b/vendor/web-sys/src/features/gen_OfflineAudioCompletionEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OfflineAudioCompletionEventInit.rs b/vendor/web-sys/src/features/gen_OfflineAudioCompletionEventInit.rs index e3d202129..b69f60594 100644 --- a/vendor/web-sys/src/features/gen_OfflineAudioCompletionEventInit.rs +++ b/vendor/web-sys/src/features/gen_OfflineAudioCompletionEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OfflineAudioContext.rs b/vendor/web-sys/src/features/gen_OfflineAudioContext.rs index ecaba2102..52e392a76 100644 --- a/vendor/web-sys/src/features/gen_OfflineAudioContext.rs +++ b/vendor/web-sys/src/features/gen_OfflineAudioContext.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OfflineAudioContextOptions.rs b/vendor/web-sys/src/features/gen_OfflineAudioContextOptions.rs index ab1cf57df..433659505 100644 --- a/vendor/web-sys/src/features/gen_OfflineAudioContextOptions.rs +++ b/vendor/web-sys/src/features/gen_OfflineAudioContextOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OfflineResourceList.rs b/vendor/web-sys/src/features/gen_OfflineResourceList.rs index e3ccd3732..adf60ce9c 100644 --- a/vendor/web-sys/src/features/gen_OfflineResourceList.rs +++ b/vendor/web-sys/src/features/gen_OfflineResourceList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OffscreenCanvas.rs b/vendor/web-sys/src/features/gen_OffscreenCanvas.rs index bcf859921..e925b0e12 100644 --- a/vendor/web-sys/src/features/gen_OffscreenCanvas.rs +++ b/vendor/web-sys/src/features/gen_OffscreenCanvas.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -46,6 +47,24 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"] pub fn new(width: u32, height: u32) -> Result<OffscreenCanvas, JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvas" , js_name = convertToBlob)] + #[doc = "The `convertToBlob()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/convertToBlob)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"] + pub fn convert_to_blob(this: &OffscreenCanvas) -> Result<::js_sys::Promise, JsValue>; + #[cfg(feature = "ImageEncodeOptions")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvas" , js_name = convertToBlob)] + #[doc = "The `convertToBlob()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/convertToBlob)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ImageEncodeOptions`, `OffscreenCanvas`*"] + pub fn convert_to_blob_with_options( + this: &OffscreenCanvas, + options: &ImageEncodeOptions, + ) -> Result<::js_sys::Promise, JsValue>; # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvas" , js_name = getContext)] #[doc = "The `getContext()` method."] #[doc = ""] @@ -67,34 +86,6 @@ extern "C" { context_id: &str, context_options: &::wasm_bindgen::JsValue, ) -> Result<Option<::js_sys::Object>, JsValue>; - # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvas" , js_name = toBlob)] - #[doc = "The `toBlob()` method."] - #[doc = ""] - #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/toBlob)"] - #[doc = ""] - #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"] - pub fn to_blob(this: &OffscreenCanvas) -> Result<::js_sys::Promise, JsValue>; - # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvas" , js_name = toBlob)] - #[doc = "The `toBlob()` method."] - #[doc = ""] - #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/toBlob)"] - #[doc = ""] - #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"] - pub fn to_blob_with_type( - this: &OffscreenCanvas, - type_: &str, - ) -> Result<::js_sys::Promise, JsValue>; - # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvas" , js_name = toBlob)] - #[doc = "The `toBlob()` method."] - #[doc = ""] - #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/toBlob)"] - #[doc = ""] - #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`*"] - pub fn to_blob_with_type_and_encoder_options( - this: &OffscreenCanvas, - type_: &str, - encoder_options: &::wasm_bindgen::JsValue, - ) -> Result<::js_sys::Promise, JsValue>; #[cfg(feature = "ImageBitmap")] # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvas" , js_name = transferToImageBitmap)] #[doc = "The `transferToImageBitmap()` method."] diff --git a/vendor/web-sys/src/features/gen_OffscreenCanvasRenderingContext2d.rs b/vendor/web-sys/src/features/gen_OffscreenCanvasRenderingContext2d.rs new file mode 100644 index 000000000..ef40e59a5 --- /dev/null +++ b/vendor/web-sys/src/features/gen_OffscreenCanvasRenderingContext2d.rs @@ -0,0 +1,1370 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = OffscreenCanvasRenderingContext2D , typescript_type = "OffscreenCanvasRenderingContext2D")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `OffscreenCanvasRenderingContext2d` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub type OffscreenCanvasRenderingContext2d; + #[cfg(feature = "OffscreenCanvas")] + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/canvas)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `OffscreenCanvasRenderingContext2d`*"] + pub fn canvas(this: &OffscreenCanvasRenderingContext2d) -> OffscreenCanvas; + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/globalAlpha)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn global_alpha(this: &OffscreenCanvasRenderingContext2d) -> f64; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/globalAlpha)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_global_alpha(this: &OffscreenCanvasRenderingContext2d, value: f64); + # [wasm_bindgen (structural , catch , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/globalCompositeOperation)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn global_composite_operation( + this: &OffscreenCanvasRenderingContext2d, + ) -> Result<String, JsValue>; + # [wasm_bindgen (structural , catch , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/globalCompositeOperation)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_global_composite_operation( + this: &OffscreenCanvasRenderingContext2d, + value: &str, + ) -> Result<(), JsValue>; + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/strokeStyle)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn stroke_style(this: &OffscreenCanvasRenderingContext2d) -> ::wasm_bindgen::JsValue; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/strokeStyle)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_stroke_style( + this: &OffscreenCanvasRenderingContext2d, + value: &::wasm_bindgen::JsValue, + ); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/fillStyle)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn fill_style(this: &OffscreenCanvasRenderingContext2d) -> ::wasm_bindgen::JsValue; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/fillStyle)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_fill_style( + this: &OffscreenCanvasRenderingContext2d, + value: &::wasm_bindgen::JsValue, + ); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/filter)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn filter(this: &OffscreenCanvasRenderingContext2d) -> String; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/filter)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_filter(this: &OffscreenCanvasRenderingContext2d, value: &str); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/imageSmoothingEnabled)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn image_smoothing_enabled(this: &OffscreenCanvasRenderingContext2d) -> bool; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/imageSmoothingEnabled)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_image_smoothing_enabled(this: &OffscreenCanvasRenderingContext2d, value: bool); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/lineWidth)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn line_width(this: &OffscreenCanvasRenderingContext2d) -> f64; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/lineWidth)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_line_width(this: &OffscreenCanvasRenderingContext2d, value: f64); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/lineCap)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn line_cap(this: &OffscreenCanvasRenderingContext2d) -> String; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/lineCap)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_line_cap(this: &OffscreenCanvasRenderingContext2d, value: &str); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/lineJoin)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn line_join(this: &OffscreenCanvasRenderingContext2d) -> String; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/lineJoin)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_line_join(this: &OffscreenCanvasRenderingContext2d, value: &str); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/miterLimit)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn miter_limit(this: &OffscreenCanvasRenderingContext2d) -> f64; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/miterLimit)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_miter_limit(this: &OffscreenCanvasRenderingContext2d, value: f64); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/lineDashOffset)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn line_dash_offset(this: &OffscreenCanvasRenderingContext2d) -> f64; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/lineDashOffset)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_line_dash_offset(this: &OffscreenCanvasRenderingContext2d, value: f64); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/shadowOffsetX)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn shadow_offset_x(this: &OffscreenCanvasRenderingContext2d) -> f64; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/shadowOffsetX)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_shadow_offset_x(this: &OffscreenCanvasRenderingContext2d, value: f64); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/shadowOffsetY)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn shadow_offset_y(this: &OffscreenCanvasRenderingContext2d) -> f64; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/shadowOffsetY)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_shadow_offset_y(this: &OffscreenCanvasRenderingContext2d, value: f64); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/shadowBlur)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn shadow_blur(this: &OffscreenCanvasRenderingContext2d) -> f64; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/shadowBlur)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_shadow_blur(this: &OffscreenCanvasRenderingContext2d, value: f64); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/shadowColor)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn shadow_color(this: &OffscreenCanvasRenderingContext2d) -> String; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/shadowColor)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_shadow_color(this: &OffscreenCanvasRenderingContext2d, value: &str); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/font)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn font(this: &OffscreenCanvasRenderingContext2d) -> String; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/font)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_font(this: &OffscreenCanvasRenderingContext2d, value: &str); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/textAlign)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn text_align(this: &OffscreenCanvasRenderingContext2d) -> String; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/textAlign)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_text_align(this: &OffscreenCanvasRenderingContext2d, value: &str); + # [wasm_bindgen (structural , method , getter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/textBaseline)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn text_baseline(this: &OffscreenCanvasRenderingContext2d) -> String; + # [wasm_bindgen (structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , 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/OffscreenCanvasRenderingContext2D/textBaseline)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_text_baseline(this: &OffscreenCanvasRenderingContext2d, value: &str); + #[cfg(feature = "HtmlImageElement")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_html_image_element( + this: &OffscreenCanvasRenderingContext2d, + image: &HtmlImageElement, + dx: f64, + dy: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "SvgImageElement")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`, `SvgImageElement`*"] + pub fn draw_image_with_svg_image_element( + this: &OffscreenCanvasRenderingContext2d, + image: &SvgImageElement, + dx: f64, + dy: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "HtmlCanvasElement")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_html_canvas_element( + this: &OffscreenCanvasRenderingContext2d, + image: &HtmlCanvasElement, + dx: f64, + dy: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "HtmlVideoElement")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_html_video_element( + this: &OffscreenCanvasRenderingContext2d, + image: &HtmlVideoElement, + dx: f64, + dy: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "ImageBitmap")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_image_bitmap( + this: &OffscreenCanvasRenderingContext2d, + image: &ImageBitmap, + dx: f64, + dy: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "OffscreenCanvas")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_offscreen_canvas( + this: &OffscreenCanvasRenderingContext2d, + image: &OffscreenCanvas, + dx: f64, + dy: f64, + ) -> Result<(), JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "VideoFrame")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`, `VideoFrame`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn draw_image_with_video_frame( + this: &OffscreenCanvasRenderingContext2d, + image: &VideoFrame, + dx: f64, + dy: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "HtmlImageElement")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_html_image_element_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &HtmlImageElement, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "SvgImageElement")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`, `SvgImageElement`*"] + pub fn draw_image_with_svg_image_element_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &SvgImageElement, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "HtmlCanvasElement")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_html_canvas_element_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &HtmlCanvasElement, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "HtmlVideoElement")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_html_video_element_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &HtmlVideoElement, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "ImageBitmap")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_image_bitmap_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &ImageBitmap, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "OffscreenCanvas")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_offscreen_canvas_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &OffscreenCanvas, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "VideoFrame")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`, `VideoFrame`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn draw_image_with_video_frame_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &VideoFrame, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "HtmlImageElement")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_html_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &HtmlImageElement, + sx: f64, + sy: f64, + sw: f64, + sh: f64, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "SvgImageElement")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`, `SvgImageElement`*"] + pub fn draw_image_with_svg_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &SvgImageElement, + sx: f64, + sy: f64, + sw: f64, + sh: f64, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "HtmlCanvasElement")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_html_canvas_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &HtmlCanvasElement, + sx: f64, + sy: f64, + sw: f64, + sh: f64, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "HtmlVideoElement")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_html_video_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &HtmlVideoElement, + sx: f64, + sy: f64, + sw: f64, + sh: f64, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "ImageBitmap")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_image_bitmap_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &ImageBitmap, + sx: f64, + sy: f64, + sw: f64, + sh: f64, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "OffscreenCanvas")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `OffscreenCanvasRenderingContext2d`*"] + pub fn draw_image_with_offscreen_canvas_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &OffscreenCanvas, + sx: f64, + sy: f64, + sw: f64, + sh: f64, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "VideoFrame")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = drawImage)] + #[doc = "The `drawImage()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/drawImage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`, `VideoFrame`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn draw_image_with_video_frame_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh( + this: &OffscreenCanvasRenderingContext2d, + image: &VideoFrame, + sx: f64, + sy: f64, + sw: f64, + sh: f64, + dx: f64, + dy: f64, + dw: f64, + dh: f64, + ) -> Result<(), JsValue>; + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = beginPath)] + #[doc = "The `beginPath()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/beginPath)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn begin_path(this: &OffscreenCanvasRenderingContext2d); + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = clip)] + #[doc = "The `clip()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/clip)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn clip(this: &OffscreenCanvasRenderingContext2d); + #[cfg(feature = "CanvasWindingRule")] + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = clip)] + #[doc = "The `clip()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/clip)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasWindingRule`, `OffscreenCanvasRenderingContext2d`*"] + pub fn clip_with_canvas_winding_rule( + this: &OffscreenCanvasRenderingContext2d, + winding: CanvasWindingRule, + ); + #[cfg(feature = "Path2d")] + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = clip)] + #[doc = "The `clip()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/clip)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`, `Path2d`*"] + pub fn clip_with_path_2d(this: &OffscreenCanvasRenderingContext2d, path: &Path2d); + #[cfg(all(feature = "CanvasWindingRule", feature = "Path2d",))] + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = clip)] + #[doc = "The `clip()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/clip)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasWindingRule`, `OffscreenCanvasRenderingContext2d`, `Path2d`*"] + pub fn clip_with_path_2d_and_winding( + this: &OffscreenCanvasRenderingContext2d, + path: &Path2d, + winding: CanvasWindingRule, + ); + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = fill)] + #[doc = "The `fill()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/fill)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn fill(this: &OffscreenCanvasRenderingContext2d); + #[cfg(feature = "CanvasWindingRule")] + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = fill)] + #[doc = "The `fill()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/fill)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasWindingRule`, `OffscreenCanvasRenderingContext2d`*"] + pub fn fill_with_canvas_winding_rule( + this: &OffscreenCanvasRenderingContext2d, + winding: CanvasWindingRule, + ); + #[cfg(feature = "Path2d")] + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = fill)] + #[doc = "The `fill()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/fill)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`, `Path2d`*"] + pub fn fill_with_path_2d(this: &OffscreenCanvasRenderingContext2d, path: &Path2d); + #[cfg(all(feature = "CanvasWindingRule", feature = "Path2d",))] + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = fill)] + #[doc = "The `fill()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/fill)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasWindingRule`, `OffscreenCanvasRenderingContext2d`, `Path2d`*"] + pub fn fill_with_path_2d_and_winding( + this: &OffscreenCanvasRenderingContext2d, + path: &Path2d, + winding: CanvasWindingRule, + ); + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = isPointInPath)] + #[doc = "The `isPointInPath()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/isPointInPath)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn is_point_in_path_with_f64( + this: &OffscreenCanvasRenderingContext2d, + x: f64, + y: f64, + ) -> bool; + #[cfg(feature = "CanvasWindingRule")] + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = isPointInPath)] + #[doc = "The `isPointInPath()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/isPointInPath)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasWindingRule`, `OffscreenCanvasRenderingContext2d`*"] + pub fn is_point_in_path_with_f64_and_canvas_winding_rule( + this: &OffscreenCanvasRenderingContext2d, + x: f64, + y: f64, + winding: CanvasWindingRule, + ) -> bool; + #[cfg(feature = "Path2d")] + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = isPointInPath)] + #[doc = "The `isPointInPath()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/isPointInPath)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`, `Path2d`*"] + pub fn is_point_in_path_with_path_2d_and_f64( + this: &OffscreenCanvasRenderingContext2d, + path: &Path2d, + x: f64, + y: f64, + ) -> bool; + #[cfg(all(feature = "CanvasWindingRule", feature = "Path2d",))] + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = isPointInPath)] + #[doc = "The `isPointInPath()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/isPointInPath)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasWindingRule`, `OffscreenCanvasRenderingContext2d`, `Path2d`*"] + pub fn is_point_in_path_with_path_2d_and_f64_and_winding( + this: &OffscreenCanvasRenderingContext2d, + path: &Path2d, + x: f64, + y: f64, + winding: CanvasWindingRule, + ) -> bool; + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = isPointInStroke)] + #[doc = "The `isPointInStroke()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/isPointInStroke)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn is_point_in_stroke_with_x_and_y( + this: &OffscreenCanvasRenderingContext2d, + x: f64, + y: f64, + ) -> bool; + #[cfg(feature = "Path2d")] + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = isPointInStroke)] + #[doc = "The `isPointInStroke()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/isPointInStroke)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`, `Path2d`*"] + pub fn is_point_in_stroke_with_path_and_x_and_y( + this: &OffscreenCanvasRenderingContext2d, + path: &Path2d, + x: f64, + y: f64, + ) -> bool; + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = stroke)] + #[doc = "The `stroke()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/stroke)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn stroke(this: &OffscreenCanvasRenderingContext2d); + #[cfg(feature = "Path2d")] + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = stroke)] + #[doc = "The `stroke()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/stroke)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`, `Path2d`*"] + pub fn stroke_with_path(this: &OffscreenCanvasRenderingContext2d, path: &Path2d); + #[cfg(feature = "CanvasGradient")] + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = createLinearGradient)] + #[doc = "The `createLinearGradient()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/createLinearGradient)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasGradient`, `OffscreenCanvasRenderingContext2d`*"] + pub fn create_linear_gradient( + this: &OffscreenCanvasRenderingContext2d, + x0: f64, + y0: f64, + x1: f64, + y1: f64, + ) -> CanvasGradient; + #[cfg(all(feature = "CanvasPattern", feature = "HtmlImageElement",))] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = createPattern)] + #[doc = "The `createPattern()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/createPattern)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `HtmlImageElement`, `OffscreenCanvasRenderingContext2d`*"] + pub fn create_pattern_with_html_image_element( + this: &OffscreenCanvasRenderingContext2d, + image: &HtmlImageElement, + repetition: &str, + ) -> Result<Option<CanvasPattern>, JsValue>; + #[cfg(all(feature = "CanvasPattern", feature = "SvgImageElement",))] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = createPattern)] + #[doc = "The `createPattern()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/createPattern)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `OffscreenCanvasRenderingContext2d`, `SvgImageElement`*"] + pub fn create_pattern_with_svg_image_element( + this: &OffscreenCanvasRenderingContext2d, + image: &SvgImageElement, + repetition: &str, + ) -> Result<Option<CanvasPattern>, JsValue>; + #[cfg(all(feature = "CanvasPattern", feature = "HtmlCanvasElement",))] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = createPattern)] + #[doc = "The `createPattern()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/createPattern)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `HtmlCanvasElement`, `OffscreenCanvasRenderingContext2d`*"] + pub fn create_pattern_with_html_canvas_element( + this: &OffscreenCanvasRenderingContext2d, + image: &HtmlCanvasElement, + repetition: &str, + ) -> Result<Option<CanvasPattern>, JsValue>; + #[cfg(all(feature = "CanvasPattern", feature = "HtmlVideoElement",))] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = createPattern)] + #[doc = "The `createPattern()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/createPattern)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `HtmlVideoElement`, `OffscreenCanvasRenderingContext2d`*"] + pub fn create_pattern_with_html_video_element( + this: &OffscreenCanvasRenderingContext2d, + image: &HtmlVideoElement, + repetition: &str, + ) -> Result<Option<CanvasPattern>, JsValue>; + #[cfg(all(feature = "CanvasPattern", feature = "ImageBitmap",))] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = createPattern)] + #[doc = "The `createPattern()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/createPattern)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `ImageBitmap`, `OffscreenCanvasRenderingContext2d`*"] + pub fn create_pattern_with_image_bitmap( + this: &OffscreenCanvasRenderingContext2d, + image: &ImageBitmap, + repetition: &str, + ) -> Result<Option<CanvasPattern>, JsValue>; + #[cfg(all(feature = "CanvasPattern", feature = "OffscreenCanvas",))] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = createPattern)] + #[doc = "The `createPattern()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/createPattern)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `OffscreenCanvas`, `OffscreenCanvasRenderingContext2d`*"] + pub fn create_pattern_with_offscreen_canvas( + this: &OffscreenCanvasRenderingContext2d, + image: &OffscreenCanvas, + repetition: &str, + ) -> Result<Option<CanvasPattern>, JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(all(feature = "CanvasPattern", feature = "VideoFrame",))] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = createPattern)] + #[doc = "The `createPattern()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/createPattern)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `OffscreenCanvasRenderingContext2d`, `VideoFrame`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn create_pattern_with_video_frame( + this: &OffscreenCanvasRenderingContext2d, + image: &VideoFrame, + repetition: &str, + ) -> Result<Option<CanvasPattern>, JsValue>; + #[cfg(feature = "CanvasGradient")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = createRadialGradient)] + #[doc = "The `createRadialGradient()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/createRadialGradient)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasGradient`, `OffscreenCanvasRenderingContext2d`*"] + pub fn create_radial_gradient( + this: &OffscreenCanvasRenderingContext2d, + x0: f64, + y0: f64, + r0: f64, + x1: f64, + y1: f64, + r1: f64, + ) -> Result<CanvasGradient, JsValue>; + #[cfg(feature = "ImageData")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = createImageData)] + #[doc = "The `createImageData()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/createImageData)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ImageData`, `OffscreenCanvasRenderingContext2d`*"] + pub fn create_image_data_with_sw_and_sh( + this: &OffscreenCanvasRenderingContext2d, + sw: f64, + sh: f64, + ) -> Result<ImageData, JsValue>; + #[cfg(feature = "ImageData")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = createImageData)] + #[doc = "The `createImageData()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/createImageData)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ImageData`, `OffscreenCanvasRenderingContext2d`*"] + pub fn create_image_data_with_imagedata( + this: &OffscreenCanvasRenderingContext2d, + imagedata: &ImageData, + ) -> Result<ImageData, JsValue>; + #[cfg(feature = "ImageData")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = getImageData)] + #[doc = "The `getImageData()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/getImageData)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ImageData`, `OffscreenCanvasRenderingContext2d`*"] + pub fn get_image_data( + this: &OffscreenCanvasRenderingContext2d, + sx: f64, + sy: f64, + sw: f64, + sh: f64, + ) -> Result<ImageData, JsValue>; + #[cfg(feature = "ImageData")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = putImageData)] + #[doc = "The `putImageData()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/putImageData)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ImageData`, `OffscreenCanvasRenderingContext2d`*"] + pub fn put_image_data( + this: &OffscreenCanvasRenderingContext2d, + imagedata: &ImageData, + dx: f64, + dy: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "ImageData")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = putImageData)] + #[doc = "The `putImageData()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/putImageData)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ImageData`, `OffscreenCanvasRenderingContext2d`*"] + pub fn put_image_data_with_dirty_x_and_dirty_y_and_dirty_width_and_dirty_height( + this: &OffscreenCanvasRenderingContext2d, + imagedata: &ImageData, + dx: f64, + dy: f64, + dirty_x: f64, + dirty_y: f64, + dirty_width: f64, + dirty_height: f64, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = arc)] + #[doc = "The `arc()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/arc)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn arc( + this: &OffscreenCanvasRenderingContext2d, + x: f64, + y: f64, + radius: f64, + start_angle: f64, + end_angle: f64, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = arc)] + #[doc = "The `arc()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/arc)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn arc_with_anticlockwise( + this: &OffscreenCanvasRenderingContext2d, + x: f64, + y: f64, + radius: f64, + start_angle: f64, + end_angle: f64, + anticlockwise: bool, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = arcTo)] + #[doc = "The `arcTo()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/arcTo)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn arc_to( + this: &OffscreenCanvasRenderingContext2d, + x1: f64, + y1: f64, + x2: f64, + y2: f64, + radius: f64, + ) -> Result<(), JsValue>; + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = bezierCurveTo)] + #[doc = "The `bezierCurveTo()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/bezierCurveTo)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn bezier_curve_to( + this: &OffscreenCanvasRenderingContext2d, + cp1x: f64, + cp1y: f64, + cp2x: f64, + cp2y: f64, + x: f64, + y: f64, + ); + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = closePath)] + #[doc = "The `closePath()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/closePath)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn close_path(this: &OffscreenCanvasRenderingContext2d); + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = ellipse)] + #[doc = "The `ellipse()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/ellipse)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn ellipse( + this: &OffscreenCanvasRenderingContext2d, + x: f64, + y: f64, + radius_x: f64, + radius_y: f64, + rotation: f64, + start_angle: f64, + end_angle: f64, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = ellipse)] + #[doc = "The `ellipse()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/ellipse)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn ellipse_with_anticlockwise( + this: &OffscreenCanvasRenderingContext2d, + x: f64, + y: f64, + radius_x: f64, + radius_y: f64, + rotation: f64, + start_angle: f64, + end_angle: f64, + anticlockwise: bool, + ) -> Result<(), JsValue>; + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = lineTo)] + #[doc = "The `lineTo()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/lineTo)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn line_to(this: &OffscreenCanvasRenderingContext2d, x: f64, y: f64); + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = moveTo)] + #[doc = "The `moveTo()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/moveTo)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn move_to(this: &OffscreenCanvasRenderingContext2d, x: f64, y: f64); + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = quadraticCurveTo)] + #[doc = "The `quadraticCurveTo()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/quadraticCurveTo)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn quadratic_curve_to( + this: &OffscreenCanvasRenderingContext2d, + cpx: f64, + cpy: f64, + x: f64, + y: f64, + ); + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = rect)] + #[doc = "The `rect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/rect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn rect(this: &OffscreenCanvasRenderingContext2d, x: f64, y: f64, w: f64, h: f64); + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn round_rect( + this: &OffscreenCanvasRenderingContext2d, + x: f64, + y: f64, + w: f64, + h: f64, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn round_rect_with_f64( + this: &OffscreenCanvasRenderingContext2d, + x: f64, + y: f64, + w: f64, + h: f64, + radii: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "DomPointInit")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DomPointInit`, `OffscreenCanvasRenderingContext2d`*"] + pub fn round_rect_with_dom_point_init( + this: &OffscreenCanvasRenderingContext2d, + x: f64, + y: f64, + w: f64, + h: f64, + radii: &DomPointInit, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn round_rect_with_f64_sequence( + this: &OffscreenCanvasRenderingContext2d, + x: f64, + y: f64, + w: f64, + h: f64, + radii: &::wasm_bindgen::JsValue, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn round_rect_with_dom_point_init_sequence( + this: &OffscreenCanvasRenderingContext2d, + x: f64, + y: f64, + w: f64, + h: f64, + radii: &::wasm_bindgen::JsValue, + ) -> Result<(), JsValue>; + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = getLineDash)] + #[doc = "The `getLineDash()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/getLineDash)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn get_line_dash(this: &OffscreenCanvasRenderingContext2d) -> ::js_sys::Array; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = setLineDash)] + #[doc = "The `setLineDash()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/setLineDash)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_line_dash( + this: &OffscreenCanvasRenderingContext2d, + segments: &::wasm_bindgen::JsValue, + ) -> Result<(), JsValue>; + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = clearRect)] + #[doc = "The `clearRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/clearRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn clear_rect(this: &OffscreenCanvasRenderingContext2d, x: f64, y: f64, w: f64, h: f64); + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = fillRect)] + #[doc = "The `fillRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/fillRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn fill_rect(this: &OffscreenCanvasRenderingContext2d, x: f64, y: f64, w: f64, h: f64); + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = strokeRect)] + #[doc = "The `strokeRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/strokeRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn stroke_rect(this: &OffscreenCanvasRenderingContext2d, x: f64, y: f64, w: f64, h: f64); + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = restore)] + #[doc = "The `restore()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/restore)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn restore(this: &OffscreenCanvasRenderingContext2d); + # [wasm_bindgen (method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = save)] + #[doc = "The `save()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/save)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn save(this: &OffscreenCanvasRenderingContext2d); + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = fillText)] + #[doc = "The `fillText()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/fillText)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn fill_text( + this: &OffscreenCanvasRenderingContext2d, + text: &str, + x: f64, + y: f64, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = fillText)] + #[doc = "The `fillText()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/fillText)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn fill_text_with_max_width( + this: &OffscreenCanvasRenderingContext2d, + text: &str, + x: f64, + y: f64, + max_width: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "TextMetrics")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = measureText)] + #[doc = "The `measureText()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/measureText)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`, `TextMetrics`*"] + pub fn measure_text( + this: &OffscreenCanvasRenderingContext2d, + text: &str, + ) -> Result<TextMetrics, JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = strokeText)] + #[doc = "The `strokeText()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/strokeText)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn stroke_text( + this: &OffscreenCanvasRenderingContext2d, + text: &str, + x: f64, + y: f64, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = strokeText)] + #[doc = "The `strokeText()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/strokeText)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn stroke_text_with_max_width( + this: &OffscreenCanvasRenderingContext2d, + text: &str, + x: f64, + y: f64, + max_width: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "DomMatrix")] + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = getTransform)] + #[doc = "The `getTransform()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/getTransform)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `OffscreenCanvasRenderingContext2d`*"] + pub fn get_transform(this: &OffscreenCanvasRenderingContext2d) -> Result<DomMatrix, JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = resetTransform)] + #[doc = "The `resetTransform()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/resetTransform)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn reset_transform(this: &OffscreenCanvasRenderingContext2d) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = rotate)] + #[doc = "The `rotate()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/rotate)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn rotate(this: &OffscreenCanvasRenderingContext2d, angle: f64) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = scale)] + #[doc = "The `scale()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/scale)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn scale(this: &OffscreenCanvasRenderingContext2d, x: f64, y: f64) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = setTransform)] + #[doc = "The `setTransform()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/setTransform)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn set_transform( + this: &OffscreenCanvasRenderingContext2d, + a: f64, + b: f64, + c: f64, + d: f64, + e: f64, + f: f64, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = transform)] + #[doc = "The `transform()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/transform)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn transform( + this: &OffscreenCanvasRenderingContext2d, + a: f64, + b: f64, + c: f64, + d: f64, + e: f64, + f: f64, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "OffscreenCanvasRenderingContext2D" , js_name = translate)] + #[doc = "The `translate()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/translate)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*"] + pub fn translate( + this: &OffscreenCanvasRenderingContext2d, + x: f64, + y: f64, + ) -> Result<(), JsValue>; +} diff --git a/vendor/web-sys/src/features/gen_OpenWindowEventDetail.rs b/vendor/web-sys/src/features/gen_OpenWindowEventDetail.rs index 278e2f8a3..2c13e8bd9 100644 --- a/vendor/web-sys/src/features/gen_OpenWindowEventDetail.rs +++ b/vendor/web-sys/src/features/gen_OpenWindowEventDetail.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OptionalEffectTiming.rs b/vendor/web-sys/src/features/gen_OptionalEffectTiming.rs index 5838e3205..6f7514341 100644 --- a/vendor/web-sys/src/features/gen_OptionalEffectTiming.rs +++ b/vendor/web-sys/src/features/gen_OptionalEffectTiming.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OrientationLockType.rs b/vendor/web-sys/src/features/gen_OrientationLockType.rs index fd5c86e80..a87f9e7aa 100644 --- a/vendor/web-sys/src/features/gen_OrientationLockType.rs +++ b/vendor/web-sys/src/features/gen_OrientationLockType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `OrientationLockType` enum."] diff --git a/vendor/web-sys/src/features/gen_OrientationType.rs b/vendor/web-sys/src/features/gen_OrientationType.rs index 15ecbc59a..21b96131a 100644 --- a/vendor/web-sys/src/features/gen_OrientationType.rs +++ b/vendor/web-sys/src/features/gen_OrientationType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `OrientationType` enum."] diff --git a/vendor/web-sys/src/features/gen_OscillatorNode.rs b/vendor/web-sys/src/features/gen_OscillatorNode.rs index b72525ea4..2e87a03aa 100644 --- a/vendor/web-sys/src/features/gen_OscillatorNode.rs +++ b/vendor/web-sys/src/features/gen_OscillatorNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OscillatorOptions.rs b/vendor/web-sys/src/features/gen_OscillatorOptions.rs index becbba033..b03f09150 100644 --- a/vendor/web-sys/src/features/gen_OscillatorOptions.rs +++ b/vendor/web-sys/src/features/gen_OscillatorOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_OscillatorType.rs b/vendor/web-sys/src/features/gen_OscillatorType.rs index 49272cf55..af4f43180 100644 --- a/vendor/web-sys/src/features/gen_OscillatorType.rs +++ b/vendor/web-sys/src/features/gen_OscillatorType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `OscillatorType` enum."] diff --git a/vendor/web-sys/src/features/gen_OverSampleType.rs b/vendor/web-sys/src/features/gen_OverSampleType.rs index bbedb3db6..3f36eea4c 100644 --- a/vendor/web-sys/src/features/gen_OverSampleType.rs +++ b/vendor/web-sys/src/features/gen_OverSampleType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `OverSampleType` enum."] diff --git a/vendor/web-sys/src/features/gen_OvrMultiview2.rs b/vendor/web-sys/src/features/gen_OvrMultiview2.rs index 5015902f0..d5ecd0f60 100644 --- a/vendor/web-sys/src/features/gen_OvrMultiview2.rs +++ b/vendor/web-sys/src/features/gen_OvrMultiview2.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PageTransitionEvent.rs b/vendor/web-sys/src/features/gen_PageTransitionEvent.rs index 2fed4a4d0..3939c3222 100644 --- a/vendor/web-sys/src/features/gen_PageTransitionEvent.rs +++ b/vendor/web-sys/src/features/gen_PageTransitionEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PageTransitionEventInit.rs b/vendor/web-sys/src/features/gen_PageTransitionEventInit.rs index 460c6fdcf..bcee3d836 100644 --- a/vendor/web-sys/src/features/gen_PageTransitionEventInit.rs +++ b/vendor/web-sys/src/features/gen_PageTransitionEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PaintRequest.rs b/vendor/web-sys/src/features/gen_PaintRequest.rs index 393bfe116..e4fa793de 100644 --- a/vendor/web-sys/src/features/gen_PaintRequest.rs +++ b/vendor/web-sys/src/features/gen_PaintRequest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PaintRequestList.rs b/vendor/web-sys/src/features/gen_PaintRequestList.rs index 25bf3d56c..c62d02771 100644 --- a/vendor/web-sys/src/features/gen_PaintRequestList.rs +++ b/vendor/web-sys/src/features/gen_PaintRequestList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PaintWorkletGlobalScope.rs b/vendor/web-sys/src/features/gen_PaintWorkletGlobalScope.rs index d022a7e2c..dccd6d224 100644 --- a/vendor/web-sys/src/features/gen_PaintWorkletGlobalScope.rs +++ b/vendor/web-sys/src/features/gen_PaintWorkletGlobalScope.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PannerNode.rs b/vendor/web-sys/src/features/gen_PannerNode.rs index 47787d290..58d1fd2a2 100644 --- a/vendor/web-sys/src/features/gen_PannerNode.rs +++ b/vendor/web-sys/src/features/gen_PannerNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PannerOptions.rs b/vendor/web-sys/src/features/gen_PannerOptions.rs index 343ad89ca..42aceaa07 100644 --- a/vendor/web-sys/src/features/gen_PannerOptions.rs +++ b/vendor/web-sys/src/features/gen_PannerOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PanningModelType.rs b/vendor/web-sys/src/features/gen_PanningModelType.rs index bdee90bce..e6a7ca2c8 100644 --- a/vendor/web-sys/src/features/gen_PanningModelType.rs +++ b/vendor/web-sys/src/features/gen_PanningModelType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PanningModelType` enum."] diff --git a/vendor/web-sys/src/features/gen_ParityType.rs b/vendor/web-sys/src/features/gen_ParityType.rs index 866195570..f1a4a28c3 100644 --- a/vendor/web-sys/src/features/gen_ParityType.rs +++ b/vendor/web-sys/src/features/gen_ParityType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Path2d.rs b/vendor/web-sys/src/features/gen_Path2d.rs index 7cdb3e8d9..7cd55c12f 100644 --- a/vendor/web-sys/src/features/gen_Path2d.rs +++ b/vendor/web-sys/src/features/gen_Path2d.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -173,4 +174,68 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `Path2d`*"] pub fn rect(this: &Path2d, x: f64, y: f64, w: f64, h: f64); + # [wasm_bindgen (catch , method , structural , js_class = "Path2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Path2d`*"] + pub fn round_rect(this: &Path2d, x: f64, y: f64, w: f64, h: f64) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "Path2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Path2d`*"] + pub fn round_rect_with_f64( + this: &Path2d, + x: f64, + y: f64, + w: f64, + h: f64, + radii: f64, + ) -> Result<(), JsValue>; + #[cfg(feature = "DomPointInit")] + # [wasm_bindgen (catch , method , structural , js_class = "Path2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `DomPointInit`, `Path2d`*"] + pub fn round_rect_with_dom_point_init( + this: &Path2d, + x: f64, + y: f64, + w: f64, + h: f64, + radii: &DomPointInit, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "Path2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Path2d`*"] + pub fn round_rect_with_f64_sequence( + this: &Path2d, + x: f64, + y: f64, + w: f64, + h: f64, + radii: &::wasm_bindgen::JsValue, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "Path2D" , js_name = roundRect)] + #[doc = "The `roundRect()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/roundRect)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Path2d`*"] + pub fn round_rect_with_dom_point_init_sequence( + this: &Path2d, + x: f64, + y: f64, + w: f64, + h: f64, + radii: &::wasm_bindgen::JsValue, + ) -> Result<(), JsValue>; } diff --git a/vendor/web-sys/src/features/gen_PaymentAddress.rs b/vendor/web-sys/src/features/gen_PaymentAddress.rs index 7402ca5be..367f8076b 100644 --- a/vendor/web-sys/src/features/gen_PaymentAddress.rs +++ b/vendor/web-sys/src/features/gen_PaymentAddress.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PaymentComplete.rs b/vendor/web-sys/src/features/gen_PaymentComplete.rs index 77812acff..e090f091d 100644 --- a/vendor/web-sys/src/features/gen_PaymentComplete.rs +++ b/vendor/web-sys/src/features/gen_PaymentComplete.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PaymentComplete` enum."] diff --git a/vendor/web-sys/src/features/gen_PaymentMethodChangeEvent.rs b/vendor/web-sys/src/features/gen_PaymentMethodChangeEvent.rs index 68d5868c8..cfd9aa621 100644 --- a/vendor/web-sys/src/features/gen_PaymentMethodChangeEvent.rs +++ b/vendor/web-sys/src/features/gen_PaymentMethodChangeEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PaymentMethodChangeEventInit.rs b/vendor/web-sys/src/features/gen_PaymentMethodChangeEventInit.rs index 0aa07478f..0e442cb2b 100644 --- a/vendor/web-sys/src/features/gen_PaymentMethodChangeEventInit.rs +++ b/vendor/web-sys/src/features/gen_PaymentMethodChangeEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PaymentRequestUpdateEvent.rs b/vendor/web-sys/src/features/gen_PaymentRequestUpdateEvent.rs index fa60547c3..9f3e1283f 100644 --- a/vendor/web-sys/src/features/gen_PaymentRequestUpdateEvent.rs +++ b/vendor/web-sys/src/features/gen_PaymentRequestUpdateEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PaymentRequestUpdateEventInit.rs b/vendor/web-sys/src/features/gen_PaymentRequestUpdateEventInit.rs index c3877bf6b..5bf0fb7e3 100644 --- a/vendor/web-sys/src/features/gen_PaymentRequestUpdateEventInit.rs +++ b/vendor/web-sys/src/features/gen_PaymentRequestUpdateEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PaymentResponse.rs b/vendor/web-sys/src/features/gen_PaymentResponse.rs index b9007db1c..7b4255758 100644 --- a/vendor/web-sys/src/features/gen_PaymentResponse.rs +++ b/vendor/web-sys/src/features/gen_PaymentResponse.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Pbkdf2Params.rs b/vendor/web-sys/src/features/gen_Pbkdf2Params.rs index 4bf39c683..13aafec0e 100644 --- a/vendor/web-sys/src/features/gen_Pbkdf2Params.rs +++ b/vendor/web-sys/src/features/gen_Pbkdf2Params.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PcImplIceConnectionState.rs b/vendor/web-sys/src/features/gen_PcImplIceConnectionState.rs index f79b4ea0e..a9b2b3511 100644 --- a/vendor/web-sys/src/features/gen_PcImplIceConnectionState.rs +++ b/vendor/web-sys/src/features/gen_PcImplIceConnectionState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PcImplIceConnectionState` enum."] diff --git a/vendor/web-sys/src/features/gen_PcImplIceGatheringState.rs b/vendor/web-sys/src/features/gen_PcImplIceGatheringState.rs index dd9fe873f..d52a7eae0 100644 --- a/vendor/web-sys/src/features/gen_PcImplIceGatheringState.rs +++ b/vendor/web-sys/src/features/gen_PcImplIceGatheringState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PcImplIceGatheringState` enum."] diff --git a/vendor/web-sys/src/features/gen_PcImplSignalingState.rs b/vendor/web-sys/src/features/gen_PcImplSignalingState.rs index bc940be72..06cb05182 100644 --- a/vendor/web-sys/src/features/gen_PcImplSignalingState.rs +++ b/vendor/web-sys/src/features/gen_PcImplSignalingState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PcImplSignalingState` enum."] diff --git a/vendor/web-sys/src/features/gen_PcObserverStateType.rs b/vendor/web-sys/src/features/gen_PcObserverStateType.rs index 11a74b3da..75f4b1be1 100644 --- a/vendor/web-sys/src/features/gen_PcObserverStateType.rs +++ b/vendor/web-sys/src/features/gen_PcObserverStateType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PcObserverStateType` enum."] diff --git a/vendor/web-sys/src/features/gen_Performance.rs b/vendor/web-sys/src/features/gen_Performance.rs index 0e4212900..1ef04f761 100644 --- a/vendor/web-sys/src/features/gen_Performance.rs +++ b/vendor/web-sys/src/features/gen_Performance.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -152,6 +153,17 @@ extern "C" { start_mark: &str, end_mark: &str, ) -> Result<(), JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = measureUserAgentSpecificMemory)] + #[doc = "The `measureUserAgentSpecificMemory()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/measureUserAgentSpecificMemory)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Performance`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn measure_user_agent_specific_memory(this: &Performance) -> ::js_sys::Promise; # [wasm_bindgen (method , structural , js_class = "Performance" , js_name = now)] #[doc = "The `now()` method."] #[doc = ""] diff --git a/vendor/web-sys/src/features/gen_PerformanceEntry.rs b/vendor/web-sys/src/features/gen_PerformanceEntry.rs index 41e22c04f..5427e6b8d 100644 --- a/vendor/web-sys/src/features/gen_PerformanceEntry.rs +++ b/vendor/web-sys/src/features/gen_PerformanceEntry.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PerformanceEntryEventInit.rs b/vendor/web-sys/src/features/gen_PerformanceEntryEventInit.rs index 884971987..ee6698379 100644 --- a/vendor/web-sys/src/features/gen_PerformanceEntryEventInit.rs +++ b/vendor/web-sys/src/features/gen_PerformanceEntryEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PerformanceEntryFilterOptions.rs b/vendor/web-sys/src/features/gen_PerformanceEntryFilterOptions.rs index abc5c78de..052aac4d7 100644 --- a/vendor/web-sys/src/features/gen_PerformanceEntryFilterOptions.rs +++ b/vendor/web-sys/src/features/gen_PerformanceEntryFilterOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PerformanceMark.rs b/vendor/web-sys/src/features/gen_PerformanceMark.rs index b74bed7fd..80029413f 100644 --- a/vendor/web-sys/src/features/gen_PerformanceMark.rs +++ b/vendor/web-sys/src/features/gen_PerformanceMark.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PerformanceMeasure.rs b/vendor/web-sys/src/features/gen_PerformanceMeasure.rs index e7981e720..88c59b626 100644 --- a/vendor/web-sys/src/features/gen_PerformanceMeasure.rs +++ b/vendor/web-sys/src/features/gen_PerformanceMeasure.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PerformanceNavigation.rs b/vendor/web-sys/src/features/gen_PerformanceNavigation.rs index 339e62227..33efbfc45 100644 --- a/vendor/web-sys/src/features/gen_PerformanceNavigation.rs +++ b/vendor/web-sys/src/features/gen_PerformanceNavigation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs b/vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs index 2193b4c82..322892b5d 100644 --- a/vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs +++ b/vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PerformanceObserver.rs b/vendor/web-sys/src/features/gen_PerformanceObserver.rs index 1146a121a..893cffbd1 100644 --- a/vendor/web-sys/src/features/gen_PerformanceObserver.rs +++ b/vendor/web-sys/src/features/gen_PerformanceObserver.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PerformanceObserverEntryList.rs b/vendor/web-sys/src/features/gen_PerformanceObserverEntryList.rs index 29b5dd6da..441cab30c 100644 --- a/vendor/web-sys/src/features/gen_PerformanceObserverEntryList.rs +++ b/vendor/web-sys/src/features/gen_PerformanceObserverEntryList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PerformanceObserverInit.rs b/vendor/web-sys/src/features/gen_PerformanceObserverInit.rs index cdfef4c53..e6c559aa2 100644 --- a/vendor/web-sys/src/features/gen_PerformanceObserverInit.rs +++ b/vendor/web-sys/src/features/gen_PerformanceObserverInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PerformanceResourceTiming.rs b/vendor/web-sys/src/features/gen_PerformanceResourceTiming.rs index 4aa5d2e72..765234d6f 100644 --- a/vendor/web-sys/src/features/gen_PerformanceResourceTiming.rs +++ b/vendor/web-sys/src/features/gen_PerformanceResourceTiming.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PerformanceServerTiming.rs b/vendor/web-sys/src/features/gen_PerformanceServerTiming.rs index 2b77307e4..130c6fe22 100644 --- a/vendor/web-sys/src/features/gen_PerformanceServerTiming.rs +++ b/vendor/web-sys/src/features/gen_PerformanceServerTiming.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PerformanceTiming.rs b/vendor/web-sys/src/features/gen_PerformanceTiming.rs index f1fc6e29b..926a905f4 100644 --- a/vendor/web-sys/src/features/gen_PerformanceTiming.rs +++ b/vendor/web-sys/src/features/gen_PerformanceTiming.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PeriodicWave.rs b/vendor/web-sys/src/features/gen_PeriodicWave.rs index a9ffc3855..71f232b0a 100644 --- a/vendor/web-sys/src/features/gen_PeriodicWave.rs +++ b/vendor/web-sys/src/features/gen_PeriodicWave.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PeriodicWaveConstraints.rs b/vendor/web-sys/src/features/gen_PeriodicWaveConstraints.rs index 363337d81..5c3422258 100644 --- a/vendor/web-sys/src/features/gen_PeriodicWaveConstraints.rs +++ b/vendor/web-sys/src/features/gen_PeriodicWaveConstraints.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PeriodicWaveOptions.rs b/vendor/web-sys/src/features/gen_PeriodicWaveOptions.rs index e4db19baa..bffe86326 100644 --- a/vendor/web-sys/src/features/gen_PeriodicWaveOptions.rs +++ b/vendor/web-sys/src/features/gen_PeriodicWaveOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PermissionDescriptor.rs b/vendor/web-sys/src/features/gen_PermissionDescriptor.rs index 4662732df..596b50b43 100644 --- a/vendor/web-sys/src/features/gen_PermissionDescriptor.rs +++ b/vendor/web-sys/src/features/gen_PermissionDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PermissionName.rs b/vendor/web-sys/src/features/gen_PermissionName.rs index f91971602..57887063a 100644 --- a/vendor/web-sys/src/features/gen_PermissionName.rs +++ b/vendor/web-sys/src/features/gen_PermissionName.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PermissionName` enum."] diff --git a/vendor/web-sys/src/features/gen_PermissionState.rs b/vendor/web-sys/src/features/gen_PermissionState.rs index 0d4de492b..ad4dfe78a 100644 --- a/vendor/web-sys/src/features/gen_PermissionState.rs +++ b/vendor/web-sys/src/features/gen_PermissionState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PermissionState` enum."] diff --git a/vendor/web-sys/src/features/gen_PermissionStatus.rs b/vendor/web-sys/src/features/gen_PermissionStatus.rs index 7b2cacd34..2a9645cf2 100644 --- a/vendor/web-sys/src/features/gen_PermissionStatus.rs +++ b/vendor/web-sys/src/features/gen_PermissionStatus.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Permissions.rs b/vendor/web-sys/src/features/gen_Permissions.rs index 4d57a8dc1..4170005db 100644 --- a/vendor/web-sys/src/features/gen_Permissions.rs +++ b/vendor/web-sys/src/features/gen_Permissions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PlaneLayout.rs b/vendor/web-sys/src/features/gen_PlaneLayout.rs index 9b9b4bf4e..d472a1a6f 100644 --- a/vendor/web-sys/src/features/gen_PlaneLayout.rs +++ b/vendor/web-sys/src/features/gen_PlaneLayout.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_PlaybackDirection.rs b/vendor/web-sys/src/features/gen_PlaybackDirection.rs index 94fe8e0ba..5e3caabfa 100644 --- a/vendor/web-sys/src/features/gen_PlaybackDirection.rs +++ b/vendor/web-sys/src/features/gen_PlaybackDirection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PlaybackDirection` enum."] diff --git a/vendor/web-sys/src/features/gen_Plugin.rs b/vendor/web-sys/src/features/gen_Plugin.rs index 5ca731a90..dd70afe34 100644 --- a/vendor/web-sys/src/features/gen_Plugin.rs +++ b/vendor/web-sys/src/features/gen_Plugin.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PluginArray.rs b/vendor/web-sys/src/features/gen_PluginArray.rs index e31d5458e..73b3624ff 100644 --- a/vendor/web-sys/src/features/gen_PluginArray.rs +++ b/vendor/web-sys/src/features/gen_PluginArray.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PluginCrashedEventInit.rs b/vendor/web-sys/src/features/gen_PluginCrashedEventInit.rs index b400555b5..ccbf61ed9 100644 --- a/vendor/web-sys/src/features/gen_PluginCrashedEventInit.rs +++ b/vendor/web-sys/src/features/gen_PluginCrashedEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PointerEvent.rs b/vendor/web-sys/src/features/gen_PointerEvent.rs index 7bdd3c987..ddfa8e546 100644 --- a/vendor/web-sys/src/features/gen_PointerEvent.rs +++ b/vendor/web-sys/src/features/gen_PointerEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PointerEventInit.rs b/vendor/web-sys/src/features/gen_PointerEventInit.rs index 30655a4ab..ba1339fbe 100644 --- a/vendor/web-sys/src/features/gen_PointerEventInit.rs +++ b/vendor/web-sys/src/features/gen_PointerEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PopStateEvent.rs b/vendor/web-sys/src/features/gen_PopStateEvent.rs index 5fac86918..7cc02cb5f 100644 --- a/vendor/web-sys/src/features/gen_PopStateEvent.rs +++ b/vendor/web-sys/src/features/gen_PopStateEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PopStateEventInit.rs b/vendor/web-sys/src/features/gen_PopStateEventInit.rs index f1a0653c7..624956108 100644 --- a/vendor/web-sys/src/features/gen_PopStateEventInit.rs +++ b/vendor/web-sys/src/features/gen_PopStateEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PopupBlockedEvent.rs b/vendor/web-sys/src/features/gen_PopupBlockedEvent.rs index 22b008868..ee0cf95b5 100644 --- a/vendor/web-sys/src/features/gen_PopupBlockedEvent.rs +++ b/vendor/web-sys/src/features/gen_PopupBlockedEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PopupBlockedEventInit.rs b/vendor/web-sys/src/features/gen_PopupBlockedEventInit.rs index 81494ec06..ff9fc12cb 100644 --- a/vendor/web-sys/src/features/gen_PopupBlockedEventInit.rs +++ b/vendor/web-sys/src/features/gen_PopupBlockedEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Position.rs b/vendor/web-sys/src/features/gen_Position.rs index b8e1dfaed..a94777d0a 100644 --- a/vendor/web-sys/src/features/gen_Position.rs +++ b/vendor/web-sys/src/features/gen_Position.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PositionAlignSetting.rs b/vendor/web-sys/src/features/gen_PositionAlignSetting.rs index d6db3f17b..929f80840 100644 --- a/vendor/web-sys/src/features/gen_PositionAlignSetting.rs +++ b/vendor/web-sys/src/features/gen_PositionAlignSetting.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PositionAlignSetting` enum."] diff --git a/vendor/web-sys/src/features/gen_PositionError.rs b/vendor/web-sys/src/features/gen_PositionError.rs index b21b7586b..c454b7417 100644 --- a/vendor/web-sys/src/features/gen_PositionError.rs +++ b/vendor/web-sys/src/features/gen_PositionError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PositionOptions.rs b/vendor/web-sys/src/features/gen_PositionOptions.rs index 30c0b1063..c5d8789e3 100644 --- a/vendor/web-sys/src/features/gen_PositionOptions.rs +++ b/vendor/web-sys/src/features/gen_PositionOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PremultiplyAlpha.rs b/vendor/web-sys/src/features/gen_PremultiplyAlpha.rs index f838d000e..603d77abe 100644 --- a/vendor/web-sys/src/features/gen_PremultiplyAlpha.rs +++ b/vendor/web-sys/src/features/gen_PremultiplyAlpha.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PremultiplyAlpha` enum."] diff --git a/vendor/web-sys/src/features/gen_Presentation.rs b/vendor/web-sys/src/features/gen_Presentation.rs index 428975568..b1c2da4d5 100644 --- a/vendor/web-sys/src/features/gen_Presentation.rs +++ b/vendor/web-sys/src/features/gen_Presentation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PresentationAvailability.rs b/vendor/web-sys/src/features/gen_PresentationAvailability.rs index 90ea7c55c..bd68ff541 100644 --- a/vendor/web-sys/src/features/gen_PresentationAvailability.rs +++ b/vendor/web-sys/src/features/gen_PresentationAvailability.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PresentationConnection.rs b/vendor/web-sys/src/features/gen_PresentationConnection.rs index 8c4977879..23e950cbc 100644 --- a/vendor/web-sys/src/features/gen_PresentationConnection.rs +++ b/vendor/web-sys/src/features/gen_PresentationConnection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEvent.rs b/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEvent.rs index 203c6b14a..b55188ddb 100644 --- a/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEvent.rs +++ b/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEventInit.rs b/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEventInit.rs index 8ea8b6962..91bc99d26 100644 --- a/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEventInit.rs +++ b/vendor/web-sys/src/features/gen_PresentationConnectionAvailableEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionBinaryType.rs b/vendor/web-sys/src/features/gen_PresentationConnectionBinaryType.rs index 927c3791c..1170ee14b 100644 --- a/vendor/web-sys/src/features/gen_PresentationConnectionBinaryType.rs +++ b/vendor/web-sys/src/features/gen_PresentationConnectionBinaryType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PresentationConnectionBinaryType` enum."] diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionCloseEvent.rs b/vendor/web-sys/src/features/gen_PresentationConnectionCloseEvent.rs index 405b2e59d..3e1ca525f 100644 --- a/vendor/web-sys/src/features/gen_PresentationConnectionCloseEvent.rs +++ b/vendor/web-sys/src/features/gen_PresentationConnectionCloseEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionCloseEventInit.rs b/vendor/web-sys/src/features/gen_PresentationConnectionCloseEventInit.rs index 9a7c221c2..2fc2a1ba2 100644 --- a/vendor/web-sys/src/features/gen_PresentationConnectionCloseEventInit.rs +++ b/vendor/web-sys/src/features/gen_PresentationConnectionCloseEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionClosedReason.rs b/vendor/web-sys/src/features/gen_PresentationConnectionClosedReason.rs index d478b0979..254175d58 100644 --- a/vendor/web-sys/src/features/gen_PresentationConnectionClosedReason.rs +++ b/vendor/web-sys/src/features/gen_PresentationConnectionClosedReason.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PresentationConnectionClosedReason` enum."] diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionList.rs b/vendor/web-sys/src/features/gen_PresentationConnectionList.rs index c1c95cba5..c23875ba0 100644 --- a/vendor/web-sys/src/features/gen_PresentationConnectionList.rs +++ b/vendor/web-sys/src/features/gen_PresentationConnectionList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PresentationConnectionState.rs b/vendor/web-sys/src/features/gen_PresentationConnectionState.rs index 68e0905a2..4aa059497 100644 --- a/vendor/web-sys/src/features/gen_PresentationConnectionState.rs +++ b/vendor/web-sys/src/features/gen_PresentationConnectionState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PresentationConnectionState` enum."] diff --git a/vendor/web-sys/src/features/gen_PresentationReceiver.rs b/vendor/web-sys/src/features/gen_PresentationReceiver.rs index 5e1388a6e..821ecb907 100644 --- a/vendor/web-sys/src/features/gen_PresentationReceiver.rs +++ b/vendor/web-sys/src/features/gen_PresentationReceiver.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PresentationRequest.rs b/vendor/web-sys/src/features/gen_PresentationRequest.rs index 484b4c3f0..1bf4c2e13 100644 --- a/vendor/web-sys/src/features/gen_PresentationRequest.rs +++ b/vendor/web-sys/src/features/gen_PresentationRequest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PresentationStyle.rs b/vendor/web-sys/src/features/gen_PresentationStyle.rs index 3f45b29c9..1c1b92cf5 100644 --- a/vendor/web-sys/src/features/gen_PresentationStyle.rs +++ b/vendor/web-sys/src/features/gen_PresentationStyle.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ProcessingInstruction.rs b/vendor/web-sys/src/features/gen_ProcessingInstruction.rs index 158f56bf8..370b012bf 100644 --- a/vendor/web-sys/src/features/gen_ProcessingInstruction.rs +++ b/vendor/web-sys/src/features/gen_ProcessingInstruction.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ProfileTimelineLayerRect.rs b/vendor/web-sys/src/features/gen_ProfileTimelineLayerRect.rs index b16776e3f..5d30196fc 100644 --- a/vendor/web-sys/src/features/gen_ProfileTimelineLayerRect.rs +++ b/vendor/web-sys/src/features/gen_ProfileTimelineLayerRect.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ProfileTimelineMarker.rs b/vendor/web-sys/src/features/gen_ProfileTimelineMarker.rs index f12f1a6b0..18d9da0ac 100644 --- a/vendor/web-sys/src/features/gen_ProfileTimelineMarker.rs +++ b/vendor/web-sys/src/features/gen_ProfileTimelineMarker.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ProfileTimelineMessagePortOperationType.rs b/vendor/web-sys/src/features/gen_ProfileTimelineMessagePortOperationType.rs index ef447a95f..95620b064 100644 --- a/vendor/web-sys/src/features/gen_ProfileTimelineMessagePortOperationType.rs +++ b/vendor/web-sys/src/features/gen_ProfileTimelineMessagePortOperationType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ProfileTimelineMessagePortOperationType` enum."] diff --git a/vendor/web-sys/src/features/gen_ProfileTimelineStackFrame.rs b/vendor/web-sys/src/features/gen_ProfileTimelineStackFrame.rs index 79bd3b74f..c03a914b2 100644 --- a/vendor/web-sys/src/features/gen_ProfileTimelineStackFrame.rs +++ b/vendor/web-sys/src/features/gen_ProfileTimelineStackFrame.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ProfileTimelineWorkerOperationType.rs b/vendor/web-sys/src/features/gen_ProfileTimelineWorkerOperationType.rs index 9006dda12..25a50bfb9 100644 --- a/vendor/web-sys/src/features/gen_ProfileTimelineWorkerOperationType.rs +++ b/vendor/web-sys/src/features/gen_ProfileTimelineWorkerOperationType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ProfileTimelineWorkerOperationType` enum."] diff --git a/vendor/web-sys/src/features/gen_ProgressEvent.rs b/vendor/web-sys/src/features/gen_ProgressEvent.rs index 8ab6d36af..2dd30ee03 100644 --- a/vendor/web-sys/src/features/gen_ProgressEvent.rs +++ b/vendor/web-sys/src/features/gen_ProgressEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ProgressEventInit.rs b/vendor/web-sys/src/features/gen_ProgressEventInit.rs index ea6a5fe11..df10539b7 100644 --- a/vendor/web-sys/src/features/gen_ProgressEventInit.rs +++ b/vendor/web-sys/src/features/gen_ProgressEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PromiseNativeHandler.rs b/vendor/web-sys/src/features/gen_PromiseNativeHandler.rs index 6fbf1acf5..f764dd1d6 100644 --- a/vendor/web-sys/src/features/gen_PromiseNativeHandler.rs +++ b/vendor/web-sys/src/features/gen_PromiseNativeHandler.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PromiseRejectionEvent.rs b/vendor/web-sys/src/features/gen_PromiseRejectionEvent.rs index 6d7361f69..cd2921ae9 100644 --- a/vendor/web-sys/src/features/gen_PromiseRejectionEvent.rs +++ b/vendor/web-sys/src/features/gen_PromiseRejectionEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PromiseRejectionEventInit.rs b/vendor/web-sys/src/features/gen_PromiseRejectionEventInit.rs index 30375764e..42aa52ae1 100644 --- a/vendor/web-sys/src/features/gen_PromiseRejectionEventInit.rs +++ b/vendor/web-sys/src/features/gen_PromiseRejectionEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredential.rs b/vendor/web-sys/src/features/gen_PublicKeyCredential.rs index dd7f8cbd0..dc0ddbce9 100644 --- a/vendor/web-sys/src/features/gen_PublicKeyCredential.rs +++ b/vendor/web-sys/src/features/gen_PublicKeyCredential.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialCreationOptions.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialCreationOptions.rs index e1a1ed72d..d1f99e0ea 100644 --- a/vendor/web-sys/src/features/gen_PublicKeyCredentialCreationOptions.rs +++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialCreationOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialDescriptor.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialDescriptor.rs index 907d346a3..85e7c24ac 100644 --- a/vendor/web-sys/src/features/gen_PublicKeyCredentialDescriptor.rs +++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialEntity.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialEntity.rs index d5ca9f981..b1caf5c86 100644 --- a/vendor/web-sys/src/features/gen_PublicKeyCredentialEntity.rs +++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialEntity.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialParameters.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialParameters.rs index 9eac4922f..bcf47f75c 100644 --- a/vendor/web-sys/src/features/gen_PublicKeyCredentialParameters.rs +++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialRequestOptions.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialRequestOptions.rs index 7db1ffdfe..2c5fff916 100644 --- a/vendor/web-sys/src/features/gen_PublicKeyCredentialRequestOptions.rs +++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialRequestOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialRpEntity.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialRpEntity.rs index a1152f87b..15dba930a 100644 --- a/vendor/web-sys/src/features/gen_PublicKeyCredentialRpEntity.rs +++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialRpEntity.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialType.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialType.rs index d75328e57..2ba8cffe3 100644 --- a/vendor/web-sys/src/features/gen_PublicKeyCredentialType.rs +++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PublicKeyCredentialType` enum."] diff --git a/vendor/web-sys/src/features/gen_PublicKeyCredentialUserEntity.rs b/vendor/web-sys/src/features/gen_PublicKeyCredentialUserEntity.rs index d9e369cb0..fad8c8454 100644 --- a/vendor/web-sys/src/features/gen_PublicKeyCredentialUserEntity.rs +++ b/vendor/web-sys/src/features/gen_PublicKeyCredentialUserEntity.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PushEncryptionKeyName.rs b/vendor/web-sys/src/features/gen_PushEncryptionKeyName.rs index 426f7dba1..328a69c6f 100644 --- a/vendor/web-sys/src/features/gen_PushEncryptionKeyName.rs +++ b/vendor/web-sys/src/features/gen_PushEncryptionKeyName.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PushEncryptionKeyName` enum."] diff --git a/vendor/web-sys/src/features/gen_PushEvent.rs b/vendor/web-sys/src/features/gen_PushEvent.rs index c22f03058..3583c2ee8 100644 --- a/vendor/web-sys/src/features/gen_PushEvent.rs +++ b/vendor/web-sys/src/features/gen_PushEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PushEventInit.rs b/vendor/web-sys/src/features/gen_PushEventInit.rs index 35c412272..8d58c8235 100644 --- a/vendor/web-sys/src/features/gen_PushEventInit.rs +++ b/vendor/web-sys/src/features/gen_PushEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PushManager.rs b/vendor/web-sys/src/features/gen_PushManager.rs index b272c5067..cee904a82 100644 --- a/vendor/web-sys/src/features/gen_PushManager.rs +++ b/vendor/web-sys/src/features/gen_PushManager.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PushMessageData.rs b/vendor/web-sys/src/features/gen_PushMessageData.rs index b641f968e..cd9218376 100644 --- a/vendor/web-sys/src/features/gen_PushMessageData.rs +++ b/vendor/web-sys/src/features/gen_PushMessageData.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PushPermissionState.rs b/vendor/web-sys/src/features/gen_PushPermissionState.rs index b86708f72..2053fb078 100644 --- a/vendor/web-sys/src/features/gen_PushPermissionState.rs +++ b/vendor/web-sys/src/features/gen_PushPermissionState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `PushPermissionState` enum."] diff --git a/vendor/web-sys/src/features/gen_PushSubscription.rs b/vendor/web-sys/src/features/gen_PushSubscription.rs index 46d48290b..38ffea5c2 100644 --- a/vendor/web-sys/src/features/gen_PushSubscription.rs +++ b/vendor/web-sys/src/features/gen_PushSubscription.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PushSubscriptionInit.rs b/vendor/web-sys/src/features/gen_PushSubscriptionInit.rs index 9b7784a8e..60095c2e0 100644 --- a/vendor/web-sys/src/features/gen_PushSubscriptionInit.rs +++ b/vendor/web-sys/src/features/gen_PushSubscriptionInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PushSubscriptionJson.rs b/vendor/web-sys/src/features/gen_PushSubscriptionJson.rs index 6859af3f7..834be13d1 100644 --- a/vendor/web-sys/src/features/gen_PushSubscriptionJson.rs +++ b/vendor/web-sys/src/features/gen_PushSubscriptionJson.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PushSubscriptionKeys.rs b/vendor/web-sys/src/features/gen_PushSubscriptionKeys.rs index d42b47eac..80df70780 100644 --- a/vendor/web-sys/src/features/gen_PushSubscriptionKeys.rs +++ b/vendor/web-sys/src/features/gen_PushSubscriptionKeys.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PushSubscriptionOptions.rs b/vendor/web-sys/src/features/gen_PushSubscriptionOptions.rs index de64371c5..4452a1d3c 100644 --- a/vendor/web-sys/src/features/gen_PushSubscriptionOptions.rs +++ b/vendor/web-sys/src/features/gen_PushSubscriptionOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_PushSubscriptionOptionsInit.rs b/vendor/web-sys/src/features/gen_PushSubscriptionOptionsInit.rs index 1e9ae13ed..faa185a95 100644 --- a/vendor/web-sys/src/features/gen_PushSubscriptionOptionsInit.rs +++ b/vendor/web-sys/src/features/gen_PushSubscriptionOptionsInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_QueryOptions.rs b/vendor/web-sys/src/features/gen_QueryOptions.rs new file mode 100644 index 000000000..85967a95a --- /dev/null +++ b/vendor/web-sys/src/features/gen_QueryOptions.rs @@ -0,0 +1,58 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = QueryOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `QueryOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `QueryOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type QueryOptions; +} +#[cfg(web_sys_unstable_apis)] +impl QueryOptions { + #[doc = "Construct a new `QueryOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `QueryOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `postscriptNames` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `QueryOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn postscript_names(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("postscriptNames"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for QueryOptions { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_QueuingStrategy.rs b/vendor/web-sys/src/features/gen_QueuingStrategy.rs index d94bdba8d..a92cca58a 100644 --- a/vendor/web-sys/src/features/gen_QueuingStrategy.rs +++ b/vendor/web-sys/src/features/gen_QueuingStrategy.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_QueuingStrategyInit.rs b/vendor/web-sys/src/features/gen_QueuingStrategyInit.rs index 89141292f..253366ced 100644 --- a/vendor/web-sys/src/features/gen_QueuingStrategyInit.rs +++ b/vendor/web-sys/src/features/gen_QueuingStrategyInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RadioNodeList.rs b/vendor/web-sys/src/features/gen_RadioNodeList.rs index 91c239809..26ea3fc29 100644 --- a/vendor/web-sys/src/features/gen_RadioNodeList.rs +++ b/vendor/web-sys/src/features/gen_RadioNodeList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Range.rs b/vendor/web-sys/src/features/gen_Range.rs index 1aa1f937b..2d5b99f3a 100644 --- a/vendor/web-sys/src/features/gen_Range.rs +++ b/vendor/web-sys/src/features/gen_Range.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RcwnPerfStats.rs b/vendor/web-sys/src/features/gen_RcwnPerfStats.rs index 251053a13..9a39f40cf 100644 --- a/vendor/web-sys/src/features/gen_RcwnPerfStats.rs +++ b/vendor/web-sys/src/features/gen_RcwnPerfStats.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RcwnStatus.rs b/vendor/web-sys/src/features/gen_RcwnStatus.rs index 17c01013f..9994b6a95 100644 --- a/vendor/web-sys/src/features/gen_RcwnStatus.rs +++ b/vendor/web-sys/src/features/gen_RcwnStatus.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ReadableByteStreamController.rs b/vendor/web-sys/src/features/gen_ReadableByteStreamController.rs index df4509417..5ca98c246 100644 --- a/vendor/web-sys/src/features/gen_ReadableByteStreamController.rs +++ b/vendor/web-sys/src/features/gen_ReadableByteStreamController.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ReadableStream.rs b/vendor/web-sys/src/features/gen_ReadableStream.rs index c66b913be..05e41cd9d 100644 --- a/vendor/web-sys/src/features/gen_ReadableStream.rs +++ b/vendor/web-sys/src/features/gen_ReadableStream.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ReadableStreamByobReader.rs b/vendor/web-sys/src/features/gen_ReadableStreamByobReader.rs index 1f0512551..4a12b6ee5 100644 --- a/vendor/web-sys/src/features/gen_ReadableStreamByobReader.rs +++ b/vendor/web-sys/src/features/gen_ReadableStreamByobReader.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ReadableStreamByobRequest.rs b/vendor/web-sys/src/features/gen_ReadableStreamByobRequest.rs index 7638c598d..7040254c9 100644 --- a/vendor/web-sys/src/features/gen_ReadableStreamByobRequest.rs +++ b/vendor/web-sys/src/features/gen_ReadableStreamByobRequest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ReadableStreamDefaultController.rs b/vendor/web-sys/src/features/gen_ReadableStreamDefaultController.rs index d721b20aa..37f3f091d 100644 --- a/vendor/web-sys/src/features/gen_ReadableStreamDefaultController.rs +++ b/vendor/web-sys/src/features/gen_ReadableStreamDefaultController.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ReadableStreamDefaultReader.rs b/vendor/web-sys/src/features/gen_ReadableStreamDefaultReader.rs index 6b12a74ca..ab38d4376 100644 --- a/vendor/web-sys/src/features/gen_ReadableStreamDefaultReader.rs +++ b/vendor/web-sys/src/features/gen_ReadableStreamDefaultReader.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ReadableStreamGetReaderOptions.rs b/vendor/web-sys/src/features/gen_ReadableStreamGetReaderOptions.rs index 632b82634..6636768f3 100644 --- a/vendor/web-sys/src/features/gen_ReadableStreamGetReaderOptions.rs +++ b/vendor/web-sys/src/features/gen_ReadableStreamGetReaderOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ReadableStreamIteratorOptions.rs b/vendor/web-sys/src/features/gen_ReadableStreamIteratorOptions.rs index f1c2d65b6..6ecfe1e04 100644 --- a/vendor/web-sys/src/features/gen_ReadableStreamIteratorOptions.rs +++ b/vendor/web-sys/src/features/gen_ReadableStreamIteratorOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ReadableStreamReadResult.rs b/vendor/web-sys/src/features/gen_ReadableStreamReadResult.rs index 794dc0e9b..7385e0043 100644 --- a/vendor/web-sys/src/features/gen_ReadableStreamReadResult.rs +++ b/vendor/web-sys/src/features/gen_ReadableStreamReadResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ReadableStreamReaderMode.rs b/vendor/web-sys/src/features/gen_ReadableStreamReaderMode.rs index a01a07dac..ed9407417 100644 --- a/vendor/web-sys/src/features/gen_ReadableStreamReaderMode.rs +++ b/vendor/web-sys/src/features/gen_ReadableStreamReaderMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ReadableStreamReaderMode` enum."] diff --git a/vendor/web-sys/src/features/gen_ReadableStreamType.rs b/vendor/web-sys/src/features/gen_ReadableStreamType.rs index 5bbe4467f..298c3eef6 100644 --- a/vendor/web-sys/src/features/gen_ReadableStreamType.rs +++ b/vendor/web-sys/src/features/gen_ReadableStreamType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ReadableStreamType` enum."] diff --git a/vendor/web-sys/src/features/gen_ReadableWritablePair.rs b/vendor/web-sys/src/features/gen_ReadableWritablePair.rs index 8a34d98ac..fc98e0b9d 100644 --- a/vendor/web-sys/src/features/gen_ReadableWritablePair.rs +++ b/vendor/web-sys/src/features/gen_ReadableWritablePair.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RecordingState.rs b/vendor/web-sys/src/features/gen_RecordingState.rs index b652faf75..6aee4d136 100644 --- a/vendor/web-sys/src/features/gen_RecordingState.rs +++ b/vendor/web-sys/src/features/gen_RecordingState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RecordingState` enum."] diff --git a/vendor/web-sys/src/features/gen_ReferrerPolicy.rs b/vendor/web-sys/src/features/gen_ReferrerPolicy.rs index 8a04af575..467695b2e 100644 --- a/vendor/web-sys/src/features/gen_ReferrerPolicy.rs +++ b/vendor/web-sys/src/features/gen_ReferrerPolicy.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ReferrerPolicy` enum."] diff --git a/vendor/web-sys/src/features/gen_RegisterRequest.rs b/vendor/web-sys/src/features/gen_RegisterRequest.rs index c3ef76705..457433d59 100644 --- a/vendor/web-sys/src/features/gen_RegisterRequest.rs +++ b/vendor/web-sys/src/features/gen_RegisterRequest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RegisterResponse.rs b/vendor/web-sys/src/features/gen_RegisterResponse.rs index 19c324a2b..ef6ee6dfb 100644 --- a/vendor/web-sys/src/features/gen_RegisterResponse.rs +++ b/vendor/web-sys/src/features/gen_RegisterResponse.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RegisteredKey.rs b/vendor/web-sys/src/features/gen_RegisteredKey.rs index d18b00853..9a404b6ef 100644 --- a/vendor/web-sys/src/features/gen_RegisteredKey.rs +++ b/vendor/web-sys/src/features/gen_RegisteredKey.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RegistrationOptions.rs b/vendor/web-sys/src/features/gen_RegistrationOptions.rs index 9c186a6c8..ebc9aa237 100644 --- a/vendor/web-sys/src/features/gen_RegistrationOptions.rs +++ b/vendor/web-sys/src/features/gen_RegistrationOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -32,6 +33,19 @@ impl RegistrationOptions { let _ = r; self } + #[doc = "Change the `type` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `RegistrationOptions`*"] + pub fn type_(&mut self, val: &str) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } #[cfg(feature = "ServiceWorkerUpdateViaCache")] #[doc = "Change the `updateViaCache` field of this object."] #[doc = ""] diff --git a/vendor/web-sys/src/features/gen_Request.rs b/vendor/web-sys/src/features/gen_Request.rs index d83d86a29..3be945fa9 100644 --- a/vendor/web-sys/src/features/gen_Request.rs +++ b/vendor/web-sys/src/features/gen_Request.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RequestCache.rs b/vendor/web-sys/src/features/gen_RequestCache.rs index 411fce685..e464cdfc2 100644 --- a/vendor/web-sys/src/features/gen_RequestCache.rs +++ b/vendor/web-sys/src/features/gen_RequestCache.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RequestCache` enum."] diff --git a/vendor/web-sys/src/features/gen_RequestCredentials.rs b/vendor/web-sys/src/features/gen_RequestCredentials.rs index 5c61d97a2..00f7a7533 100644 --- a/vendor/web-sys/src/features/gen_RequestCredentials.rs +++ b/vendor/web-sys/src/features/gen_RequestCredentials.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RequestCredentials` enum."] diff --git a/vendor/web-sys/src/features/gen_RequestDestination.rs b/vendor/web-sys/src/features/gen_RequestDestination.rs index e21089dc5..143fadff1 100644 --- a/vendor/web-sys/src/features/gen_RequestDestination.rs +++ b/vendor/web-sys/src/features/gen_RequestDestination.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RequestDestination` enum."] diff --git a/vendor/web-sys/src/features/gen_RequestDeviceOptions.rs b/vendor/web-sys/src/features/gen_RequestDeviceOptions.rs index 02f230278..431ecfd15 100644 --- a/vendor/web-sys/src/features/gen_RequestDeviceOptions.rs +++ b/vendor/web-sys/src/features/gen_RequestDeviceOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_RequestInit.rs b/vendor/web-sys/src/features/gen_RequestInit.rs index 12ad7bf61..820404406 100644 --- a/vendor/web-sys/src/features/gen_RequestInit.rs +++ b/vendor/web-sys/src/features/gen_RequestInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RequestMediaKeySystemAccessNotification.rs b/vendor/web-sys/src/features/gen_RequestMediaKeySystemAccessNotification.rs index 2af8ca812..3ddb95ee9 100644 --- a/vendor/web-sys/src/features/gen_RequestMediaKeySystemAccessNotification.rs +++ b/vendor/web-sys/src/features/gen_RequestMediaKeySystemAccessNotification.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RequestMode.rs b/vendor/web-sys/src/features/gen_RequestMode.rs index cd1293979..82842b5e0 100644 --- a/vendor/web-sys/src/features/gen_RequestMode.rs +++ b/vendor/web-sys/src/features/gen_RequestMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RequestMode` enum."] diff --git a/vendor/web-sys/src/features/gen_RequestRedirect.rs b/vendor/web-sys/src/features/gen_RequestRedirect.rs index ae6cc92ad..528d777d6 100644 --- a/vendor/web-sys/src/features/gen_RequestRedirect.rs +++ b/vendor/web-sys/src/features/gen_RequestRedirect.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RequestRedirect` enum."] diff --git a/vendor/web-sys/src/features/gen_ResizeObserver.rs b/vendor/web-sys/src/features/gen_ResizeObserver.rs index 8b3ef38d2..5243b438d 100644 --- a/vendor/web-sys/src/features/gen_ResizeObserver.rs +++ b/vendor/web-sys/src/features/gen_ResizeObserver.rs @@ -1,7 +1,7 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; -#[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ResizeObserver , typescript_type = "ResizeObserver")] @@ -11,33 +11,21 @@ extern "C" { #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserver`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub type ResizeObserver; - #[cfg(web_sys_unstable_apis)] #[wasm_bindgen(catch, constructor, js_class = "ResizeObserver")] #[doc = "The `new ResizeObserver(..)` constructor, creating a new instance of `ResizeObserver`."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/ResizeObserver)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserver`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn new(callback: &::js_sys::Function) -> Result<ResizeObserver, JsValue>; - #[cfg(web_sys_unstable_apis)] # [wasm_bindgen (method , structural , js_class = "ResizeObserver" , js_name = disconnect)] #[doc = "The `disconnect()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/disconnect)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserver`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn disconnect(this: &ResizeObserver); - #[cfg(web_sys_unstable_apis)] #[cfg(feature = "Element")] # [wasm_bindgen (method , structural , js_class = "ResizeObserver" , js_name = observe)] #[doc = "The `observe()` method."] @@ -45,11 +33,7 @@ extern "C" { #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `Element`, `ResizeObserver`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn observe(this: &ResizeObserver, target: &Element); - #[cfg(web_sys_unstable_apis)] #[cfg(all(feature = "Element", feature = "ResizeObserverOptions",))] # [wasm_bindgen (method , structural , js_class = "ResizeObserver" , js_name = observe)] #[doc = "The `observe()` method."] @@ -57,15 +41,11 @@ extern "C" { #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `Element`, `ResizeObserver`, `ResizeObserverOptions`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn observe_with_options( this: &ResizeObserver, target: &Element, options: &ResizeObserverOptions, ); - #[cfg(web_sys_unstable_apis)] #[cfg(feature = "Element")] # [wasm_bindgen (method , structural , js_class = "ResizeObserver" , js_name = unobserve)] #[doc = "The `unobserve()` method."] @@ -73,8 +53,5 @@ extern "C" { #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/unobserve)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `Element`, `ResizeObserver`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn unobserve(this: &ResizeObserver, target: &Element); } diff --git a/vendor/web-sys/src/features/gen_ResizeObserverBoxOptions.rs b/vendor/web-sys/src/features/gen_ResizeObserverBoxOptions.rs index fb8f3e194..827b3d99d 100644 --- a/vendor/web-sys/src/features/gen_ResizeObserverBoxOptions.rs +++ b/vendor/web-sys/src/features/gen_ResizeObserverBoxOptions.rs @@ -1,13 +1,10 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; -#[cfg(web_sys_unstable_apis)] #[wasm_bindgen] #[doc = "The `ResizeObserverBoxOptions` enum."] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserverBoxOptions`*"] -#[doc = ""] -#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] -#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum ResizeObserverBoxOptions { BorderBox = "border-box", diff --git a/vendor/web-sys/src/features/gen_ResizeObserverEntry.rs b/vendor/web-sys/src/features/gen_ResizeObserverEntry.rs index 7b9122280..fd7ed79e8 100644 --- a/vendor/web-sys/src/features/gen_ResizeObserverEntry.rs +++ b/vendor/web-sys/src/features/gen_ResizeObserverEntry.rs @@ -1,7 +1,7 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; -#[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ResizeObserverEntry , typescript_type = "ResizeObserverEntry")] @@ -11,11 +11,7 @@ extern "C" { #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserverEntry`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub type ResizeObserverEntry; - #[cfg(web_sys_unstable_apis)] #[cfg(feature = "Element")] # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverEntry" , js_name = target)] #[doc = "Getter for the `target` field of this object."] @@ -23,11 +19,7 @@ extern "C" { #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/target)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `Element`, `ResizeObserverEntry`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn target(this: &ResizeObserverEntry) -> Element; - #[cfg(web_sys_unstable_apis)] #[cfg(feature = "DomRectReadOnly")] # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverEntry" , js_name = contentRect)] #[doc = "Getter for the `contentRect` field of this object."] @@ -35,41 +27,26 @@ extern "C" { #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/contentRect)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `DomRectReadOnly`, `ResizeObserverEntry`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn content_rect(this: &ResizeObserverEntry) -> DomRectReadOnly; - #[cfg(web_sys_unstable_apis)] # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverEntry" , js_name = borderBoxSize)] #[doc = "Getter for the `borderBoxSize` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/borderBoxSize)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserverEntry`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn border_box_size(this: &ResizeObserverEntry) -> ::js_sys::Array; - #[cfg(web_sys_unstable_apis)] # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverEntry" , js_name = contentBoxSize)] #[doc = "Getter for the `contentBoxSize` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/contentBoxSize)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserverEntry`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn content_box_size(this: &ResizeObserverEntry) -> ::js_sys::Array; - #[cfg(web_sys_unstable_apis)] # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverEntry" , js_name = devicePixelContentBoxSize)] #[doc = "Getter for the `devicePixelContentBoxSize` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/devicePixelContentBoxSize)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserverEntry`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn device_pixel_content_box_size(this: &ResizeObserverEntry) -> ::js_sys::Array; } diff --git a/vendor/web-sys/src/features/gen_ResizeObserverOptions.rs b/vendor/web-sys/src/features/gen_ResizeObserverOptions.rs index e5f60a392..cbd81683f 100644 --- a/vendor/web-sys/src/features/gen_ResizeObserverOptions.rs +++ b/vendor/web-sys/src/features/gen_ResizeObserverOptions.rs @@ -1,7 +1,7 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; -#[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ResizeObserverOptions)] @@ -9,32 +9,21 @@ extern "C" { #[doc = "The `ResizeObserverOptions` dictionary."] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserverOptions`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub type ResizeObserverOptions; } -#[cfg(web_sys_unstable_apis)] impl ResizeObserverOptions { #[doc = "Construct a new `ResizeObserverOptions`."] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserverOptions`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn new() -> Self { #[allow(unused_mut)] let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); ret } - #[cfg(web_sys_unstable_apis)] #[cfg(feature = "ResizeObserverBoxOptions")] #[doc = "Change the `box` field of this object."] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserverBoxOptions`, `ResizeObserverOptions`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn box_(&mut self, val: ResizeObserverBoxOptions) -> &mut Self { use wasm_bindgen::JsValue; let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("box"), &JsValue::from(val)); @@ -46,7 +35,6 @@ impl ResizeObserverOptions { self } } -#[cfg(web_sys_unstable_apis)] impl Default for ResizeObserverOptions { fn default() -> Self { Self::new() diff --git a/vendor/web-sys/src/features/gen_ResizeObserverSize.rs b/vendor/web-sys/src/features/gen_ResizeObserverSize.rs index fbe899f69..c7a52499f 100644 --- a/vendor/web-sys/src/features/gen_ResizeObserverSize.rs +++ b/vendor/web-sys/src/features/gen_ResizeObserverSize.rs @@ -1,7 +1,7 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; -#[cfg(web_sys_unstable_apis)] #[wasm_bindgen] extern "C" { # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ResizeObserverSize , typescript_type = "ResizeObserverSize")] @@ -11,30 +11,19 @@ extern "C" { #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverSize)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserverSize`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub type ResizeObserverSize; - #[cfg(web_sys_unstable_apis)] # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverSize" , js_name = inlineSize)] #[doc = "Getter for the `inlineSize` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverSize/inlineSize)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserverSize`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn inline_size(this: &ResizeObserverSize) -> f64; - #[cfg(web_sys_unstable_apis)] # [wasm_bindgen (structural , method , getter , js_class = "ResizeObserverSize" , js_name = blockSize)] #[doc = "Getter for the `blockSize` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverSize/blockSize)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `ResizeObserverSize`*"] - #[doc = ""] - #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] - #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub fn block_size(this: &ResizeObserverSize) -> f64; } diff --git a/vendor/web-sys/src/features/gen_ResizeQuality.rs b/vendor/web-sys/src/features/gen_ResizeQuality.rs index fbb1e1066..606867bad 100644 --- a/vendor/web-sys/src/features/gen_ResizeQuality.rs +++ b/vendor/web-sys/src/features/gen_ResizeQuality.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ResizeQuality` enum."] diff --git a/vendor/web-sys/src/features/gen_Response.rs b/vendor/web-sys/src/features/gen_Response.rs index 028c14206..682c2d3f1 100644 --- a/vendor/web-sys/src/features/gen_Response.rs +++ b/vendor/web-sys/src/features/gen_Response.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ResponseInit.rs b/vendor/web-sys/src/features/gen_ResponseInit.rs index 14b265350..d118a891d 100644 --- a/vendor/web-sys/src/features/gen_ResponseInit.rs +++ b/vendor/web-sys/src/features/gen_ResponseInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ResponseType.rs b/vendor/web-sys/src/features/gen_ResponseType.rs index 2ff543a75..7f123fb91 100644 --- a/vendor/web-sys/src/features/gen_ResponseType.rs +++ b/vendor/web-sys/src/features/gen_ResponseType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ResponseType` enum."] diff --git a/vendor/web-sys/src/features/gen_RsaHashedImportParams.rs b/vendor/web-sys/src/features/gen_RsaHashedImportParams.rs index d98141c45..bb49bad72 100644 --- a/vendor/web-sys/src/features/gen_RsaHashedImportParams.rs +++ b/vendor/web-sys/src/features/gen_RsaHashedImportParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RsaOaepParams.rs b/vendor/web-sys/src/features/gen_RsaOaepParams.rs index fd50a4737..fc02fee01 100644 --- a/vendor/web-sys/src/features/gen_RsaOaepParams.rs +++ b/vendor/web-sys/src/features/gen_RsaOaepParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RsaOtherPrimesInfo.rs b/vendor/web-sys/src/features/gen_RsaOtherPrimesInfo.rs index 7f9ceb816..2d8641896 100644 --- a/vendor/web-sys/src/features/gen_RsaOtherPrimesInfo.rs +++ b/vendor/web-sys/src/features/gen_RsaOtherPrimesInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RsaPssParams.rs b/vendor/web-sys/src/features/gen_RsaPssParams.rs index cddd994e4..676c927de 100644 --- a/vendor/web-sys/src/features/gen_RsaPssParams.rs +++ b/vendor/web-sys/src/features/gen_RsaPssParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcAnswerOptions.rs b/vendor/web-sys/src/features/gen_RtcAnswerOptions.rs index a3d7bcea5..de165d0a4 100644 --- a/vendor/web-sys/src/features/gen_RtcAnswerOptions.rs +++ b/vendor/web-sys/src/features/gen_RtcAnswerOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcBundlePolicy.rs b/vendor/web-sys/src/features/gen_RtcBundlePolicy.rs index 261c153e1..e4a5a7a33 100644 --- a/vendor/web-sys/src/features/gen_RtcBundlePolicy.rs +++ b/vendor/web-sys/src/features/gen_RtcBundlePolicy.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcBundlePolicy` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcCertificate.rs b/vendor/web-sys/src/features/gen_RtcCertificate.rs index fe4bffb42..9e0cd8864 100644 --- a/vendor/web-sys/src/features/gen_RtcCertificate.rs +++ b/vendor/web-sys/src/features/gen_RtcCertificate.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcCertificateExpiration.rs b/vendor/web-sys/src/features/gen_RtcCertificateExpiration.rs index 141c99548..c686a42b1 100644 --- a/vendor/web-sys/src/features/gen_RtcCertificateExpiration.rs +++ b/vendor/web-sys/src/features/gen_RtcCertificateExpiration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcCodecStats.rs b/vendor/web-sys/src/features/gen_RtcCodecStats.rs index 3ffe6ae5f..da150394d 100644 --- a/vendor/web-sys/src/features/gen_RtcCodecStats.rs +++ b/vendor/web-sys/src/features/gen_RtcCodecStats.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcConfiguration.rs b/vendor/web-sys/src/features/gen_RtcConfiguration.rs index 284b6e295..ab8a1ff73 100644 --- a/vendor/web-sys/src/features/gen_RtcConfiguration.rs +++ b/vendor/web-sys/src/features/gen_RtcConfiguration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcDataChannel.rs b/vendor/web-sys/src/features/gen_RtcDataChannel.rs index 8f991858c..59b3aad43 100644 --- a/vendor/web-sys/src/features/gen_RtcDataChannel.rs +++ b/vendor/web-sys/src/features/gen_RtcDataChannel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcDataChannelEvent.rs b/vendor/web-sys/src/features/gen_RtcDataChannelEvent.rs index 7782c81b5..d250f4d2b 100644 --- a/vendor/web-sys/src/features/gen_RtcDataChannelEvent.rs +++ b/vendor/web-sys/src/features/gen_RtcDataChannelEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcDataChannelEventInit.rs b/vendor/web-sys/src/features/gen_RtcDataChannelEventInit.rs index 16f0bb782..ca400a80a 100644 --- a/vendor/web-sys/src/features/gen_RtcDataChannelEventInit.rs +++ b/vendor/web-sys/src/features/gen_RtcDataChannelEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcDataChannelInit.rs b/vendor/web-sys/src/features/gen_RtcDataChannelInit.rs index b8e2751e5..6e224f76f 100644 --- a/vendor/web-sys/src/features/gen_RtcDataChannelInit.rs +++ b/vendor/web-sys/src/features/gen_RtcDataChannelInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcDataChannelState.rs b/vendor/web-sys/src/features/gen_RtcDataChannelState.rs index 4c999cad0..3acc26cfa 100644 --- a/vendor/web-sys/src/features/gen_RtcDataChannelState.rs +++ b/vendor/web-sys/src/features/gen_RtcDataChannelState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcDataChannelState` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcDataChannelType.rs b/vendor/web-sys/src/features/gen_RtcDataChannelType.rs index e2089d4e2..018743abb 100644 --- a/vendor/web-sys/src/features/gen_RtcDataChannelType.rs +++ b/vendor/web-sys/src/features/gen_RtcDataChannelType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcDataChannelType` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcDegradationPreference.rs b/vendor/web-sys/src/features/gen_RtcDegradationPreference.rs index 118c3ed7a..5886bb9ff 100644 --- a/vendor/web-sys/src/features/gen_RtcDegradationPreference.rs +++ b/vendor/web-sys/src/features/gen_RtcDegradationPreference.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcDegradationPreference` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcFecParameters.rs b/vendor/web-sys/src/features/gen_RtcFecParameters.rs index d5b1a5487..6fe23c19c 100644 --- a/vendor/web-sys/src/features/gen_RtcFecParameters.rs +++ b/vendor/web-sys/src/features/gen_RtcFecParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcIceCandidate.rs b/vendor/web-sys/src/features/gen_RtcIceCandidate.rs index ca7424e99..35b21b74b 100644 --- a/vendor/web-sys/src/features/gen_RtcIceCandidate.rs +++ b/vendor/web-sys/src/features/gen_RtcIceCandidate.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcIceCandidateInit.rs b/vendor/web-sys/src/features/gen_RtcIceCandidateInit.rs index a23091f6b..70e3db9d9 100644 --- a/vendor/web-sys/src/features/gen_RtcIceCandidateInit.rs +++ b/vendor/web-sys/src/features/gen_RtcIceCandidateInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcIceCandidatePairStats.rs b/vendor/web-sys/src/features/gen_RtcIceCandidatePairStats.rs index 8fa447ae8..19932febf 100644 --- a/vendor/web-sys/src/features/gen_RtcIceCandidatePairStats.rs +++ b/vendor/web-sys/src/features/gen_RtcIceCandidatePairStats.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcIceCandidateStats.rs b/vendor/web-sys/src/features/gen_RtcIceCandidateStats.rs index 8d9c3a950..fb9c65d44 100644 --- a/vendor/web-sys/src/features/gen_RtcIceCandidateStats.rs +++ b/vendor/web-sys/src/features/gen_RtcIceCandidateStats.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcIceComponentStats.rs b/vendor/web-sys/src/features/gen_RtcIceComponentStats.rs index ec7d27bda..a4154fd63 100644 --- a/vendor/web-sys/src/features/gen_RtcIceComponentStats.rs +++ b/vendor/web-sys/src/features/gen_RtcIceComponentStats.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcIceConnectionState.rs b/vendor/web-sys/src/features/gen_RtcIceConnectionState.rs index fae44d722..d7d9004b7 100644 --- a/vendor/web-sys/src/features/gen_RtcIceConnectionState.rs +++ b/vendor/web-sys/src/features/gen_RtcIceConnectionState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcIceConnectionState` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcIceCredentialType.rs b/vendor/web-sys/src/features/gen_RtcIceCredentialType.rs index a04b720a7..1b51f1c5c 100644 --- a/vendor/web-sys/src/features/gen_RtcIceCredentialType.rs +++ b/vendor/web-sys/src/features/gen_RtcIceCredentialType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcIceCredentialType` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcIceGatheringState.rs b/vendor/web-sys/src/features/gen_RtcIceGatheringState.rs index ce6db0abe..d3f83bfc5 100644 --- a/vendor/web-sys/src/features/gen_RtcIceGatheringState.rs +++ b/vendor/web-sys/src/features/gen_RtcIceGatheringState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcIceGatheringState` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcIceServer.rs b/vendor/web-sys/src/features/gen_RtcIceServer.rs index ebdd79d8a..cde270565 100644 --- a/vendor/web-sys/src/features/gen_RtcIceServer.rs +++ b/vendor/web-sys/src/features/gen_RtcIceServer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcIceTransportPolicy.rs b/vendor/web-sys/src/features/gen_RtcIceTransportPolicy.rs index c3f2124cf..350c510aa 100644 --- a/vendor/web-sys/src/features/gen_RtcIceTransportPolicy.rs +++ b/vendor/web-sys/src/features/gen_RtcIceTransportPolicy.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcIceTransportPolicy` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcIdentityAssertion.rs b/vendor/web-sys/src/features/gen_RtcIdentityAssertion.rs index aa1fc60f1..06a919174 100644 --- a/vendor/web-sys/src/features/gen_RtcIdentityAssertion.rs +++ b/vendor/web-sys/src/features/gen_RtcIdentityAssertion.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcIdentityAssertionResult.rs b/vendor/web-sys/src/features/gen_RtcIdentityAssertionResult.rs index 98d9af7c8..326412d98 100644 --- a/vendor/web-sys/src/features/gen_RtcIdentityAssertionResult.rs +++ b/vendor/web-sys/src/features/gen_RtcIdentityAssertionResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcIdentityProvider.rs b/vendor/web-sys/src/features/gen_RtcIdentityProvider.rs index bf64f976b..949a34727 100644 --- a/vendor/web-sys/src/features/gen_RtcIdentityProvider.rs +++ b/vendor/web-sys/src/features/gen_RtcIdentityProvider.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcIdentityProviderDetails.rs b/vendor/web-sys/src/features/gen_RtcIdentityProviderDetails.rs index dda6cbc9b..d3abd14f1 100644 --- a/vendor/web-sys/src/features/gen_RtcIdentityProviderDetails.rs +++ b/vendor/web-sys/src/features/gen_RtcIdentityProviderDetails.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcIdentityProviderOptions.rs b/vendor/web-sys/src/features/gen_RtcIdentityProviderOptions.rs index cdb594b4e..c73d05c27 100644 --- a/vendor/web-sys/src/features/gen_RtcIdentityProviderOptions.rs +++ b/vendor/web-sys/src/features/gen_RtcIdentityProviderOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcIdentityProviderRegistrar.rs b/vendor/web-sys/src/features/gen_RtcIdentityProviderRegistrar.rs index 86a4f2be0..a876fca77 100644 --- a/vendor/web-sys/src/features/gen_RtcIdentityProviderRegistrar.rs +++ b/vendor/web-sys/src/features/gen_RtcIdentityProviderRegistrar.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcIdentityValidationResult.rs b/vendor/web-sys/src/features/gen_RtcIdentityValidationResult.rs index cd5ba8e16..f383349d7 100644 --- a/vendor/web-sys/src/features/gen_RtcIdentityValidationResult.rs +++ b/vendor/web-sys/src/features/gen_RtcIdentityValidationResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcInboundRtpStreamStats.rs b/vendor/web-sys/src/features/gen_RtcInboundRtpStreamStats.rs index 41091b2b2..c0d440f24 100644 --- a/vendor/web-sys/src/features/gen_RtcInboundRtpStreamStats.rs +++ b/vendor/web-sys/src/features/gen_RtcInboundRtpStreamStats.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcLifecycleEvent.rs b/vendor/web-sys/src/features/gen_RtcLifecycleEvent.rs index c8094e514..98fd2a54e 100644 --- a/vendor/web-sys/src/features/gen_RtcLifecycleEvent.rs +++ b/vendor/web-sys/src/features/gen_RtcLifecycleEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcLifecycleEvent` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcMediaStreamStats.rs b/vendor/web-sys/src/features/gen_RtcMediaStreamStats.rs index a22611319..2698c8a72 100644 --- a/vendor/web-sys/src/features/gen_RtcMediaStreamStats.rs +++ b/vendor/web-sys/src/features/gen_RtcMediaStreamStats.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcMediaStreamTrackStats.rs b/vendor/web-sys/src/features/gen_RtcMediaStreamTrackStats.rs index 8caa05807..270dacf30 100644 --- a/vendor/web-sys/src/features/gen_RtcMediaStreamTrackStats.rs +++ b/vendor/web-sys/src/features/gen_RtcMediaStreamTrackStats.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcOfferAnswerOptions.rs b/vendor/web-sys/src/features/gen_RtcOfferAnswerOptions.rs index 9c84bcf92..dc4330d9c 100644 --- a/vendor/web-sys/src/features/gen_RtcOfferAnswerOptions.rs +++ b/vendor/web-sys/src/features/gen_RtcOfferAnswerOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcOfferOptions.rs b/vendor/web-sys/src/features/gen_RtcOfferOptions.rs index 4130baa25..353f36985 100644 --- a/vendor/web-sys/src/features/gen_RtcOfferOptions.rs +++ b/vendor/web-sys/src/features/gen_RtcOfferOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcOutboundRtpStreamStats.rs b/vendor/web-sys/src/features/gen_RtcOutboundRtpStreamStats.rs index 7630d96ca..8e705281e 100644 --- a/vendor/web-sys/src/features/gen_RtcOutboundRtpStreamStats.rs +++ b/vendor/web-sys/src/features/gen_RtcOutboundRtpStreamStats.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcPeerConnection.rs b/vendor/web-sys/src/features/gen_RtcPeerConnection.rs index 455a8820b..93412c63d 100644 --- a/vendor/web-sys/src/features/gen_RtcPeerConnection.rs +++ b/vendor/web-sys/src/features/gen_RtcPeerConnection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -90,6 +91,14 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `RtcIceConnectionState`, `RtcPeerConnection`*"] pub fn ice_connection_state(this: &RtcPeerConnection) -> RtcIceConnectionState; + #[cfg(feature = "RtcPeerConnectionState")] + # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = connectionState)] + #[doc = "Getter for the `connectionState` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/connectionState)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcPeerConnectionState`*"] + pub fn connection_state(this: &RtcPeerConnection) -> RtcPeerConnectionState; # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = peerIdentity)] #[doc = "Getter for the `peerIdentity` field of this object."] #[doc = ""] @@ -236,6 +245,23 @@ extern "C" { this: &RtcPeerConnection, value: Option<&::js_sys::Function>, ); + # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = onconnectionstatechange)] + #[doc = "Getter for the `onconnectionstatechange` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onconnectionstatechange)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"] + pub fn onconnectionstatechange(this: &RtcPeerConnection) -> Option<::js_sys::Function>; + # [wasm_bindgen (structural , method , setter , js_class = "RTCPeerConnection" , js_name = onconnectionstatechange)] + #[doc = "Setter for the `onconnectionstatechange` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onconnectionstatechange)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnection`*"] + pub fn set_onconnectionstatechange( + this: &RtcPeerConnection, + value: Option<&::js_sys::Function>, + ); # [wasm_bindgen (structural , method , getter , js_class = "RTCPeerConnection" , js_name = ondatachannel)] #[doc = "Getter for the `ondatachannel` field of this object."] #[doc = ""] diff --git a/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEvent.rs b/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEvent.rs index 3a59c593b..d98c253f9 100644 --- a/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEvent.rs +++ b/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEventInit.rs b/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEventInit.rs index 2847f6ed7..26d98c996 100644 --- a/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEventInit.rs +++ b/vendor/web-sys/src/features/gen_RtcPeerConnectionIceEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcPeerConnectionState.rs b/vendor/web-sys/src/features/gen_RtcPeerConnectionState.rs new file mode 100644 index 000000000..5647845cb --- /dev/null +++ b/vendor/web-sys/src/features/gen_RtcPeerConnectionState.rs @@ -0,0 +1,16 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +#[doc = "The `RtcPeerConnectionState` enum."] +#[doc = ""] +#[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionState`*"] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum RtcPeerConnectionState { + Closed = "closed", + Failed = "failed", + Disconnected = "disconnected", + New = "new", + Connecting = "connecting", + Connected = "connected", +} diff --git a/vendor/web-sys/src/features/gen_RtcPriorityType.rs b/vendor/web-sys/src/features/gen_RtcPriorityType.rs index ddd712e4c..325b66c97 100644 --- a/vendor/web-sys/src/features/gen_RtcPriorityType.rs +++ b/vendor/web-sys/src/features/gen_RtcPriorityType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcPriorityType` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcRtcpParameters.rs b/vendor/web-sys/src/features/gen_RtcRtcpParameters.rs index 85df471a0..8a84dff04 100644 --- a/vendor/web-sys/src/features/gen_RtcRtcpParameters.rs +++ b/vendor/web-sys/src/features/gen_RtcRtcpParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcRtpCodecParameters.rs b/vendor/web-sys/src/features/gen_RtcRtpCodecParameters.rs index 1292d7cac..35d31c23d 100644 --- a/vendor/web-sys/src/features/gen_RtcRtpCodecParameters.rs +++ b/vendor/web-sys/src/features/gen_RtcRtpCodecParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcRtpContributingSource.rs b/vendor/web-sys/src/features/gen_RtcRtpContributingSource.rs index 6f32c2053..77ee8c570 100644 --- a/vendor/web-sys/src/features/gen_RtcRtpContributingSource.rs +++ b/vendor/web-sys/src/features/gen_RtcRtpContributingSource.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcRtpEncodingParameters.rs b/vendor/web-sys/src/features/gen_RtcRtpEncodingParameters.rs index 339ec385a..a872f8a33 100644 --- a/vendor/web-sys/src/features/gen_RtcRtpEncodingParameters.rs +++ b/vendor/web-sys/src/features/gen_RtcRtpEncodingParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcRtpHeaderExtensionParameters.rs b/vendor/web-sys/src/features/gen_RtcRtpHeaderExtensionParameters.rs index 5523869a3..bd1a3634e 100644 --- a/vendor/web-sys/src/features/gen_RtcRtpHeaderExtensionParameters.rs +++ b/vendor/web-sys/src/features/gen_RtcRtpHeaderExtensionParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcRtpParameters.rs b/vendor/web-sys/src/features/gen_RtcRtpParameters.rs index 7b413d275..65d7e3104 100644 --- a/vendor/web-sys/src/features/gen_RtcRtpParameters.rs +++ b/vendor/web-sys/src/features/gen_RtcRtpParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcRtpReceiver.rs b/vendor/web-sys/src/features/gen_RtcRtpReceiver.rs index ee09e0805..7c50486cd 100644 --- a/vendor/web-sys/src/features/gen_RtcRtpReceiver.rs +++ b/vendor/web-sys/src/features/gen_RtcRtpReceiver.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcRtpSender.rs b/vendor/web-sys/src/features/gen_RtcRtpSender.rs index 8de87c61b..714521c0d 100644 --- a/vendor/web-sys/src/features/gen_RtcRtpSender.rs +++ b/vendor/web-sys/src/features/gen_RtcRtpSender.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcRtpSourceEntry.rs b/vendor/web-sys/src/features/gen_RtcRtpSourceEntry.rs index a4673ba52..6c4082958 100644 --- a/vendor/web-sys/src/features/gen_RtcRtpSourceEntry.rs +++ b/vendor/web-sys/src/features/gen_RtcRtpSourceEntry.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcRtpSourceEntryType.rs b/vendor/web-sys/src/features/gen_RtcRtpSourceEntryType.rs index e9c709edb..e1e26ef67 100644 --- a/vendor/web-sys/src/features/gen_RtcRtpSourceEntryType.rs +++ b/vendor/web-sys/src/features/gen_RtcRtpSourceEntryType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcRtpSourceEntryType` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcRtpSynchronizationSource.rs b/vendor/web-sys/src/features/gen_RtcRtpSynchronizationSource.rs index dcab44083..caf4d6e34 100644 --- a/vendor/web-sys/src/features/gen_RtcRtpSynchronizationSource.rs +++ b/vendor/web-sys/src/features/gen_RtcRtpSynchronizationSource.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcRtpTransceiver.rs b/vendor/web-sys/src/features/gen_RtcRtpTransceiver.rs index 6d6eaf251..98be39537 100644 --- a/vendor/web-sys/src/features/gen_RtcRtpTransceiver.rs +++ b/vendor/web-sys/src/features/gen_RtcRtpTransceiver.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcRtpTransceiverDirection.rs b/vendor/web-sys/src/features/gen_RtcRtpTransceiverDirection.rs index 60a8f98f9..ed0635675 100644 --- a/vendor/web-sys/src/features/gen_RtcRtpTransceiverDirection.rs +++ b/vendor/web-sys/src/features/gen_RtcRtpTransceiverDirection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcRtpTransceiverDirection` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcRtpTransceiverInit.rs b/vendor/web-sys/src/features/gen_RtcRtpTransceiverInit.rs index 3f6836a6b..ecf868878 100644 --- a/vendor/web-sys/src/features/gen_RtcRtpTransceiverInit.rs +++ b/vendor/web-sys/src/features/gen_RtcRtpTransceiverInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcRtxParameters.rs b/vendor/web-sys/src/features/gen_RtcRtxParameters.rs index 7540a9813..fd184ac82 100644 --- a/vendor/web-sys/src/features/gen_RtcRtxParameters.rs +++ b/vendor/web-sys/src/features/gen_RtcRtxParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcSdpType.rs b/vendor/web-sys/src/features/gen_RtcSdpType.rs index deaa34309..4babb126b 100644 --- a/vendor/web-sys/src/features/gen_RtcSdpType.rs +++ b/vendor/web-sys/src/features/gen_RtcSdpType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcSdpType` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcSessionDescription.rs b/vendor/web-sys/src/features/gen_RtcSessionDescription.rs index 975d098e5..d61eb1f2e 100644 --- a/vendor/web-sys/src/features/gen_RtcSessionDescription.rs +++ b/vendor/web-sys/src/features/gen_RtcSessionDescription.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcSessionDescriptionInit.rs b/vendor/web-sys/src/features/gen_RtcSessionDescriptionInit.rs index 72ed9cc34..5b2af2027 100644 --- a/vendor/web-sys/src/features/gen_RtcSessionDescriptionInit.rs +++ b/vendor/web-sys/src/features/gen_RtcSessionDescriptionInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcSignalingState.rs b/vendor/web-sys/src/features/gen_RtcSignalingState.rs index 9fa4c48e6..a735f3670 100644 --- a/vendor/web-sys/src/features/gen_RtcSignalingState.rs +++ b/vendor/web-sys/src/features/gen_RtcSignalingState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcSignalingState` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcStats.rs b/vendor/web-sys/src/features/gen_RtcStats.rs index fc54145da..2a3435a2e 100644 --- a/vendor/web-sys/src/features/gen_RtcStats.rs +++ b/vendor/web-sys/src/features/gen_RtcStats.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcStatsIceCandidatePairState.rs b/vendor/web-sys/src/features/gen_RtcStatsIceCandidatePairState.rs index 0cad390dc..fe5b41e58 100644 --- a/vendor/web-sys/src/features/gen_RtcStatsIceCandidatePairState.rs +++ b/vendor/web-sys/src/features/gen_RtcStatsIceCandidatePairState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcStatsIceCandidatePairState` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcStatsIceCandidateType.rs b/vendor/web-sys/src/features/gen_RtcStatsIceCandidateType.rs index 0756f85e3..3d6084246 100644 --- a/vendor/web-sys/src/features/gen_RtcStatsIceCandidateType.rs +++ b/vendor/web-sys/src/features/gen_RtcStatsIceCandidateType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcStatsIceCandidateType` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcStatsReport.rs b/vendor/web-sys/src/features/gen_RtcStatsReport.rs index a72b561ba..ae199acb5 100644 --- a/vendor/web-sys/src/features/gen_RtcStatsReport.rs +++ b/vendor/web-sys/src/features/gen_RtcStatsReport.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcStatsReportInternal.rs b/vendor/web-sys/src/features/gen_RtcStatsReportInternal.rs index 5b285c2b5..8bdb3b8e9 100644 --- a/vendor/web-sys/src/features/gen_RtcStatsReportInternal.rs +++ b/vendor/web-sys/src/features/gen_RtcStatsReportInternal.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcStatsType.rs b/vendor/web-sys/src/features/gen_RtcStatsType.rs index 777c8d178..2670a3a87 100644 --- a/vendor/web-sys/src/features/gen_RtcStatsType.rs +++ b/vendor/web-sys/src/features/gen_RtcStatsType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `RtcStatsType` enum."] diff --git a/vendor/web-sys/src/features/gen_RtcTrackEvent.rs b/vendor/web-sys/src/features/gen_RtcTrackEvent.rs index 69870c1a3..ef00b497f 100644 --- a/vendor/web-sys/src/features/gen_RtcTrackEvent.rs +++ b/vendor/web-sys/src/features/gen_RtcTrackEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcTrackEventInit.rs b/vendor/web-sys/src/features/gen_RtcTrackEventInit.rs index a8c8031da..7bc6ce67d 100644 --- a/vendor/web-sys/src/features/gen_RtcTrackEventInit.rs +++ b/vendor/web-sys/src/features/gen_RtcTrackEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcTransportStats.rs b/vendor/web-sys/src/features/gen_RtcTransportStats.rs index bfe856e27..93f9a818c 100644 --- a/vendor/web-sys/src/features/gen_RtcTransportStats.rs +++ b/vendor/web-sys/src/features/gen_RtcTransportStats.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcdtmfSender.rs b/vendor/web-sys/src/features/gen_RtcdtmfSender.rs index 8feda592e..3d66c3f5f 100644 --- a/vendor/web-sys/src/features/gen_RtcdtmfSender.rs +++ b/vendor/web-sys/src/features/gen_RtcdtmfSender.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEvent.rs b/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEvent.rs index 3d513d294..55772916c 100644 --- a/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEvent.rs +++ b/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEventInit.rs b/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEventInit.rs index eb6479aa4..cd7ee9277 100644 --- a/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEventInit.rs +++ b/vendor/web-sys/src/features/gen_RtcdtmfToneChangeEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcrtpContributingSourceStats.rs b/vendor/web-sys/src/features/gen_RtcrtpContributingSourceStats.rs index 46b293ae0..637fcd06f 100644 --- a/vendor/web-sys/src/features/gen_RtcrtpContributingSourceStats.rs +++ b/vendor/web-sys/src/features/gen_RtcrtpContributingSourceStats.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_RtcrtpStreamStats.rs b/vendor/web-sys/src/features/gen_RtcrtpStreamStats.rs index 8982a8eae..5d7650e03 100644 --- a/vendor/web-sys/src/features/gen_RtcrtpStreamStats.rs +++ b/vendor/web-sys/src/features/gen_RtcrtpStreamStats.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Screen.rs b/vendor/web-sys/src/features/gen_Screen.rs index fc2b7a54e..ba311afba 100644 --- a/vendor/web-sys/src/features/gen_Screen.rs +++ b/vendor/web-sys/src/features/gen_Screen.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ScreenColorGamut.rs b/vendor/web-sys/src/features/gen_ScreenColorGamut.rs index 354af5c6e..d6e752fe5 100644 --- a/vendor/web-sys/src/features/gen_ScreenColorGamut.rs +++ b/vendor/web-sys/src/features/gen_ScreenColorGamut.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ScreenColorGamut` enum."] diff --git a/vendor/web-sys/src/features/gen_ScreenLuminance.rs b/vendor/web-sys/src/features/gen_ScreenLuminance.rs index 8bdb1ba16..beb8dbf8f 100644 --- a/vendor/web-sys/src/features/gen_ScreenLuminance.rs +++ b/vendor/web-sys/src/features/gen_ScreenLuminance.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ScreenOrientation.rs b/vendor/web-sys/src/features/gen_ScreenOrientation.rs index 1e26c3b90..2770eb432 100644 --- a/vendor/web-sys/src/features/gen_ScreenOrientation.rs +++ b/vendor/web-sys/src/features/gen_ScreenOrientation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ScriptProcessorNode.rs b/vendor/web-sys/src/features/gen_ScriptProcessorNode.rs index c21322740..f89fc872d 100644 --- a/vendor/web-sys/src/features/gen_ScriptProcessorNode.rs +++ b/vendor/web-sys/src/features/gen_ScriptProcessorNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ScrollAreaEvent.rs b/vendor/web-sys/src/features/gen_ScrollAreaEvent.rs index c4c5103e4..1ddb9eb4c 100644 --- a/vendor/web-sys/src/features/gen_ScrollAreaEvent.rs +++ b/vendor/web-sys/src/features/gen_ScrollAreaEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ScrollBehavior.rs b/vendor/web-sys/src/features/gen_ScrollBehavior.rs index 9df43cc73..9170db49c 100644 --- a/vendor/web-sys/src/features/gen_ScrollBehavior.rs +++ b/vendor/web-sys/src/features/gen_ScrollBehavior.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ScrollBehavior` enum."] diff --git a/vendor/web-sys/src/features/gen_ScrollBoxObject.rs b/vendor/web-sys/src/features/gen_ScrollBoxObject.rs index 36749f197..83b52feea 100644 --- a/vendor/web-sys/src/features/gen_ScrollBoxObject.rs +++ b/vendor/web-sys/src/features/gen_ScrollBoxObject.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ScrollIntoViewOptions.rs b/vendor/web-sys/src/features/gen_ScrollIntoViewOptions.rs index 41bbe8794..c5a65fa67 100644 --- a/vendor/web-sys/src/features/gen_ScrollIntoViewOptions.rs +++ b/vendor/web-sys/src/features/gen_ScrollIntoViewOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ScrollLogicalPosition.rs b/vendor/web-sys/src/features/gen_ScrollLogicalPosition.rs index a3643a4fa..5a3d08868 100644 --- a/vendor/web-sys/src/features/gen_ScrollLogicalPosition.rs +++ b/vendor/web-sys/src/features/gen_ScrollLogicalPosition.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ScrollLogicalPosition` enum."] diff --git a/vendor/web-sys/src/features/gen_ScrollOptions.rs b/vendor/web-sys/src/features/gen_ScrollOptions.rs index 8248151ed..3f7a74431 100644 --- a/vendor/web-sys/src/features/gen_ScrollOptions.rs +++ b/vendor/web-sys/src/features/gen_ScrollOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ScrollRestoration.rs b/vendor/web-sys/src/features/gen_ScrollRestoration.rs index 615878089..62d6d116d 100644 --- a/vendor/web-sys/src/features/gen_ScrollRestoration.rs +++ b/vendor/web-sys/src/features/gen_ScrollRestoration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ScrollRestoration` enum."] diff --git a/vendor/web-sys/src/features/gen_ScrollSetting.rs b/vendor/web-sys/src/features/gen_ScrollSetting.rs index d4ba6cbf7..7f30f8a85 100644 --- a/vendor/web-sys/src/features/gen_ScrollSetting.rs +++ b/vendor/web-sys/src/features/gen_ScrollSetting.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ScrollSetting` enum."] diff --git a/vendor/web-sys/src/features/gen_ScrollState.rs b/vendor/web-sys/src/features/gen_ScrollState.rs index 2af8c7aa4..c06431714 100644 --- a/vendor/web-sys/src/features/gen_ScrollState.rs +++ b/vendor/web-sys/src/features/gen_ScrollState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ScrollState` enum."] diff --git a/vendor/web-sys/src/features/gen_ScrollToOptions.rs b/vendor/web-sys/src/features/gen_ScrollToOptions.rs index 3458f6d5c..b42cac636 100644 --- a/vendor/web-sys/src/features/gen_ScrollToOptions.rs +++ b/vendor/web-sys/src/features/gen_ScrollToOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ScrollViewChangeEventInit.rs b/vendor/web-sys/src/features/gen_ScrollViewChangeEventInit.rs index 8ea656b57..26b1f09c2 100644 --- a/vendor/web-sys/src/features/gen_ScrollViewChangeEventInit.rs +++ b/vendor/web-sys/src/features/gen_ScrollViewChangeEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SecurityPolicyViolationEvent.rs b/vendor/web-sys/src/features/gen_SecurityPolicyViolationEvent.rs index 65b354d56..f8c29a911 100644 --- a/vendor/web-sys/src/features/gen_SecurityPolicyViolationEvent.rs +++ b/vendor/web-sys/src/features/gen_SecurityPolicyViolationEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventDisposition.rs b/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventDisposition.rs index 749e43da5..38f01f8c4 100644 --- a/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventDisposition.rs +++ b/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventDisposition.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `SecurityPolicyViolationEventDisposition` enum."] diff --git a/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventInit.rs b/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventInit.rs index 8170d05ed..a51d4da0d 100644 --- a/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventInit.rs +++ b/vendor/web-sys/src/features/gen_SecurityPolicyViolationEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Selection.rs b/vendor/web-sys/src/features/gen_Selection.rs index d4636464b..ae14db541 100644 --- a/vendor/web-sys/src/features/gen_Selection.rs +++ b/vendor/web-sys/src/features/gen_Selection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SelectionMode.rs b/vendor/web-sys/src/features/gen_SelectionMode.rs new file mode 100644 index 000000000..5d32722ab --- /dev/null +++ b/vendor/web-sys/src/features/gen_SelectionMode.rs @@ -0,0 +1,14 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +#[doc = "The `SelectionMode` enum."] +#[doc = ""] +#[doc = "*This API requires the following crate features to be activated: `SelectionMode`*"] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum SelectionMode { + Select = "select", + Start = "start", + End = "end", + Preserve = "preserve", +} diff --git a/vendor/web-sys/src/features/gen_Serial.rs b/vendor/web-sys/src/features/gen_Serial.rs index f6a0bf895..1cda2aa4a 100644 --- a/vendor/web-sys/src/features/gen_Serial.rs +++ b/vendor/web-sys/src/features/gen_Serial.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_SerialInputSignals.rs b/vendor/web-sys/src/features/gen_SerialInputSignals.rs index 59b453b2a..dce79b531 100644 --- a/vendor/web-sys/src/features/gen_SerialInputSignals.rs +++ b/vendor/web-sys/src/features/gen_SerialInputSignals.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_SerialOptions.rs b/vendor/web-sys/src/features/gen_SerialOptions.rs index a432f9728..4f9f2b8e7 100644 --- a/vendor/web-sys/src/features/gen_SerialOptions.rs +++ b/vendor/web-sys/src/features/gen_SerialOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_SerialOutputSignals.rs b/vendor/web-sys/src/features/gen_SerialOutputSignals.rs index 7b0d98dc4..367e446dd 100644 --- a/vendor/web-sys/src/features/gen_SerialOutputSignals.rs +++ b/vendor/web-sys/src/features/gen_SerialOutputSignals.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_SerialPort.rs b/vendor/web-sys/src/features/gen_SerialPort.rs index c80abca9e..7df4fe5fb 100644 --- a/vendor/web-sys/src/features/gen_SerialPort.rs +++ b/vendor/web-sys/src/features/gen_SerialPort.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_SerialPortFilter.rs b/vendor/web-sys/src/features/gen_SerialPortFilter.rs index aea94bb29..c323a3518 100644 --- a/vendor/web-sys/src/features/gen_SerialPortFilter.rs +++ b/vendor/web-sys/src/features/gen_SerialPortFilter.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_SerialPortInfo.rs b/vendor/web-sys/src/features/gen_SerialPortInfo.rs index fda2717fb..0ddd9ac77 100644 --- a/vendor/web-sys/src/features/gen_SerialPortInfo.rs +++ b/vendor/web-sys/src/features/gen_SerialPortInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_SerialPortRequestOptions.rs b/vendor/web-sys/src/features/gen_SerialPortRequestOptions.rs index fa992828c..f87307fa5 100644 --- a/vendor/web-sys/src/features/gen_SerialPortRequestOptions.rs +++ b/vendor/web-sys/src/features/gen_SerialPortRequestOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_ServerSocketOptions.rs b/vendor/web-sys/src/features/gen_ServerSocketOptions.rs index c347b90a0..3db678f2e 100644 --- a/vendor/web-sys/src/features/gen_ServerSocketOptions.rs +++ b/vendor/web-sys/src/features/gen_ServerSocketOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ServiceWorker.rs b/vendor/web-sys/src/features/gen_ServiceWorker.rs index 7e006d764..3cd41e6c8 100644 --- a/vendor/web-sys/src/features/gen_ServiceWorker.rs +++ b/vendor/web-sys/src/features/gen_ServiceWorker.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ServiceWorkerContainer.rs b/vendor/web-sys/src/features/gen_ServiceWorkerContainer.rs index d2be819c5..de92b4cf2 100644 --- a/vendor/web-sys/src/features/gen_ServiceWorkerContainer.rs +++ b/vendor/web-sys/src/features/gen_ServiceWorkerContainer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ServiceWorkerGlobalScope.rs b/vendor/web-sys/src/features/gen_ServiceWorkerGlobalScope.rs index e25ebbc44..51c901430 100644 --- a/vendor/web-sys/src/features/gen_ServiceWorkerGlobalScope.rs +++ b/vendor/web-sys/src/features/gen_ServiceWorkerGlobalScope.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ServiceWorkerRegistration.rs b/vendor/web-sys/src/features/gen_ServiceWorkerRegistration.rs index 06155365c..1923ab849 100644 --- a/vendor/web-sys/src/features/gen_ServiceWorkerRegistration.rs +++ b/vendor/web-sys/src/features/gen_ServiceWorkerRegistration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ServiceWorkerState.rs b/vendor/web-sys/src/features/gen_ServiceWorkerState.rs index 4dfcc6156..cf37c476f 100644 --- a/vendor/web-sys/src/features/gen_ServiceWorkerState.rs +++ b/vendor/web-sys/src/features/gen_ServiceWorkerState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ServiceWorkerState` enum."] diff --git a/vendor/web-sys/src/features/gen_ServiceWorkerUpdateViaCache.rs b/vendor/web-sys/src/features/gen_ServiceWorkerUpdateViaCache.rs index 72de930ae..d667ab4ea 100644 --- a/vendor/web-sys/src/features/gen_ServiceWorkerUpdateViaCache.rs +++ b/vendor/web-sys/src/features/gen_ServiceWorkerUpdateViaCache.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ServiceWorkerUpdateViaCache` enum."] diff --git a/vendor/web-sys/src/features/gen_ShadowRoot.rs b/vendor/web-sys/src/features/gen_ShadowRoot.rs index a0186ea2e..529ee182e 100644 --- a/vendor/web-sys/src/features/gen_ShadowRoot.rs +++ b/vendor/web-sys/src/features/gen_ShadowRoot.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ShadowRootInit.rs b/vendor/web-sys/src/features/gen_ShadowRootInit.rs index 762fc9e81..50a711106 100644 --- a/vendor/web-sys/src/features/gen_ShadowRootInit.rs +++ b/vendor/web-sys/src/features/gen_ShadowRootInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ShadowRootMode.rs b/vendor/web-sys/src/features/gen_ShadowRootMode.rs index baddd9fe9..c6cfca62a 100644 --- a/vendor/web-sys/src/features/gen_ShadowRootMode.rs +++ b/vendor/web-sys/src/features/gen_ShadowRootMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `ShadowRootMode` enum."] diff --git a/vendor/web-sys/src/features/gen_ShareData.rs b/vendor/web-sys/src/features/gen_ShareData.rs index 982cbd480..cc44f17d9 100644 --- a/vendor/web-sys/src/features/gen_ShareData.rs +++ b/vendor/web-sys/src/features/gen_ShareData.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_SharedWorker.rs b/vendor/web-sys/src/features/gen_SharedWorker.rs index 28c93e770..3ced2d829 100644 --- a/vendor/web-sys/src/features/gen_SharedWorker.rs +++ b/vendor/web-sys/src/features/gen_SharedWorker.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SharedWorkerGlobalScope.rs b/vendor/web-sys/src/features/gen_SharedWorkerGlobalScope.rs index b77b9f892..9c680418c 100644 --- a/vendor/web-sys/src/features/gen_SharedWorkerGlobalScope.rs +++ b/vendor/web-sys/src/features/gen_SharedWorkerGlobalScope.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SignResponse.rs b/vendor/web-sys/src/features/gen_SignResponse.rs index 5b0680e1d..9d066b742 100644 --- a/vendor/web-sys/src/features/gen_SignResponse.rs +++ b/vendor/web-sys/src/features/gen_SignResponse.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SocketElement.rs b/vendor/web-sys/src/features/gen_SocketElement.rs index 81bc62c72..56269e3e4 100644 --- a/vendor/web-sys/src/features/gen_SocketElement.rs +++ b/vendor/web-sys/src/features/gen_SocketElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SocketOptions.rs b/vendor/web-sys/src/features/gen_SocketOptions.rs index 103c82e19..6754c5361 100644 --- a/vendor/web-sys/src/features/gen_SocketOptions.rs +++ b/vendor/web-sys/src/features/gen_SocketOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SocketReadyState.rs b/vendor/web-sys/src/features/gen_SocketReadyState.rs index 5c359de2a..00092b00a 100644 --- a/vendor/web-sys/src/features/gen_SocketReadyState.rs +++ b/vendor/web-sys/src/features/gen_SocketReadyState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `SocketReadyState` enum."] diff --git a/vendor/web-sys/src/features/gen_SocketsDict.rs b/vendor/web-sys/src/features/gen_SocketsDict.rs index 15e87f118..f760fdf07 100644 --- a/vendor/web-sys/src/features/gen_SocketsDict.rs +++ b/vendor/web-sys/src/features/gen_SocketsDict.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SourceBuffer.rs b/vendor/web-sys/src/features/gen_SourceBuffer.rs index 8405987e3..a67b53271 100644 --- a/vendor/web-sys/src/features/gen_SourceBuffer.rs +++ b/vendor/web-sys/src/features/gen_SourceBuffer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SourceBufferAppendMode.rs b/vendor/web-sys/src/features/gen_SourceBufferAppendMode.rs index 21eb0db9a..cdd97c94d 100644 --- a/vendor/web-sys/src/features/gen_SourceBufferAppendMode.rs +++ b/vendor/web-sys/src/features/gen_SourceBufferAppendMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `SourceBufferAppendMode` enum."] diff --git a/vendor/web-sys/src/features/gen_SourceBufferList.rs b/vendor/web-sys/src/features/gen_SourceBufferList.rs index 37e0e2307..7bab0e8e8 100644 --- a/vendor/web-sys/src/features/gen_SourceBufferList.rs +++ b/vendor/web-sys/src/features/gen_SourceBufferList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechGrammar.rs b/vendor/web-sys/src/features/gen_SpeechGrammar.rs index f9a24accc..346430e21 100644 --- a/vendor/web-sys/src/features/gen_SpeechGrammar.rs +++ b/vendor/web-sys/src/features/gen_SpeechGrammar.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechGrammarList.rs b/vendor/web-sys/src/features/gen_SpeechGrammarList.rs index 1f9e7a721..cd91e27a2 100644 --- a/vendor/web-sys/src/features/gen_SpeechGrammarList.rs +++ b/vendor/web-sys/src/features/gen_SpeechGrammarList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechRecognition.rs b/vendor/web-sys/src/features/gen_SpeechRecognition.rs index 10bb4a75e..c2e1d9f81 100644 --- a/vendor/web-sys/src/features/gen_SpeechRecognition.rs +++ b/vendor/web-sys/src/features/gen_SpeechRecognition.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionAlternative.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionAlternative.rs index 5aced7fb3..957b5c85a 100644 --- a/vendor/web-sys/src/features/gen_SpeechRecognitionAlternative.rs +++ b/vendor/web-sys/src/features/gen_SpeechRecognitionAlternative.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionError.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionError.rs index 371112712..d297aad34 100644 --- a/vendor/web-sys/src/features/gen_SpeechRecognitionError.rs +++ b/vendor/web-sys/src/features/gen_SpeechRecognitionError.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionErrorCode.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionErrorCode.rs index 4f7284690..4bbf99e60 100644 --- a/vendor/web-sys/src/features/gen_SpeechRecognitionErrorCode.rs +++ b/vendor/web-sys/src/features/gen_SpeechRecognitionErrorCode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `SpeechRecognitionErrorCode` enum."] diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionErrorInit.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionErrorInit.rs index 1a7d578ac..96677fa0d 100644 --- a/vendor/web-sys/src/features/gen_SpeechRecognitionErrorInit.rs +++ b/vendor/web-sys/src/features/gen_SpeechRecognitionErrorInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionEvent.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionEvent.rs index 1e37c86ab..4b316dbad 100644 --- a/vendor/web-sys/src/features/gen_SpeechRecognitionEvent.rs +++ b/vendor/web-sys/src/features/gen_SpeechRecognitionEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionEventInit.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionEventInit.rs index 7ac78ecf2..75e71fd7b 100644 --- a/vendor/web-sys/src/features/gen_SpeechRecognitionEventInit.rs +++ b/vendor/web-sys/src/features/gen_SpeechRecognitionEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionResult.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionResult.rs index 15075334d..c057f4b36 100644 --- a/vendor/web-sys/src/features/gen_SpeechRecognitionResult.rs +++ b/vendor/web-sys/src/features/gen_SpeechRecognitionResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechRecognitionResultList.rs b/vendor/web-sys/src/features/gen_SpeechRecognitionResultList.rs index 9201f8e53..843e8dca6 100644 --- a/vendor/web-sys/src/features/gen_SpeechRecognitionResultList.rs +++ b/vendor/web-sys/src/features/gen_SpeechRecognitionResultList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesis.rs b/vendor/web-sys/src/features/gen_SpeechSynthesis.rs index 729f47d00..ff3649714 100644 --- a/vendor/web-sys/src/features/gen_SpeechSynthesis.rs +++ b/vendor/web-sys/src/features/gen_SpeechSynthesis.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisErrorCode.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisErrorCode.rs index f6cf1bcba..f024bf069 100644 --- a/vendor/web-sys/src/features/gen_SpeechSynthesisErrorCode.rs +++ b/vendor/web-sys/src/features/gen_SpeechSynthesisErrorCode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `SpeechSynthesisErrorCode` enum."] diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEvent.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEvent.rs index 9d6354531..04ab04bfa 100644 --- a/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEvent.rs +++ b/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEventInit.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEventInit.rs index 8bb2801a3..e53c1f087 100644 --- a/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEventInit.rs +++ b/vendor/web-sys/src/features/gen_SpeechSynthesisErrorEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisEvent.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisEvent.rs index 361fb54c9..29b842959 100644 --- a/vendor/web-sys/src/features/gen_SpeechSynthesisEvent.rs +++ b/vendor/web-sys/src/features/gen_SpeechSynthesisEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisEventInit.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisEventInit.rs index 83ddf5e97..be45a338d 100644 --- a/vendor/web-sys/src/features/gen_SpeechSynthesisEventInit.rs +++ b/vendor/web-sys/src/features/gen_SpeechSynthesisEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisUtterance.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisUtterance.rs index aa7eaacf3..0bd4f6ecc 100644 --- a/vendor/web-sys/src/features/gen_SpeechSynthesisUtterance.rs +++ b/vendor/web-sys/src/features/gen_SpeechSynthesisUtterance.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SpeechSynthesisVoice.rs b/vendor/web-sys/src/features/gen_SpeechSynthesisVoice.rs index 260127579..a03faee42 100644 --- a/vendor/web-sys/src/features/gen_SpeechSynthesisVoice.rs +++ b/vendor/web-sys/src/features/gen_SpeechSynthesisVoice.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_StereoPannerNode.rs b/vendor/web-sys/src/features/gen_StereoPannerNode.rs index 8accee506..c72bd5f98 100644 --- a/vendor/web-sys/src/features/gen_StereoPannerNode.rs +++ b/vendor/web-sys/src/features/gen_StereoPannerNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_StereoPannerOptions.rs b/vendor/web-sys/src/features/gen_StereoPannerOptions.rs index f1996c603..460ac46aa 100644 --- a/vendor/web-sys/src/features/gen_StereoPannerOptions.rs +++ b/vendor/web-sys/src/features/gen_StereoPannerOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Storage.rs b/vendor/web-sys/src/features/gen_Storage.rs index 2a287b7d9..3844e1159 100644 --- a/vendor/web-sys/src/features/gen_Storage.rs +++ b/vendor/web-sys/src/features/gen_Storage.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_StorageEstimate.rs b/vendor/web-sys/src/features/gen_StorageEstimate.rs index 20cebe9a1..e36eae6d6 100644 --- a/vendor/web-sys/src/features/gen_StorageEstimate.rs +++ b/vendor/web-sys/src/features/gen_StorageEstimate.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_StorageEvent.rs b/vendor/web-sys/src/features/gen_StorageEvent.rs index 8030d407d..55cfc058c 100644 --- a/vendor/web-sys/src/features/gen_StorageEvent.rs +++ b/vendor/web-sys/src/features/gen_StorageEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_StorageEventInit.rs b/vendor/web-sys/src/features/gen_StorageEventInit.rs index d3509e513..395440444 100644 --- a/vendor/web-sys/src/features/gen_StorageEventInit.rs +++ b/vendor/web-sys/src/features/gen_StorageEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_StorageManager.rs b/vendor/web-sys/src/features/gen_StorageManager.rs index 9901c7950..1c10d7610 100644 --- a/vendor/web-sys/src/features/gen_StorageManager.rs +++ b/vendor/web-sys/src/features/gen_StorageManager.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -18,6 +19,17 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `StorageManager`*"] pub fn estimate(this: &StorageManager) -> Result<::js_sys::Promise, JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "StorageManager" , js_name = getDirectory)] + #[doc = "The `getDirectory()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/getDirectory)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `StorageManager`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_directory(this: &StorageManager) -> ::js_sys::Promise; # [wasm_bindgen (catch , method , structural , js_class = "StorageManager" , js_name = persist)] #[doc = "The `persist()` method."] #[doc = ""] diff --git a/vendor/web-sys/src/features/gen_StorageType.rs b/vendor/web-sys/src/features/gen_StorageType.rs index 46eea4c2f..beb270405 100644 --- a/vendor/web-sys/src/features/gen_StorageType.rs +++ b/vendor/web-sys/src/features/gen_StorageType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `StorageType` enum."] diff --git a/vendor/web-sys/src/features/gen_StreamPipeOptions.rs b/vendor/web-sys/src/features/gen_StreamPipeOptions.rs index b58cee2a2..924c0366f 100644 --- a/vendor/web-sys/src/features/gen_StreamPipeOptions.rs +++ b/vendor/web-sys/src/features/gen_StreamPipeOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_StyleRuleChangeEventInit.rs b/vendor/web-sys/src/features/gen_StyleRuleChangeEventInit.rs index 7a9d3033c..b2fe94064 100644 --- a/vendor/web-sys/src/features/gen_StyleRuleChangeEventInit.rs +++ b/vendor/web-sys/src/features/gen_StyleRuleChangeEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_StyleSheet.rs b/vendor/web-sys/src/features/gen_StyleSheet.rs index b539c60e3..f9a896d76 100644 --- a/vendor/web-sys/src/features/gen_StyleSheet.rs +++ b/vendor/web-sys/src/features/gen_StyleSheet.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_StyleSheetApplicableStateChangeEventInit.rs b/vendor/web-sys/src/features/gen_StyleSheetApplicableStateChangeEventInit.rs index b4ff3d124..42a98841e 100644 --- a/vendor/web-sys/src/features/gen_StyleSheetApplicableStateChangeEventInit.rs +++ b/vendor/web-sys/src/features/gen_StyleSheetApplicableStateChangeEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_StyleSheetChangeEventInit.rs b/vendor/web-sys/src/features/gen_StyleSheetChangeEventInit.rs index 75b3235d9..0a38714b5 100644 --- a/vendor/web-sys/src/features/gen_StyleSheetChangeEventInit.rs +++ b/vendor/web-sys/src/features/gen_StyleSheetChangeEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_StyleSheetList.rs b/vendor/web-sys/src/features/gen_StyleSheetList.rs index ce7c706e8..e4b94122c 100644 --- a/vendor/web-sys/src/features/gen_StyleSheetList.rs +++ b/vendor/web-sys/src/features/gen_StyleSheetList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SubmitEvent.rs b/vendor/web-sys/src/features/gen_SubmitEvent.rs index 3caca43f2..3b5f1b1ce 100644 --- a/vendor/web-sys/src/features/gen_SubmitEvent.rs +++ b/vendor/web-sys/src/features/gen_SubmitEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SubmitEventInit.rs b/vendor/web-sys/src/features/gen_SubmitEventInit.rs index 6c5844f69..ede5704d2 100644 --- a/vendor/web-sys/src/features/gen_SubmitEventInit.rs +++ b/vendor/web-sys/src/features/gen_SubmitEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SubtleCrypto.rs b/vendor/web-sys/src/features/gen_SubtleCrypto.rs index 516e819ba..d4fcdebc2 100644 --- a/vendor/web-sys/src/features/gen_SubtleCrypto.rs +++ b/vendor/web-sys/src/features/gen_SubtleCrypto.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SupportedType.rs b/vendor/web-sys/src/features/gen_SupportedType.rs index dcc3d41ba..0d384a87a 100644 --- a/vendor/web-sys/src/features/gen_SupportedType.rs +++ b/vendor/web-sys/src/features/gen_SupportedType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `SupportedType` enum."] diff --git a/vendor/web-sys/src/features/gen_SvcOutputMetadata.rs b/vendor/web-sys/src/features/gen_SvcOutputMetadata.rs index aebaa2040..16e9251da 100644 --- a/vendor/web-sys/src/features/gen_SvcOutputMetadata.rs +++ b/vendor/web-sys/src/features/gen_SvcOutputMetadata.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_SvgAngle.rs b/vendor/web-sys/src/features/gen_SvgAngle.rs index 3406dfdfe..e845ac6ae 100644 --- a/vendor/web-sys/src/features/gen_SvgAngle.rs +++ b/vendor/web-sys/src/features/gen_SvgAngle.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimateElement.rs b/vendor/web-sys/src/features/gen_SvgAnimateElement.rs index 273f132de..a4ba8ecf1 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimateElement.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimateElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimateMotionElement.rs b/vendor/web-sys/src/features/gen_SvgAnimateMotionElement.rs index 2d29f1948..567b3ab0b 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimateMotionElement.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimateMotionElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimateTransformElement.rs b/vendor/web-sys/src/features/gen_SvgAnimateTransformElement.rs index c1d437c22..2d9fb541b 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimateTransformElement.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimateTransformElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedAngle.rs b/vendor/web-sys/src/features/gen_SvgAnimatedAngle.rs index ffcfd63e4..ac9d4b5ff 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimatedAngle.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimatedAngle.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedBoolean.rs b/vendor/web-sys/src/features/gen_SvgAnimatedBoolean.rs index 99b3d98a0..4031198c4 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimatedBoolean.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimatedBoolean.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedEnumeration.rs b/vendor/web-sys/src/features/gen_SvgAnimatedEnumeration.rs index 2d9172db7..f3613b802 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimatedEnumeration.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimatedEnumeration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedInteger.rs b/vendor/web-sys/src/features/gen_SvgAnimatedInteger.rs index 89690a261..14c8f4004 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimatedInteger.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimatedInteger.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedLength.rs b/vendor/web-sys/src/features/gen_SvgAnimatedLength.rs index 8348f7d02..0820e201f 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimatedLength.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimatedLength.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedLengthList.rs b/vendor/web-sys/src/features/gen_SvgAnimatedLengthList.rs index 9e5032f16..335505f92 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimatedLengthList.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimatedLengthList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedNumber.rs b/vendor/web-sys/src/features/gen_SvgAnimatedNumber.rs index c38e204b8..0edaf1c8c 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimatedNumber.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimatedNumber.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedNumberList.rs b/vendor/web-sys/src/features/gen_SvgAnimatedNumberList.rs index ec5ab3718..7d46243e2 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimatedNumberList.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimatedNumberList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedPreserveAspectRatio.rs b/vendor/web-sys/src/features/gen_SvgAnimatedPreserveAspectRatio.rs index 4dee971d7..543668c5f 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimatedPreserveAspectRatio.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimatedPreserveAspectRatio.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedRect.rs b/vendor/web-sys/src/features/gen_SvgAnimatedRect.rs index 45daf5d4f..a9776c1f8 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimatedRect.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimatedRect.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedString.rs b/vendor/web-sys/src/features/gen_SvgAnimatedString.rs index b02669aaa..921c4e854 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimatedString.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimatedString.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimatedTransformList.rs b/vendor/web-sys/src/features/gen_SvgAnimatedTransformList.rs index 08e923b00..930cc90a7 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimatedTransformList.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimatedTransformList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgAnimationElement.rs b/vendor/web-sys/src/features/gen_SvgAnimationElement.rs index 613590828..b2a51990f 100644 --- a/vendor/web-sys/src/features/gen_SvgAnimationElement.rs +++ b/vendor/web-sys/src/features/gen_SvgAnimationElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgBoundingBoxOptions.rs b/vendor/web-sys/src/features/gen_SvgBoundingBoxOptions.rs index 81a1e4365..c141da7b2 100644 --- a/vendor/web-sys/src/features/gen_SvgBoundingBoxOptions.rs +++ b/vendor/web-sys/src/features/gen_SvgBoundingBoxOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgCircleElement.rs b/vendor/web-sys/src/features/gen_SvgCircleElement.rs index c3a6e9297..a4772a685 100644 --- a/vendor/web-sys/src/features/gen_SvgCircleElement.rs +++ b/vendor/web-sys/src/features/gen_SvgCircleElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgClipPathElement.rs b/vendor/web-sys/src/features/gen_SvgClipPathElement.rs index 3d11d3422..907e2a11a 100644 --- a/vendor/web-sys/src/features/gen_SvgClipPathElement.rs +++ b/vendor/web-sys/src/features/gen_SvgClipPathElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs b/vendor/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs index 9703e6f9c..a7863e051 100644 --- a/vendor/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs +++ b/vendor/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgDefsElement.rs b/vendor/web-sys/src/features/gen_SvgDefsElement.rs index 49a1359f5..d7dceaa9f 100644 --- a/vendor/web-sys/src/features/gen_SvgDefsElement.rs +++ b/vendor/web-sys/src/features/gen_SvgDefsElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgDescElement.rs b/vendor/web-sys/src/features/gen_SvgDescElement.rs index 5327c0043..1a06691c2 100644 --- a/vendor/web-sys/src/features/gen_SvgDescElement.rs +++ b/vendor/web-sys/src/features/gen_SvgDescElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgElement.rs b/vendor/web-sys/src/features/gen_SvgElement.rs index 2f1e1ab42..d911161e2 100644 --- a/vendor/web-sys/src/features/gen_SvgElement.rs +++ b/vendor/web-sys/src/features/gen_SvgElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgEllipseElement.rs b/vendor/web-sys/src/features/gen_SvgEllipseElement.rs index 9b0538156..faba1ba37 100644 --- a/vendor/web-sys/src/features/gen_SvgEllipseElement.rs +++ b/vendor/web-sys/src/features/gen_SvgEllipseElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgFilterElement.rs b/vendor/web-sys/src/features/gen_SvgFilterElement.rs index 1f178eafb..7fb25f9b7 100644 --- a/vendor/web-sys/src/features/gen_SvgFilterElement.rs +++ b/vendor/web-sys/src/features/gen_SvgFilterElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgForeignObjectElement.rs b/vendor/web-sys/src/features/gen_SvgForeignObjectElement.rs index be0ba8829..897e22a4c 100644 --- a/vendor/web-sys/src/features/gen_SvgForeignObjectElement.rs +++ b/vendor/web-sys/src/features/gen_SvgForeignObjectElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgGeometryElement.rs b/vendor/web-sys/src/features/gen_SvgGeometryElement.rs index fe6116b88..b31cba8f7 100644 --- a/vendor/web-sys/src/features/gen_SvgGeometryElement.rs +++ b/vendor/web-sys/src/features/gen_SvgGeometryElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgGradientElement.rs b/vendor/web-sys/src/features/gen_SvgGradientElement.rs index 7a46835d0..8000070a2 100644 --- a/vendor/web-sys/src/features/gen_SvgGradientElement.rs +++ b/vendor/web-sys/src/features/gen_SvgGradientElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgGraphicsElement.rs b/vendor/web-sys/src/features/gen_SvgGraphicsElement.rs index 96de914f3..d9b5cf212 100644 --- a/vendor/web-sys/src/features/gen_SvgGraphicsElement.rs +++ b/vendor/web-sys/src/features/gen_SvgGraphicsElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgImageElement.rs b/vendor/web-sys/src/features/gen_SvgImageElement.rs index 99134788b..dd909e024 100644 --- a/vendor/web-sys/src/features/gen_SvgImageElement.rs +++ b/vendor/web-sys/src/features/gen_SvgImageElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgLength.rs b/vendor/web-sys/src/features/gen_SvgLength.rs index 63a3d3607..a2e87fdd8 100644 --- a/vendor/web-sys/src/features/gen_SvgLength.rs +++ b/vendor/web-sys/src/features/gen_SvgLength.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgLengthList.rs b/vendor/web-sys/src/features/gen_SvgLengthList.rs index 2672c007f..51289d884 100644 --- a/vendor/web-sys/src/features/gen_SvgLengthList.rs +++ b/vendor/web-sys/src/features/gen_SvgLengthList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgLineElement.rs b/vendor/web-sys/src/features/gen_SvgLineElement.rs index ab2ce69e4..f6a096976 100644 --- a/vendor/web-sys/src/features/gen_SvgLineElement.rs +++ b/vendor/web-sys/src/features/gen_SvgLineElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgLinearGradientElement.rs b/vendor/web-sys/src/features/gen_SvgLinearGradientElement.rs index e589daa0a..04014b3e2 100644 --- a/vendor/web-sys/src/features/gen_SvgLinearGradientElement.rs +++ b/vendor/web-sys/src/features/gen_SvgLinearGradientElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgMarkerElement.rs b/vendor/web-sys/src/features/gen_SvgMarkerElement.rs index 0921bcaf7..445dce2ba 100644 --- a/vendor/web-sys/src/features/gen_SvgMarkerElement.rs +++ b/vendor/web-sys/src/features/gen_SvgMarkerElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgMaskElement.rs b/vendor/web-sys/src/features/gen_SvgMaskElement.rs index 9c507c5af..05f4d883b 100644 --- a/vendor/web-sys/src/features/gen_SvgMaskElement.rs +++ b/vendor/web-sys/src/features/gen_SvgMaskElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgMatrix.rs b/vendor/web-sys/src/features/gen_SvgMatrix.rs index ca82392b2..cc6ffcb37 100644 --- a/vendor/web-sys/src/features/gen_SvgMatrix.rs +++ b/vendor/web-sys/src/features/gen_SvgMatrix.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgMetadataElement.rs b/vendor/web-sys/src/features/gen_SvgMetadataElement.rs index d5f4c5c8d..ec242c0b6 100644 --- a/vendor/web-sys/src/features/gen_SvgMetadataElement.rs +++ b/vendor/web-sys/src/features/gen_SvgMetadataElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgNumber.rs b/vendor/web-sys/src/features/gen_SvgNumber.rs index 2cb9ffa51..8ac54522d 100644 --- a/vendor/web-sys/src/features/gen_SvgNumber.rs +++ b/vendor/web-sys/src/features/gen_SvgNumber.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgNumberList.rs b/vendor/web-sys/src/features/gen_SvgNumberList.rs index cda161a35..bf493a4af 100644 --- a/vendor/web-sys/src/features/gen_SvgNumberList.rs +++ b/vendor/web-sys/src/features/gen_SvgNumberList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathElement.rs b/vendor/web-sys/src/features/gen_SvgPathElement.rs index 7cd150fce..63f1898e7 100644 --- a/vendor/web-sys/src/features/gen_SvgPathElement.rs +++ b/vendor/web-sys/src/features/gen_SvgPathElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSeg.rs b/vendor/web-sys/src/features/gen_SvgPathSeg.rs index 2c9dc633e..57b15fb5f 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSeg.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSeg.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegArcAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegArcAbs.rs index 36b440f5e..1a438d4f5 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegArcAbs.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegArcAbs.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegArcRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegArcRel.rs index a93b871af..725e6410a 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegArcRel.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegArcRel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegClosePath.rs b/vendor/web-sys/src/features/gen_SvgPathSegClosePath.rs index b9892c327..937309539 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegClosePath.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegClosePath.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicAbs.rs index fbeb6886d..b79861eb2 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicAbs.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicAbs.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicRel.rs index f3ee149fa..7839843d6 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicRel.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicRel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothAbs.rs index 07896918b..d71e6a44d 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothAbs.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothAbs.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothRel.rs index d2b03a265..685e35f24 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothRel.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoCubicSmoothRel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticAbs.rs index 4770f97c8..e881cb7df 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticAbs.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticAbs.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticRel.rs index 6a3457d74..968f2b467 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticRel.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticRel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothAbs.rs index 9f19b4f53..a9ca93011 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothAbs.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothAbs.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothRel.rs index eadff9849..b6e2817c9 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothRel.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegCurvetoQuadraticSmoothRel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegLinetoAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegLinetoAbs.rs index 6f6b930f8..aa933fd0d 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegLinetoAbs.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegLinetoAbs.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalAbs.rs index fb6bba694..7c674e635 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalAbs.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalAbs.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalRel.rs index 461458dba..d95770ef7 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalRel.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegLinetoHorizontalRel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegLinetoRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegLinetoRel.rs index 64daaf4fa..be628f865 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegLinetoRel.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegLinetoRel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalAbs.rs index 39a50d6ac..d02f005d0 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalAbs.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalAbs.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalRel.rs index 98c9d076b..cbe51e281 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalRel.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegLinetoVerticalRel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegList.rs b/vendor/web-sys/src/features/gen_SvgPathSegList.rs index 76ae0db67..d5a4eb001 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegList.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegMovetoAbs.rs b/vendor/web-sys/src/features/gen_SvgPathSegMovetoAbs.rs index ae2f75afb..147747d5d 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegMovetoAbs.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegMovetoAbs.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPathSegMovetoRel.rs b/vendor/web-sys/src/features/gen_SvgPathSegMovetoRel.rs index d65c052f9..ba8d2e397 100644 --- a/vendor/web-sys/src/features/gen_SvgPathSegMovetoRel.rs +++ b/vendor/web-sys/src/features/gen_SvgPathSegMovetoRel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPatternElement.rs b/vendor/web-sys/src/features/gen_SvgPatternElement.rs index 2e8575bee..878d8934a 100644 --- a/vendor/web-sys/src/features/gen_SvgPatternElement.rs +++ b/vendor/web-sys/src/features/gen_SvgPatternElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPoint.rs b/vendor/web-sys/src/features/gen_SvgPoint.rs index 8a328ff23..52a6ed2c6 100644 --- a/vendor/web-sys/src/features/gen_SvgPoint.rs +++ b/vendor/web-sys/src/features/gen_SvgPoint.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPointList.rs b/vendor/web-sys/src/features/gen_SvgPointList.rs index fde144f5e..1f8050f03 100644 --- a/vendor/web-sys/src/features/gen_SvgPointList.rs +++ b/vendor/web-sys/src/features/gen_SvgPointList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPolygonElement.rs b/vendor/web-sys/src/features/gen_SvgPolygonElement.rs index 1a1140cee..4b51bf5a7 100644 --- a/vendor/web-sys/src/features/gen_SvgPolygonElement.rs +++ b/vendor/web-sys/src/features/gen_SvgPolygonElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPolylineElement.rs b/vendor/web-sys/src/features/gen_SvgPolylineElement.rs index ff3abdc50..97507fce0 100644 --- a/vendor/web-sys/src/features/gen_SvgPolylineElement.rs +++ b/vendor/web-sys/src/features/gen_SvgPolylineElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgPreserveAspectRatio.rs b/vendor/web-sys/src/features/gen_SvgPreserveAspectRatio.rs index 57fef2ba2..4ab92d436 100644 --- a/vendor/web-sys/src/features/gen_SvgPreserveAspectRatio.rs +++ b/vendor/web-sys/src/features/gen_SvgPreserveAspectRatio.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgRadialGradientElement.rs b/vendor/web-sys/src/features/gen_SvgRadialGradientElement.rs index 79627e022..7cdd98eab 100644 --- a/vendor/web-sys/src/features/gen_SvgRadialGradientElement.rs +++ b/vendor/web-sys/src/features/gen_SvgRadialGradientElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgRect.rs b/vendor/web-sys/src/features/gen_SvgRect.rs index 3ee979817..7d89500f9 100644 --- a/vendor/web-sys/src/features/gen_SvgRect.rs +++ b/vendor/web-sys/src/features/gen_SvgRect.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgRectElement.rs b/vendor/web-sys/src/features/gen_SvgRectElement.rs index c019621fc..9be592c81 100644 --- a/vendor/web-sys/src/features/gen_SvgRectElement.rs +++ b/vendor/web-sys/src/features/gen_SvgRectElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgScriptElement.rs b/vendor/web-sys/src/features/gen_SvgScriptElement.rs index 0892cbc60..d888f9b5c 100644 --- a/vendor/web-sys/src/features/gen_SvgScriptElement.rs +++ b/vendor/web-sys/src/features/gen_SvgScriptElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgSetElement.rs b/vendor/web-sys/src/features/gen_SvgSetElement.rs index 3fe789ecf..b067247bd 100644 --- a/vendor/web-sys/src/features/gen_SvgSetElement.rs +++ b/vendor/web-sys/src/features/gen_SvgSetElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgStopElement.rs b/vendor/web-sys/src/features/gen_SvgStopElement.rs index 3bbd4523b..e44635629 100644 --- a/vendor/web-sys/src/features/gen_SvgStopElement.rs +++ b/vendor/web-sys/src/features/gen_SvgStopElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgStringList.rs b/vendor/web-sys/src/features/gen_SvgStringList.rs index 57362b9b2..5713070bc 100644 --- a/vendor/web-sys/src/features/gen_SvgStringList.rs +++ b/vendor/web-sys/src/features/gen_SvgStringList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgStyleElement.rs b/vendor/web-sys/src/features/gen_SvgStyleElement.rs index 2c36d5969..23c0f51df 100644 --- a/vendor/web-sys/src/features/gen_SvgStyleElement.rs +++ b/vendor/web-sys/src/features/gen_SvgStyleElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgSwitchElement.rs b/vendor/web-sys/src/features/gen_SvgSwitchElement.rs index 62ba99363..925d66826 100644 --- a/vendor/web-sys/src/features/gen_SvgSwitchElement.rs +++ b/vendor/web-sys/src/features/gen_SvgSwitchElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgSymbolElement.rs b/vendor/web-sys/src/features/gen_SvgSymbolElement.rs index 2fd29f060..e9a4874aa 100644 --- a/vendor/web-sys/src/features/gen_SvgSymbolElement.rs +++ b/vendor/web-sys/src/features/gen_SvgSymbolElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgTextContentElement.rs b/vendor/web-sys/src/features/gen_SvgTextContentElement.rs index ac2abf5dc..2aa8553c3 100644 --- a/vendor/web-sys/src/features/gen_SvgTextContentElement.rs +++ b/vendor/web-sys/src/features/gen_SvgTextContentElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgTextElement.rs b/vendor/web-sys/src/features/gen_SvgTextElement.rs index 5b046b017..2a937a5bd 100644 --- a/vendor/web-sys/src/features/gen_SvgTextElement.rs +++ b/vendor/web-sys/src/features/gen_SvgTextElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgTextPathElement.rs b/vendor/web-sys/src/features/gen_SvgTextPathElement.rs index 9e274b3c3..1e7ce1d56 100644 --- a/vendor/web-sys/src/features/gen_SvgTextPathElement.rs +++ b/vendor/web-sys/src/features/gen_SvgTextPathElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgTextPositioningElement.rs b/vendor/web-sys/src/features/gen_SvgTextPositioningElement.rs index ee5d40db8..42a810235 100644 --- a/vendor/web-sys/src/features/gen_SvgTextPositioningElement.rs +++ b/vendor/web-sys/src/features/gen_SvgTextPositioningElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgTitleElement.rs b/vendor/web-sys/src/features/gen_SvgTitleElement.rs index 4f15b6ee4..34c3a7df4 100644 --- a/vendor/web-sys/src/features/gen_SvgTitleElement.rs +++ b/vendor/web-sys/src/features/gen_SvgTitleElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgTransform.rs b/vendor/web-sys/src/features/gen_SvgTransform.rs index 00615597b..1fcc2fc7e 100644 --- a/vendor/web-sys/src/features/gen_SvgTransform.rs +++ b/vendor/web-sys/src/features/gen_SvgTransform.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgTransformList.rs b/vendor/web-sys/src/features/gen_SvgTransformList.rs index 66cfac09a..618a78ef7 100644 --- a/vendor/web-sys/src/features/gen_SvgTransformList.rs +++ b/vendor/web-sys/src/features/gen_SvgTransformList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgUnitTypes.rs b/vendor/web-sys/src/features/gen_SvgUnitTypes.rs index d5d1bf3c0..fa9160a21 100644 --- a/vendor/web-sys/src/features/gen_SvgUnitTypes.rs +++ b/vendor/web-sys/src/features/gen_SvgUnitTypes.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgUseElement.rs b/vendor/web-sys/src/features/gen_SvgUseElement.rs index 4410c45b9..73600c083 100644 --- a/vendor/web-sys/src/features/gen_SvgUseElement.rs +++ b/vendor/web-sys/src/features/gen_SvgUseElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgViewElement.rs b/vendor/web-sys/src/features/gen_SvgViewElement.rs index 64baf02da..a80d9bf0c 100644 --- a/vendor/web-sys/src/features/gen_SvgViewElement.rs +++ b/vendor/web-sys/src/features/gen_SvgViewElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgZoomAndPan.rs b/vendor/web-sys/src/features/gen_SvgZoomAndPan.rs index 187d2f00a..a0794d7eb 100644 --- a/vendor/web-sys/src/features/gen_SvgZoomAndPan.rs +++ b/vendor/web-sys/src/features/gen_SvgZoomAndPan.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgaElement.rs b/vendor/web-sys/src/features/gen_SvgaElement.rs index e866e2ff2..efbf2c93e 100644 --- a/vendor/web-sys/src/features/gen_SvgaElement.rs +++ b/vendor/web-sys/src/features/gen_SvgaElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeBlendElement.rs b/vendor/web-sys/src/features/gen_SvgfeBlendElement.rs index 97ce3978d..36d2eec9c 100644 --- a/vendor/web-sys/src/features/gen_SvgfeBlendElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeBlendElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeColorMatrixElement.rs b/vendor/web-sys/src/features/gen_SvgfeColorMatrixElement.rs index c951981f8..4c0749209 100644 --- a/vendor/web-sys/src/features/gen_SvgfeColorMatrixElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeColorMatrixElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeComponentTransferElement.rs b/vendor/web-sys/src/features/gen_SvgfeComponentTransferElement.rs index dda9bff7a..b78b3fd8f 100644 --- a/vendor/web-sys/src/features/gen_SvgfeComponentTransferElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeComponentTransferElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeCompositeElement.rs b/vendor/web-sys/src/features/gen_SvgfeCompositeElement.rs index 23f4db088..a6e3bf4f9 100644 --- a/vendor/web-sys/src/features/gen_SvgfeCompositeElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeCompositeElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeConvolveMatrixElement.rs b/vendor/web-sys/src/features/gen_SvgfeConvolveMatrixElement.rs index 605a9ac66..ab6d46b05 100644 --- a/vendor/web-sys/src/features/gen_SvgfeConvolveMatrixElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeConvolveMatrixElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeDiffuseLightingElement.rs b/vendor/web-sys/src/features/gen_SvgfeDiffuseLightingElement.rs index 6ac26b3fa..3429d6027 100644 --- a/vendor/web-sys/src/features/gen_SvgfeDiffuseLightingElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeDiffuseLightingElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeDisplacementMapElement.rs b/vendor/web-sys/src/features/gen_SvgfeDisplacementMapElement.rs index f533134b6..8eff0b71f 100644 --- a/vendor/web-sys/src/features/gen_SvgfeDisplacementMapElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeDisplacementMapElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeDistantLightElement.rs b/vendor/web-sys/src/features/gen_SvgfeDistantLightElement.rs index 424df95f6..52dbdf60a 100644 --- a/vendor/web-sys/src/features/gen_SvgfeDistantLightElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeDistantLightElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeDropShadowElement.rs b/vendor/web-sys/src/features/gen_SvgfeDropShadowElement.rs index d48d5d6b2..77d96feca 100644 --- a/vendor/web-sys/src/features/gen_SvgfeDropShadowElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeDropShadowElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeFloodElement.rs b/vendor/web-sys/src/features/gen_SvgfeFloodElement.rs index 392ebacf3..77047a40c 100644 --- a/vendor/web-sys/src/features/gen_SvgfeFloodElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeFloodElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeFuncAElement.rs b/vendor/web-sys/src/features/gen_SvgfeFuncAElement.rs index 688c97d0a..57c2e0bc9 100644 --- a/vendor/web-sys/src/features/gen_SvgfeFuncAElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeFuncAElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeFuncBElement.rs b/vendor/web-sys/src/features/gen_SvgfeFuncBElement.rs index d0ebf8474..322663f82 100644 --- a/vendor/web-sys/src/features/gen_SvgfeFuncBElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeFuncBElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeFuncGElement.rs b/vendor/web-sys/src/features/gen_SvgfeFuncGElement.rs index dc61bf560..2332e71c8 100644 --- a/vendor/web-sys/src/features/gen_SvgfeFuncGElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeFuncGElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeFuncRElement.rs b/vendor/web-sys/src/features/gen_SvgfeFuncRElement.rs index de260ac38..a87e38393 100644 --- a/vendor/web-sys/src/features/gen_SvgfeFuncRElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeFuncRElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeGaussianBlurElement.rs b/vendor/web-sys/src/features/gen_SvgfeGaussianBlurElement.rs index 88cb074d1..7e4d09419 100644 --- a/vendor/web-sys/src/features/gen_SvgfeGaussianBlurElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeGaussianBlurElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeImageElement.rs b/vendor/web-sys/src/features/gen_SvgfeImageElement.rs index efb101bbc..613b41bc4 100644 --- a/vendor/web-sys/src/features/gen_SvgfeImageElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeImageElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeMergeElement.rs b/vendor/web-sys/src/features/gen_SvgfeMergeElement.rs index 7ff05f3df..7669d64e3 100644 --- a/vendor/web-sys/src/features/gen_SvgfeMergeElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeMergeElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeMergeNodeElement.rs b/vendor/web-sys/src/features/gen_SvgfeMergeNodeElement.rs index ed556e18f..8aa4c4acf 100644 --- a/vendor/web-sys/src/features/gen_SvgfeMergeNodeElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeMergeNodeElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeMorphologyElement.rs b/vendor/web-sys/src/features/gen_SvgfeMorphologyElement.rs index 5170c0471..2ccab08b3 100644 --- a/vendor/web-sys/src/features/gen_SvgfeMorphologyElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeMorphologyElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeOffsetElement.rs b/vendor/web-sys/src/features/gen_SvgfeOffsetElement.rs index 3baf90015..7c5b017b8 100644 --- a/vendor/web-sys/src/features/gen_SvgfeOffsetElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeOffsetElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfePointLightElement.rs b/vendor/web-sys/src/features/gen_SvgfePointLightElement.rs index 2c417c93e..d3b3e90b4 100644 --- a/vendor/web-sys/src/features/gen_SvgfePointLightElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfePointLightElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeSpecularLightingElement.rs b/vendor/web-sys/src/features/gen_SvgfeSpecularLightingElement.rs index 56bc66036..5a658bec0 100644 --- a/vendor/web-sys/src/features/gen_SvgfeSpecularLightingElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeSpecularLightingElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeSpotLightElement.rs b/vendor/web-sys/src/features/gen_SvgfeSpotLightElement.rs index 28da38767..e7d5b0f8b 100644 --- a/vendor/web-sys/src/features/gen_SvgfeSpotLightElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeSpotLightElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeTileElement.rs b/vendor/web-sys/src/features/gen_SvgfeTileElement.rs index cad40bd16..041990f0f 100644 --- a/vendor/web-sys/src/features/gen_SvgfeTileElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeTileElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgfeTurbulenceElement.rs b/vendor/web-sys/src/features/gen_SvgfeTurbulenceElement.rs index 6e91ac5a6..479615373 100644 --- a/vendor/web-sys/src/features/gen_SvgfeTurbulenceElement.rs +++ b/vendor/web-sys/src/features/gen_SvgfeTurbulenceElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvggElement.rs b/vendor/web-sys/src/features/gen_SvggElement.rs index d7d35dca9..0668e102b 100644 --- a/vendor/web-sys/src/features/gen_SvggElement.rs +++ b/vendor/web-sys/src/features/gen_SvggElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgmPathElement.rs b/vendor/web-sys/src/features/gen_SvgmPathElement.rs index adacfbabe..007ea796e 100644 --- a/vendor/web-sys/src/features/gen_SvgmPathElement.rs +++ b/vendor/web-sys/src/features/gen_SvgmPathElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgsvgElement.rs b/vendor/web-sys/src/features/gen_SvgsvgElement.rs index b7978354d..b62f2f641 100644 --- a/vendor/web-sys/src/features/gen_SvgsvgElement.rs +++ b/vendor/web-sys/src/features/gen_SvgsvgElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_SvgtSpanElement.rs b/vendor/web-sys/src/features/gen_SvgtSpanElement.rs index fc943015d..5a8cf8cba 100644 --- a/vendor/web-sys/src/features/gen_SvgtSpanElement.rs +++ b/vendor/web-sys/src/features/gen_SvgtSpanElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TcpReadyState.rs b/vendor/web-sys/src/features/gen_TcpReadyState.rs index 7dff83bab..a4ff84a10 100644 --- a/vendor/web-sys/src/features/gen_TcpReadyState.rs +++ b/vendor/web-sys/src/features/gen_TcpReadyState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `TcpReadyState` enum."] diff --git a/vendor/web-sys/src/features/gen_TcpServerSocket.rs b/vendor/web-sys/src/features/gen_TcpServerSocket.rs index 0904f2ddf..614fbfa7f 100644 --- a/vendor/web-sys/src/features/gen_TcpServerSocket.rs +++ b/vendor/web-sys/src/features/gen_TcpServerSocket.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TcpServerSocketEvent.rs b/vendor/web-sys/src/features/gen_TcpServerSocketEvent.rs index 4faa0de74..fe0493eef 100644 --- a/vendor/web-sys/src/features/gen_TcpServerSocketEvent.rs +++ b/vendor/web-sys/src/features/gen_TcpServerSocketEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TcpServerSocketEventInit.rs b/vendor/web-sys/src/features/gen_TcpServerSocketEventInit.rs index f0c7dcdfb..ecea5b069 100644 --- a/vendor/web-sys/src/features/gen_TcpServerSocketEventInit.rs +++ b/vendor/web-sys/src/features/gen_TcpServerSocketEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TcpSocket.rs b/vendor/web-sys/src/features/gen_TcpSocket.rs index 3631e805b..85c4a55ed 100644 --- a/vendor/web-sys/src/features/gen_TcpSocket.rs +++ b/vendor/web-sys/src/features/gen_TcpSocket.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TcpSocketBinaryType.rs b/vendor/web-sys/src/features/gen_TcpSocketBinaryType.rs index 762dd9a71..7951276a0 100644 --- a/vendor/web-sys/src/features/gen_TcpSocketBinaryType.rs +++ b/vendor/web-sys/src/features/gen_TcpSocketBinaryType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `TcpSocketBinaryType` enum."] diff --git a/vendor/web-sys/src/features/gen_TcpSocketErrorEvent.rs b/vendor/web-sys/src/features/gen_TcpSocketErrorEvent.rs index a2d1daf93..e87fdf448 100644 --- a/vendor/web-sys/src/features/gen_TcpSocketErrorEvent.rs +++ b/vendor/web-sys/src/features/gen_TcpSocketErrorEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TcpSocketErrorEventInit.rs b/vendor/web-sys/src/features/gen_TcpSocketErrorEventInit.rs index cfe92df2e..2da5e7e06 100644 --- a/vendor/web-sys/src/features/gen_TcpSocketErrorEventInit.rs +++ b/vendor/web-sys/src/features/gen_TcpSocketErrorEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TcpSocketEvent.rs b/vendor/web-sys/src/features/gen_TcpSocketEvent.rs index 37623fb3b..e9ade38d7 100644 --- a/vendor/web-sys/src/features/gen_TcpSocketEvent.rs +++ b/vendor/web-sys/src/features/gen_TcpSocketEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TcpSocketEventInit.rs b/vendor/web-sys/src/features/gen_TcpSocketEventInit.rs index e62fe981b..e98db7882 100644 --- a/vendor/web-sys/src/features/gen_TcpSocketEventInit.rs +++ b/vendor/web-sys/src/features/gen_TcpSocketEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Text.rs b/vendor/web-sys/src/features/gen_Text.rs index 12d84e1fd..d6cb82f1b 100644 --- a/vendor/web-sys/src/features/gen_Text.rs +++ b/vendor/web-sys/src/features/gen_Text.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TextDecodeOptions.rs b/vendor/web-sys/src/features/gen_TextDecodeOptions.rs index 65277eeba..47a0df213 100644 --- a/vendor/web-sys/src/features/gen_TextDecodeOptions.rs +++ b/vendor/web-sys/src/features/gen_TextDecodeOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TextDecoder.rs b/vendor/web-sys/src/features/gen_TextDecoder.rs index 7eb50d277..c1f55c93a 100644 --- a/vendor/web-sys/src/features/gen_TextDecoder.rs +++ b/vendor/web-sys/src/features/gen_TextDecoder.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TextDecoderOptions.rs b/vendor/web-sys/src/features/gen_TextDecoderOptions.rs index 7a89d6b04..1ec3b8f94 100644 --- a/vendor/web-sys/src/features/gen_TextDecoderOptions.rs +++ b/vendor/web-sys/src/features/gen_TextDecoderOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TextEncoder.rs b/vendor/web-sys/src/features/gen_TextEncoder.rs index efaea87bd..4a7a815b9 100644 --- a/vendor/web-sys/src/features/gen_TextEncoder.rs +++ b/vendor/web-sys/src/features/gen_TextEncoder.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TextMetrics.rs b/vendor/web-sys/src/features/gen_TextMetrics.rs index fe71817e6..24aa5ccf3 100644 --- a/vendor/web-sys/src/features/gen_TextMetrics.rs +++ b/vendor/web-sys/src/features/gen_TextMetrics.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TextTrack.rs b/vendor/web-sys/src/features/gen_TextTrack.rs index 9e3f5be74..73443abe3 100644 --- a/vendor/web-sys/src/features/gen_TextTrack.rs +++ b/vendor/web-sys/src/features/gen_TextTrack.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TextTrackCue.rs b/vendor/web-sys/src/features/gen_TextTrackCue.rs index c73dfaaf1..c1a1fe725 100644 --- a/vendor/web-sys/src/features/gen_TextTrackCue.rs +++ b/vendor/web-sys/src/features/gen_TextTrackCue.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TextTrackCueList.rs b/vendor/web-sys/src/features/gen_TextTrackCueList.rs index 82e46863a..cc4222e6a 100644 --- a/vendor/web-sys/src/features/gen_TextTrackCueList.rs +++ b/vendor/web-sys/src/features/gen_TextTrackCueList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TextTrackKind.rs b/vendor/web-sys/src/features/gen_TextTrackKind.rs index ce933e65c..5f81e64e5 100644 --- a/vendor/web-sys/src/features/gen_TextTrackKind.rs +++ b/vendor/web-sys/src/features/gen_TextTrackKind.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `TextTrackKind` enum."] diff --git a/vendor/web-sys/src/features/gen_TextTrackList.rs b/vendor/web-sys/src/features/gen_TextTrackList.rs index d3f55a1ed..646ffebc4 100644 --- a/vendor/web-sys/src/features/gen_TextTrackList.rs +++ b/vendor/web-sys/src/features/gen_TextTrackList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TextTrackMode.rs b/vendor/web-sys/src/features/gen_TextTrackMode.rs index f71fc0812..95b9455b1 100644 --- a/vendor/web-sys/src/features/gen_TextTrackMode.rs +++ b/vendor/web-sys/src/features/gen_TextTrackMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `TextTrackMode` enum."] diff --git a/vendor/web-sys/src/features/gen_TimeEvent.rs b/vendor/web-sys/src/features/gen_TimeEvent.rs index bf89b71aa..5a26c029e 100644 --- a/vendor/web-sys/src/features/gen_TimeEvent.rs +++ b/vendor/web-sys/src/features/gen_TimeEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TimeRanges.rs b/vendor/web-sys/src/features/gen_TimeRanges.rs index 96e3077e9..c7f04c47d 100644 --- a/vendor/web-sys/src/features/gen_TimeRanges.rs +++ b/vendor/web-sys/src/features/gen_TimeRanges.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Touch.rs b/vendor/web-sys/src/features/gen_Touch.rs index 2f364edc0..ca946be58 100644 --- a/vendor/web-sys/src/features/gen_Touch.rs +++ b/vendor/web-sys/src/features/gen_Touch.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TouchEvent.rs b/vendor/web-sys/src/features/gen_TouchEvent.rs index 55f2174aa..5f11ef206 100644 --- a/vendor/web-sys/src/features/gen_TouchEvent.rs +++ b/vendor/web-sys/src/features/gen_TouchEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TouchEventInit.rs b/vendor/web-sys/src/features/gen_TouchEventInit.rs index 4923124ec..41523570b 100644 --- a/vendor/web-sys/src/features/gen_TouchEventInit.rs +++ b/vendor/web-sys/src/features/gen_TouchEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TouchInit.rs b/vendor/web-sys/src/features/gen_TouchInit.rs index b64ce7a77..1defc3fdd 100644 --- a/vendor/web-sys/src/features/gen_TouchInit.rs +++ b/vendor/web-sys/src/features/gen_TouchInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TouchList.rs b/vendor/web-sys/src/features/gen_TouchList.rs index a4415d9eb..b78c261a2 100644 --- a/vendor/web-sys/src/features/gen_TouchList.rs +++ b/vendor/web-sys/src/features/gen_TouchList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TrackEvent.rs b/vendor/web-sys/src/features/gen_TrackEvent.rs index 2325cb3df..9b01abecf 100644 --- a/vendor/web-sys/src/features/gen_TrackEvent.rs +++ b/vendor/web-sys/src/features/gen_TrackEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TrackEventInit.rs b/vendor/web-sys/src/features/gen_TrackEventInit.rs index 48a91359b..23ea70c99 100644 --- a/vendor/web-sys/src/features/gen_TrackEventInit.rs +++ b/vendor/web-sys/src/features/gen_TrackEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TransformStream.rs b/vendor/web-sys/src/features/gen_TransformStream.rs index 9dd64d45d..d9882d7b8 100644 --- a/vendor/web-sys/src/features/gen_TransformStream.rs +++ b/vendor/web-sys/src/features/gen_TransformStream.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TransformStreamDefaultController.rs b/vendor/web-sys/src/features/gen_TransformStreamDefaultController.rs index 6e4722973..1d7ec87c6 100644 --- a/vendor/web-sys/src/features/gen_TransformStreamDefaultController.rs +++ b/vendor/web-sys/src/features/gen_TransformStreamDefaultController.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Transformer.rs b/vendor/web-sys/src/features/gen_Transformer.rs index c0dddae07..c53825cd3 100644 --- a/vendor/web-sys/src/features/gen_Transformer.rs +++ b/vendor/web-sys/src/features/gen_Transformer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TransitionEvent.rs b/vendor/web-sys/src/features/gen_TransitionEvent.rs index c6c98bb93..65b9ab323 100644 --- a/vendor/web-sys/src/features/gen_TransitionEvent.rs +++ b/vendor/web-sys/src/features/gen_TransitionEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TransitionEventInit.rs b/vendor/web-sys/src/features/gen_TransitionEventInit.rs index 1681b9c1b..fb65a019b 100644 --- a/vendor/web-sys/src/features/gen_TransitionEventInit.rs +++ b/vendor/web-sys/src/features/gen_TransitionEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Transport.rs b/vendor/web-sys/src/features/gen_Transport.rs index 9b9389c25..ae35abf52 100644 --- a/vendor/web-sys/src/features/gen_Transport.rs +++ b/vendor/web-sys/src/features/gen_Transport.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `Transport` enum."] diff --git a/vendor/web-sys/src/features/gen_TreeBoxObject.rs b/vendor/web-sys/src/features/gen_TreeBoxObject.rs index 74e6b3e6f..4f5625995 100644 --- a/vendor/web-sys/src/features/gen_TreeBoxObject.rs +++ b/vendor/web-sys/src/features/gen_TreeBoxObject.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TreeCellInfo.rs b/vendor/web-sys/src/features/gen_TreeCellInfo.rs index 9d0794449..a38c1d7f3 100644 --- a/vendor/web-sys/src/features/gen_TreeCellInfo.rs +++ b/vendor/web-sys/src/features/gen_TreeCellInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TreeView.rs b/vendor/web-sys/src/features/gen_TreeView.rs index 50b334a6b..036e59a3d 100644 --- a/vendor/web-sys/src/features/gen_TreeView.rs +++ b/vendor/web-sys/src/features/gen_TreeView.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_TreeWalker.rs b/vendor/web-sys/src/features/gen_TreeWalker.rs index 3838270c6..7a3f4cde9 100644 --- a/vendor/web-sys/src/features/gen_TreeWalker.rs +++ b/vendor/web-sys/src/features/gen_TreeWalker.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_U2f.rs b/vendor/web-sys/src/features/gen_U2f.rs index 775377d12..2c56e101a 100644 --- a/vendor/web-sys/src/features/gen_U2f.rs +++ b/vendor/web-sys/src/features/gen_U2f.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_U2fClientData.rs b/vendor/web-sys/src/features/gen_U2fClientData.rs index 2a4de1877..f20f2f79b 100644 --- a/vendor/web-sys/src/features/gen_U2fClientData.rs +++ b/vendor/web-sys/src/features/gen_U2fClientData.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UdpMessageEventInit.rs b/vendor/web-sys/src/features/gen_UdpMessageEventInit.rs index 7ba192b34..dcbe87020 100644 --- a/vendor/web-sys/src/features/gen_UdpMessageEventInit.rs +++ b/vendor/web-sys/src/features/gen_UdpMessageEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UdpOptions.rs b/vendor/web-sys/src/features/gen_UdpOptions.rs index 4ba727c4a..74f4904f8 100644 --- a/vendor/web-sys/src/features/gen_UdpOptions.rs +++ b/vendor/web-sys/src/features/gen_UdpOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UiEvent.rs b/vendor/web-sys/src/features/gen_UiEvent.rs index 5c2120b6c..66e1b84f0 100644 --- a/vendor/web-sys/src/features/gen_UiEvent.rs +++ b/vendor/web-sys/src/features/gen_UiEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UiEventInit.rs b/vendor/web-sys/src/features/gen_UiEventInit.rs index d1449c34e..bb5611078 100644 --- a/vendor/web-sys/src/features/gen_UiEventInit.rs +++ b/vendor/web-sys/src/features/gen_UiEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UnderlyingSink.rs b/vendor/web-sys/src/features/gen_UnderlyingSink.rs index dd6948867..3c2f8a8a7 100644 --- a/vendor/web-sys/src/features/gen_UnderlyingSink.rs +++ b/vendor/web-sys/src/features/gen_UnderlyingSink.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UnderlyingSource.rs b/vendor/web-sys/src/features/gen_UnderlyingSource.rs index a6a909431..1794bcc86 100644 --- a/vendor/web-sys/src/features/gen_UnderlyingSource.rs +++ b/vendor/web-sys/src/features/gen_UnderlyingSource.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Url.rs b/vendor/web-sys/src/features/gen_Url.rs index b4ad91dbc..a905b8525 100644 --- a/vendor/web-sys/src/features/gen_Url.rs +++ b/vendor/web-sys/src/features/gen_Url.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UrlSearchParams.rs b/vendor/web-sys/src/features/gen_UrlSearchParams.rs index 4c4f1e351..a2cb9204e 100644 --- a/vendor/web-sys/src/features/gen_UrlSearchParams.rs +++ b/vendor/web-sys/src/features/gen_UrlSearchParams.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Usb.rs b/vendor/web-sys/src/features/gen_Usb.rs index 3b10babdc..4139afc80 100644 --- a/vendor/web-sys/src/features/gen_Usb.rs +++ b/vendor/web-sys/src/features/gen_Usb.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbAlternateInterface.rs b/vendor/web-sys/src/features/gen_UsbAlternateInterface.rs index 97d7704f1..668eae3ca 100644 --- a/vendor/web-sys/src/features/gen_UsbAlternateInterface.rs +++ b/vendor/web-sys/src/features/gen_UsbAlternateInterface.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbConfiguration.rs b/vendor/web-sys/src/features/gen_UsbConfiguration.rs index 4f2da9e0b..02307adbd 100644 --- a/vendor/web-sys/src/features/gen_UsbConfiguration.rs +++ b/vendor/web-sys/src/features/gen_UsbConfiguration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbConnectionEvent.rs b/vendor/web-sys/src/features/gen_UsbConnectionEvent.rs index 0881347ce..1a1a9f2f0 100644 --- a/vendor/web-sys/src/features/gen_UsbConnectionEvent.rs +++ b/vendor/web-sys/src/features/gen_UsbConnectionEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbConnectionEventInit.rs b/vendor/web-sys/src/features/gen_UsbConnectionEventInit.rs index d0ed6bf52..745d869af 100644 --- a/vendor/web-sys/src/features/gen_UsbConnectionEventInit.rs +++ b/vendor/web-sys/src/features/gen_UsbConnectionEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbControlTransferParameters.rs b/vendor/web-sys/src/features/gen_UsbControlTransferParameters.rs index 51c820634..a6a72f736 100644 --- a/vendor/web-sys/src/features/gen_UsbControlTransferParameters.rs +++ b/vendor/web-sys/src/features/gen_UsbControlTransferParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbDevice.rs b/vendor/web-sys/src/features/gen_UsbDevice.rs index 67806114d..bb8194405 100644 --- a/vendor/web-sys/src/features/gen_UsbDevice.rs +++ b/vendor/web-sys/src/features/gen_UsbDevice.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbDeviceFilter.rs b/vendor/web-sys/src/features/gen_UsbDeviceFilter.rs index 132b25637..61fd2c90b 100644 --- a/vendor/web-sys/src/features/gen_UsbDeviceFilter.rs +++ b/vendor/web-sys/src/features/gen_UsbDeviceFilter.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbDeviceRequestOptions.rs b/vendor/web-sys/src/features/gen_UsbDeviceRequestOptions.rs index 10f3f70e4..a6c7b87cf 100644 --- a/vendor/web-sys/src/features/gen_UsbDeviceRequestOptions.rs +++ b/vendor/web-sys/src/features/gen_UsbDeviceRequestOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbDirection.rs b/vendor/web-sys/src/features/gen_UsbDirection.rs index 93583f258..f2abfbd1c 100644 --- a/vendor/web-sys/src/features/gen_UsbDirection.rs +++ b/vendor/web-sys/src/features/gen_UsbDirection.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UsbEndpoint.rs b/vendor/web-sys/src/features/gen_UsbEndpoint.rs index 6a829de5d..27741fe34 100644 --- a/vendor/web-sys/src/features/gen_UsbEndpoint.rs +++ b/vendor/web-sys/src/features/gen_UsbEndpoint.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbEndpointType.rs b/vendor/web-sys/src/features/gen_UsbEndpointType.rs index 26c5fa8bc..73a52f710 100644 --- a/vendor/web-sys/src/features/gen_UsbEndpointType.rs +++ b/vendor/web-sys/src/features/gen_UsbEndpointType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UsbInTransferResult.rs b/vendor/web-sys/src/features/gen_UsbInTransferResult.rs index 4640a25da..08a3e1858 100644 --- a/vendor/web-sys/src/features/gen_UsbInTransferResult.rs +++ b/vendor/web-sys/src/features/gen_UsbInTransferResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbInterface.rs b/vendor/web-sys/src/features/gen_UsbInterface.rs index 3eab4137b..f15831ca1 100644 --- a/vendor/web-sys/src/features/gen_UsbInterface.rs +++ b/vendor/web-sys/src/features/gen_UsbInterface.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbIsochronousInTransferPacket.rs b/vendor/web-sys/src/features/gen_UsbIsochronousInTransferPacket.rs index c169ad7ec..986bdf7b7 100644 --- a/vendor/web-sys/src/features/gen_UsbIsochronousInTransferPacket.rs +++ b/vendor/web-sys/src/features/gen_UsbIsochronousInTransferPacket.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbIsochronousInTransferResult.rs b/vendor/web-sys/src/features/gen_UsbIsochronousInTransferResult.rs index 6330d44ac..2c3a43910 100644 --- a/vendor/web-sys/src/features/gen_UsbIsochronousInTransferResult.rs +++ b/vendor/web-sys/src/features/gen_UsbIsochronousInTransferResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferPacket.rs b/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferPacket.rs index 74a87c54b..bc0fb12e8 100644 --- a/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferPacket.rs +++ b/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferPacket.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferResult.rs b/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferResult.rs index 5d1c7abf7..2a569b0c8 100644 --- a/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferResult.rs +++ b/vendor/web-sys/src/features/gen_UsbIsochronousOutTransferResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbOutTransferResult.rs b/vendor/web-sys/src/features/gen_UsbOutTransferResult.rs index 3f9fbc68a..b0d67ab39 100644 --- a/vendor/web-sys/src/features/gen_UsbOutTransferResult.rs +++ b/vendor/web-sys/src/features/gen_UsbOutTransferResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbPermissionDescriptor.rs b/vendor/web-sys/src/features/gen_UsbPermissionDescriptor.rs index 1d2341838..0def02271 100644 --- a/vendor/web-sys/src/features/gen_UsbPermissionDescriptor.rs +++ b/vendor/web-sys/src/features/gen_UsbPermissionDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbPermissionResult.rs b/vendor/web-sys/src/features/gen_UsbPermissionResult.rs index 2dc7d854b..96a5e975f 100644 --- a/vendor/web-sys/src/features/gen_UsbPermissionResult.rs +++ b/vendor/web-sys/src/features/gen_UsbPermissionResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbPermissionStorage.rs b/vendor/web-sys/src/features/gen_UsbPermissionStorage.rs index 75b8350e7..13bfc7d6d 100644 --- a/vendor/web-sys/src/features/gen_UsbPermissionStorage.rs +++ b/vendor/web-sys/src/features/gen_UsbPermissionStorage.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_UsbRecipient.rs b/vendor/web-sys/src/features/gen_UsbRecipient.rs index 413c2f04d..fb486f953 100644 --- a/vendor/web-sys/src/features/gen_UsbRecipient.rs +++ b/vendor/web-sys/src/features/gen_UsbRecipient.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UsbRequestType.rs b/vendor/web-sys/src/features/gen_UsbRequestType.rs index a3984a599..e47b7b4af 100644 --- a/vendor/web-sys/src/features/gen_UsbRequestType.rs +++ b/vendor/web-sys/src/features/gen_UsbRequestType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UsbTransferStatus.rs b/vendor/web-sys/src/features/gen_UsbTransferStatus.rs index 2f80dee84..3a23a5156 100644 --- a/vendor/web-sys/src/features/gen_UsbTransferStatus.rs +++ b/vendor/web-sys/src/features/gen_UsbTransferStatus.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UserProximityEvent.rs b/vendor/web-sys/src/features/gen_UserProximityEvent.rs index 5b9492476..f982be1e1 100644 --- a/vendor/web-sys/src/features/gen_UserProximityEvent.rs +++ b/vendor/web-sys/src/features/gen_UserProximityEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UserProximityEventInit.rs b/vendor/web-sys/src/features/gen_UserProximityEventInit.rs index 63c45c228..64e63f429 100644 --- a/vendor/web-sys/src/features/gen_UserProximityEventInit.rs +++ b/vendor/web-sys/src/features/gen_UserProximityEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_UserVerificationRequirement.rs b/vendor/web-sys/src/features/gen_UserVerificationRequirement.rs index f683e9554..674372b5b 100644 --- a/vendor/web-sys/src/features/gen_UserVerificationRequirement.rs +++ b/vendor/web-sys/src/features/gen_UserVerificationRequirement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `UserVerificationRequirement` enum."] diff --git a/vendor/web-sys/src/features/gen_ValidityState.rs b/vendor/web-sys/src/features/gen_ValidityState.rs index 4550a3de4..6dffe86e7 100644 --- a/vendor/web-sys/src/features/gen_ValidityState.rs +++ b/vendor/web-sys/src/features/gen_ValidityState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_ValueEvent.rs b/vendor/web-sys/src/features/gen_ValueEvent.rs index dad166121..4956b1d9d 100644 --- a/vendor/web-sys/src/features/gen_ValueEvent.rs +++ b/vendor/web-sys/src/features/gen_ValueEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_ValueEventInit.rs b/vendor/web-sys/src/features/gen_ValueEventInit.rs index 7e6980e59..5de054e0d 100644 --- a/vendor/web-sys/src/features/gen_ValueEventInit.rs +++ b/vendor/web-sys/src/features/gen_ValueEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoColorPrimaries.rs b/vendor/web-sys/src/features/gen_VideoColorPrimaries.rs index 944e60128..31c6f0e73 100644 --- a/vendor/web-sys/src/features/gen_VideoColorPrimaries.rs +++ b/vendor/web-sys/src/features/gen_VideoColorPrimaries.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VideoColorSpace.rs b/vendor/web-sys/src/features/gen_VideoColorSpace.rs index 11287ec9b..dbd617dac 100644 --- a/vendor/web-sys/src/features/gen_VideoColorSpace.rs +++ b/vendor/web-sys/src/features/gen_VideoColorSpace.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoColorSpaceInit.rs b/vendor/web-sys/src/features/gen_VideoColorSpaceInit.rs index 2343649f9..df749ddbd 100644 --- a/vendor/web-sys/src/features/gen_VideoColorSpaceInit.rs +++ b/vendor/web-sys/src/features/gen_VideoColorSpaceInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoConfiguration.rs b/vendor/web-sys/src/features/gen_VideoConfiguration.rs index a69d0039a..3b195f328 100644 --- a/vendor/web-sys/src/features/gen_VideoConfiguration.rs +++ b/vendor/web-sys/src/features/gen_VideoConfiguration.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VideoDecoder.rs b/vendor/web-sys/src/features/gen_VideoDecoder.rs index 591aad1b9..391b80719 100644 --- a/vendor/web-sys/src/features/gen_VideoDecoder.rs +++ b/vendor/web-sys/src/features/gen_VideoDecoder.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoDecoderConfig.rs b/vendor/web-sys/src/features/gen_VideoDecoderConfig.rs index 073b8b4a6..dad941399 100644 --- a/vendor/web-sys/src/features/gen_VideoDecoderConfig.rs +++ b/vendor/web-sys/src/features/gen_VideoDecoderConfig.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoDecoderInit.rs b/vendor/web-sys/src/features/gen_VideoDecoderInit.rs index b1dd38bcc..e0821b156 100644 --- a/vendor/web-sys/src/features/gen_VideoDecoderInit.rs +++ b/vendor/web-sys/src/features/gen_VideoDecoderInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoDecoderSupport.rs b/vendor/web-sys/src/features/gen_VideoDecoderSupport.rs index 44efe4037..6954b2fee 100644 --- a/vendor/web-sys/src/features/gen_VideoDecoderSupport.rs +++ b/vendor/web-sys/src/features/gen_VideoDecoderSupport.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoEncoder.rs b/vendor/web-sys/src/features/gen_VideoEncoder.rs index 28a670772..6144ce26b 100644 --- a/vendor/web-sys/src/features/gen_VideoEncoder.rs +++ b/vendor/web-sys/src/features/gen_VideoEncoder.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoEncoderConfig.rs b/vendor/web-sys/src/features/gen_VideoEncoderConfig.rs index 4d61f21a7..e125dfed9 100644 --- a/vendor/web-sys/src/features/gen_VideoEncoderConfig.rs +++ b/vendor/web-sys/src/features/gen_VideoEncoderConfig.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoEncoderEncodeOptions.rs b/vendor/web-sys/src/features/gen_VideoEncoderEncodeOptions.rs index 345363afa..76e81c9df 100644 --- a/vendor/web-sys/src/features/gen_VideoEncoderEncodeOptions.rs +++ b/vendor/web-sys/src/features/gen_VideoEncoderEncodeOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoEncoderInit.rs b/vendor/web-sys/src/features/gen_VideoEncoderInit.rs index e2c73e0b4..68c17f559 100644 --- a/vendor/web-sys/src/features/gen_VideoEncoderInit.rs +++ b/vendor/web-sys/src/features/gen_VideoEncoderInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoEncoderSupport.rs b/vendor/web-sys/src/features/gen_VideoEncoderSupport.rs index 94dab1e0f..88a602b0a 100644 --- a/vendor/web-sys/src/features/gen_VideoEncoderSupport.rs +++ b/vendor/web-sys/src/features/gen_VideoEncoderSupport.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoFacingModeEnum.rs b/vendor/web-sys/src/features/gen_VideoFacingModeEnum.rs index cabca2883..81fd3839a 100644 --- a/vendor/web-sys/src/features/gen_VideoFacingModeEnum.rs +++ b/vendor/web-sys/src/features/gen_VideoFacingModeEnum.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `VideoFacingModeEnum` enum."] diff --git a/vendor/web-sys/src/features/gen_VideoFrame.rs b/vendor/web-sys/src/features/gen_VideoFrame.rs index bed84f2ed..113029509 100644 --- a/vendor/web-sys/src/features/gen_VideoFrame.rs +++ b/vendor/web-sys/src/features/gen_VideoFrame.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoFrameBufferInit.rs b/vendor/web-sys/src/features/gen_VideoFrameBufferInit.rs index 30607a75d..339b4be93 100644 --- a/vendor/web-sys/src/features/gen_VideoFrameBufferInit.rs +++ b/vendor/web-sys/src/features/gen_VideoFrameBufferInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoFrameCopyToOptions.rs b/vendor/web-sys/src/features/gen_VideoFrameCopyToOptions.rs index 9ba37f789..6278988f6 100644 --- a/vendor/web-sys/src/features/gen_VideoFrameCopyToOptions.rs +++ b/vendor/web-sys/src/features/gen_VideoFrameCopyToOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoFrameInit.rs b/vendor/web-sys/src/features/gen_VideoFrameInit.rs index bf91f0fb7..53224cb93 100644 --- a/vendor/web-sys/src/features/gen_VideoFrameInit.rs +++ b/vendor/web-sys/src/features/gen_VideoFrameInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_VideoMatrixCoefficients.rs b/vendor/web-sys/src/features/gen_VideoMatrixCoefficients.rs index 5520fae08..196688d6a 100644 --- a/vendor/web-sys/src/features/gen_VideoMatrixCoefficients.rs +++ b/vendor/web-sys/src/features/gen_VideoMatrixCoefficients.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VideoPixelFormat.rs b/vendor/web-sys/src/features/gen_VideoPixelFormat.rs index 6b465da51..e2348ed94 100644 --- a/vendor/web-sys/src/features/gen_VideoPixelFormat.rs +++ b/vendor/web-sys/src/features/gen_VideoPixelFormat.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VideoPlaybackQuality.rs b/vendor/web-sys/src/features/gen_VideoPlaybackQuality.rs index 6556f1222..f22b25987 100644 --- a/vendor/web-sys/src/features/gen_VideoPlaybackQuality.rs +++ b/vendor/web-sys/src/features/gen_VideoPlaybackQuality.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VideoStreamTrack.rs b/vendor/web-sys/src/features/gen_VideoStreamTrack.rs index de248ce5f..8d33779a7 100644 --- a/vendor/web-sys/src/features/gen_VideoStreamTrack.rs +++ b/vendor/web-sys/src/features/gen_VideoStreamTrack.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VideoTrack.rs b/vendor/web-sys/src/features/gen_VideoTrack.rs index 08f6e0b02..aa62eb051 100644 --- a/vendor/web-sys/src/features/gen_VideoTrack.rs +++ b/vendor/web-sys/src/features/gen_VideoTrack.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VideoTrackList.rs b/vendor/web-sys/src/features/gen_VideoTrackList.rs index 8a743d5e7..4cd4d08a2 100644 --- a/vendor/web-sys/src/features/gen_VideoTrackList.rs +++ b/vendor/web-sys/src/features/gen_VideoTrackList.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VideoTransferCharacteristics.rs b/vendor/web-sys/src/features/gen_VideoTransferCharacteristics.rs index 7eed7abc9..dbb6684f5 100644 --- a/vendor/web-sys/src/features/gen_VideoTransferCharacteristics.rs +++ b/vendor/web-sys/src/features/gen_VideoTransferCharacteristics.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VisibilityState.rs b/vendor/web-sys/src/features/gen_VisibilityState.rs index a528680cf..7e4dd56b1 100644 --- a/vendor/web-sys/src/features/gen_VisibilityState.rs +++ b/vendor/web-sys/src/features/gen_VisibilityState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `VisibilityState` enum."] diff --git a/vendor/web-sys/src/features/gen_VoidCallback.rs b/vendor/web-sys/src/features/gen_VoidCallback.rs index c76cadcb0..16e8d5120 100644 --- a/vendor/web-sys/src/features/gen_VoidCallback.rs +++ b/vendor/web-sys/src/features/gen_VoidCallback.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VrDisplay.rs b/vendor/web-sys/src/features/gen_VrDisplay.rs index f4f100e86..2abf7e140 100644 --- a/vendor/web-sys/src/features/gen_VrDisplay.rs +++ b/vendor/web-sys/src/features/gen_VrDisplay.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VrDisplayCapabilities.rs b/vendor/web-sys/src/features/gen_VrDisplayCapabilities.rs index 1f02ad81f..69db0bf10 100644 --- a/vendor/web-sys/src/features/gen_VrDisplayCapabilities.rs +++ b/vendor/web-sys/src/features/gen_VrDisplayCapabilities.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VrEye.rs b/vendor/web-sys/src/features/gen_VrEye.rs index ee860299f..690ae13d9 100644 --- a/vendor/web-sys/src/features/gen_VrEye.rs +++ b/vendor/web-sys/src/features/gen_VrEye.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `VrEye` enum."] diff --git a/vendor/web-sys/src/features/gen_VrEyeParameters.rs b/vendor/web-sys/src/features/gen_VrEyeParameters.rs index 6a351c26a..5f92712bb 100644 --- a/vendor/web-sys/src/features/gen_VrEyeParameters.rs +++ b/vendor/web-sys/src/features/gen_VrEyeParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VrFieldOfView.rs b/vendor/web-sys/src/features/gen_VrFieldOfView.rs index 45621b219..9f9c30a19 100644 --- a/vendor/web-sys/src/features/gen_VrFieldOfView.rs +++ b/vendor/web-sys/src/features/gen_VrFieldOfView.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VrFrameData.rs b/vendor/web-sys/src/features/gen_VrFrameData.rs index 697997dbd..a1a3680b6 100644 --- a/vendor/web-sys/src/features/gen_VrFrameData.rs +++ b/vendor/web-sys/src/features/gen_VrFrameData.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VrLayer.rs b/vendor/web-sys/src/features/gen_VrLayer.rs index 6d0adae94..514ab0a6c 100644 --- a/vendor/web-sys/src/features/gen_VrLayer.rs +++ b/vendor/web-sys/src/features/gen_VrLayer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VrMockController.rs b/vendor/web-sys/src/features/gen_VrMockController.rs index 23676c7ef..134a3b529 100644 --- a/vendor/web-sys/src/features/gen_VrMockController.rs +++ b/vendor/web-sys/src/features/gen_VrMockController.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VrMockDisplay.rs b/vendor/web-sys/src/features/gen_VrMockDisplay.rs index 5f503ba12..82fb1298c 100644 --- a/vendor/web-sys/src/features/gen_VrMockDisplay.rs +++ b/vendor/web-sys/src/features/gen_VrMockDisplay.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VrPose.rs b/vendor/web-sys/src/features/gen_VrPose.rs index c7e03eea5..ebbb37f85 100644 --- a/vendor/web-sys/src/features/gen_VrPose.rs +++ b/vendor/web-sys/src/features/gen_VrPose.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VrServiceTest.rs b/vendor/web-sys/src/features/gen_VrServiceTest.rs index 7becadb16..46cd2b268 100644 --- a/vendor/web-sys/src/features/gen_VrServiceTest.rs +++ b/vendor/web-sys/src/features/gen_VrServiceTest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VrStageParameters.rs b/vendor/web-sys/src/features/gen_VrStageParameters.rs index 081ff0535..0c9b199ff 100644 --- a/vendor/web-sys/src/features/gen_VrStageParameters.rs +++ b/vendor/web-sys/src/features/gen_VrStageParameters.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VrSubmitFrameResult.rs b/vendor/web-sys/src/features/gen_VrSubmitFrameResult.rs index b0dd1aebe..788628127 100644 --- a/vendor/web-sys/src/features/gen_VrSubmitFrameResult.rs +++ b/vendor/web-sys/src/features/gen_VrSubmitFrameResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VttCue.rs b/vendor/web-sys/src/features/gen_VttCue.rs index a232704b0..e3b014809 100644 --- a/vendor/web-sys/src/features/gen_VttCue.rs +++ b/vendor/web-sys/src/features/gen_VttCue.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_VttRegion.rs b/vendor/web-sys/src/features/gen_VttRegion.rs index 71e3fb3d0..116a3438c 100644 --- a/vendor/web-sys/src/features/gen_VttRegion.rs +++ b/vendor/web-sys/src/features/gen_VttRegion.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WakeLock.rs b/vendor/web-sys/src/features/gen_WakeLock.rs index ecdad0018..715647b4c 100644 --- a/vendor/web-sys/src/features/gen_WakeLock.rs +++ b/vendor/web-sys/src/features/gen_WakeLock.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_WakeLockSentinel.rs b/vendor/web-sys/src/features/gen_WakeLockSentinel.rs index 3cd67d7f1..253b8a8e8 100644 --- a/vendor/web-sys/src/features/gen_WakeLockSentinel.rs +++ b/vendor/web-sys/src/features/gen_WakeLockSentinel.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_WakeLockType.rs b/vendor/web-sys/src/features/gen_WakeLockType.rs index b09491890..280eda4a1 100644 --- a/vendor/web-sys/src/features/gen_WakeLockType.rs +++ b/vendor/web-sys/src/features/gen_WakeLockType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WatchAdvertisementsOptions.rs b/vendor/web-sys/src/features/gen_WatchAdvertisementsOptions.rs index 175bbfaed..741ed6b4f 100644 --- a/vendor/web-sys/src/features/gen_WatchAdvertisementsOptions.rs +++ b/vendor/web-sys/src/features/gen_WatchAdvertisementsOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_WaveShaperNode.rs b/vendor/web-sys/src/features/gen_WaveShaperNode.rs index 4c3b8c31c..4d1673c6e 100644 --- a/vendor/web-sys/src/features/gen_WaveShaperNode.rs +++ b/vendor/web-sys/src/features/gen_WaveShaperNode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WaveShaperOptions.rs b/vendor/web-sys/src/features/gen_WaveShaperOptions.rs index c3581bc61..95f3a66e9 100644 --- a/vendor/web-sys/src/features/gen_WaveShaperOptions.rs +++ b/vendor/web-sys/src/features/gen_WaveShaperOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGl2RenderingContext.rs b/vendor/web-sys/src/features/gen_WebGl2RenderingContext.rs index 10939857e..a0330978e 100644 --- a/vendor/web-sys/src/features/gen_WebGl2RenderingContext.rs +++ b/vendor/web-sys/src/features/gen_WebGl2RenderingContext.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlActiveInfo.rs b/vendor/web-sys/src/features/gen_WebGlActiveInfo.rs index 985a83b7d..9bc90465d 100644 --- a/vendor/web-sys/src/features/gen_WebGlActiveInfo.rs +++ b/vendor/web-sys/src/features/gen_WebGlActiveInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlBuffer.rs b/vendor/web-sys/src/features/gen_WebGlBuffer.rs index 43f1dfb29..525e3cb85 100644 --- a/vendor/web-sys/src/features/gen_WebGlBuffer.rs +++ b/vendor/web-sys/src/features/gen_WebGlBuffer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlContextAttributes.rs b/vendor/web-sys/src/features/gen_WebGlContextAttributes.rs index 2584339b9..71ce35e80 100644 --- a/vendor/web-sys/src/features/gen_WebGlContextAttributes.rs +++ b/vendor/web-sys/src/features/gen_WebGlContextAttributes.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlContextEvent.rs b/vendor/web-sys/src/features/gen_WebGlContextEvent.rs index 0c328adbd..62339aa93 100644 --- a/vendor/web-sys/src/features/gen_WebGlContextEvent.rs +++ b/vendor/web-sys/src/features/gen_WebGlContextEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlContextEventInit.rs b/vendor/web-sys/src/features/gen_WebGlContextEventInit.rs index 28e1c3fdb..9be6bce33 100644 --- a/vendor/web-sys/src/features/gen_WebGlContextEventInit.rs +++ b/vendor/web-sys/src/features/gen_WebGlContextEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlFramebuffer.rs b/vendor/web-sys/src/features/gen_WebGlFramebuffer.rs index 87c9a60f6..7c4e51813 100644 --- a/vendor/web-sys/src/features/gen_WebGlFramebuffer.rs +++ b/vendor/web-sys/src/features/gen_WebGlFramebuffer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlPowerPreference.rs b/vendor/web-sys/src/features/gen_WebGlPowerPreference.rs index 538918f19..d346fe056 100644 --- a/vendor/web-sys/src/features/gen_WebGlPowerPreference.rs +++ b/vendor/web-sys/src/features/gen_WebGlPowerPreference.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `WebGlPowerPreference` enum."] diff --git a/vendor/web-sys/src/features/gen_WebGlProgram.rs b/vendor/web-sys/src/features/gen_WebGlProgram.rs index 8ed001787..5dcbcae22 100644 --- a/vendor/web-sys/src/features/gen_WebGlProgram.rs +++ b/vendor/web-sys/src/features/gen_WebGlProgram.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlQuery.rs b/vendor/web-sys/src/features/gen_WebGlQuery.rs index 1d2fb0aac..887c68400 100644 --- a/vendor/web-sys/src/features/gen_WebGlQuery.rs +++ b/vendor/web-sys/src/features/gen_WebGlQuery.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlRenderbuffer.rs b/vendor/web-sys/src/features/gen_WebGlRenderbuffer.rs index 3efdd967d..6c917cf0d 100644 --- a/vendor/web-sys/src/features/gen_WebGlRenderbuffer.rs +++ b/vendor/web-sys/src/features/gen_WebGlRenderbuffer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlRenderingContext.rs b/vendor/web-sys/src/features/gen_WebGlRenderingContext.rs index ccf873158..f403ef1db 100644 --- a/vendor/web-sys/src/features/gen_WebGlRenderingContext.rs +++ b/vendor/web-sys/src/features/gen_WebGlRenderingContext.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlSampler.rs b/vendor/web-sys/src/features/gen_WebGlSampler.rs index 6f28463b1..d2743d20b 100644 --- a/vendor/web-sys/src/features/gen_WebGlSampler.rs +++ b/vendor/web-sys/src/features/gen_WebGlSampler.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlShader.rs b/vendor/web-sys/src/features/gen_WebGlShader.rs index 1d4aa8268..53f87b5fa 100644 --- a/vendor/web-sys/src/features/gen_WebGlShader.rs +++ b/vendor/web-sys/src/features/gen_WebGlShader.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlShaderPrecisionFormat.rs b/vendor/web-sys/src/features/gen_WebGlShaderPrecisionFormat.rs index 16e869914..fc4869055 100644 --- a/vendor/web-sys/src/features/gen_WebGlShaderPrecisionFormat.rs +++ b/vendor/web-sys/src/features/gen_WebGlShaderPrecisionFormat.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlSync.rs b/vendor/web-sys/src/features/gen_WebGlSync.rs index 6c8b2e356..41b3c4adb 100644 --- a/vendor/web-sys/src/features/gen_WebGlSync.rs +++ b/vendor/web-sys/src/features/gen_WebGlSync.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlTexture.rs b/vendor/web-sys/src/features/gen_WebGlTexture.rs index 14d7b8e13..fb720e573 100644 --- a/vendor/web-sys/src/features/gen_WebGlTexture.rs +++ b/vendor/web-sys/src/features/gen_WebGlTexture.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlTransformFeedback.rs b/vendor/web-sys/src/features/gen_WebGlTransformFeedback.rs index edfabfb3a..933ce5cee 100644 --- a/vendor/web-sys/src/features/gen_WebGlTransformFeedback.rs +++ b/vendor/web-sys/src/features/gen_WebGlTransformFeedback.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlUniformLocation.rs b/vendor/web-sys/src/features/gen_WebGlUniformLocation.rs index 545667f68..fa1a6a56c 100644 --- a/vendor/web-sys/src/features/gen_WebGlUniformLocation.rs +++ b/vendor/web-sys/src/features/gen_WebGlUniformLocation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebGlVertexArrayObject.rs b/vendor/web-sys/src/features/gen_WebGlVertexArrayObject.rs index 1929efa7e..202edd6fc 100644 --- a/vendor/web-sys/src/features/gen_WebGlVertexArrayObject.rs +++ b/vendor/web-sys/src/features/gen_WebGlVertexArrayObject.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebKitCssMatrix.rs b/vendor/web-sys/src/features/gen_WebKitCssMatrix.rs index a8f024ca6..cf21196eb 100644 --- a/vendor/web-sys/src/features/gen_WebKitCssMatrix.rs +++ b/vendor/web-sys/src/features/gen_WebKitCssMatrix.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebSocket.rs b/vendor/web-sys/src/features/gen_WebSocket.rs index 03143f17f..dfa43aa8d 100644 --- a/vendor/web-sys/src/features/gen_WebSocket.rs +++ b/vendor/web-sys/src/features/gen_WebSocket.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebSocketDict.rs b/vendor/web-sys/src/features/gen_WebSocketDict.rs index 05df3bcf9..c9a67c34c 100644 --- a/vendor/web-sys/src/features/gen_WebSocketDict.rs +++ b/vendor/web-sys/src/features/gen_WebSocketDict.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebSocketElement.rs b/vendor/web-sys/src/features/gen_WebSocketElement.rs index 402e05eb4..99746cd6e 100644 --- a/vendor/web-sys/src/features/gen_WebSocketElement.rs +++ b/vendor/web-sys/src/features/gen_WebSocketElement.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebTransport.rs b/vendor/web-sys/src/features/gen_WebTransport.rs new file mode 100644 index 000000000..350d77608 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransport.rs @@ -0,0 +1,224 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransport , typescript_type = "WebTransport")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransport` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransport; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransport" , 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/WebTransport/ready)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn ready(this: &WebTransport) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportReliabilityMode")] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransport" , js_name = reliability)] + #[doc = "Getter for the `reliability` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/reliability)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`, `WebTransportReliabilityMode`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn reliability(this: &WebTransport) -> WebTransportReliabilityMode; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportCongestionControl")] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransport" , js_name = congestionControl)] + #[doc = "Getter for the `congestionControl` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/congestionControl)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`, `WebTransportCongestionControl`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn congestion_control(this: &WebTransport) -> WebTransportCongestionControl; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransport" , 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/WebTransport/closed)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn closed(this: &WebTransport) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransport" , js_name = draining)] + #[doc = "Getter for the `draining` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/draining)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn draining(this: &WebTransport) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportDatagramDuplexStream")] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransport" , js_name = datagrams)] + #[doc = "Getter for the `datagrams` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/datagrams)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`, `WebTransportDatagramDuplexStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn datagrams(this: &WebTransport) -> WebTransportDatagramDuplexStream; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "ReadableStream")] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransport" , js_name = incomingBidirectionalStreams)] + #[doc = "Getter for the `incomingBidirectionalStreams` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/incomingBidirectionalStreams)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `WebTransport`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn incoming_bidirectional_streams(this: &WebTransport) -> ReadableStream; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "ReadableStream")] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransport" , js_name = incomingUnidirectionalStreams)] + #[doc = "Getter for the `incomingUnidirectionalStreams` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/incomingUnidirectionalStreams)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `WebTransport`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn incoming_unidirectional_streams(this: &WebTransport) -> ReadableStream; + #[cfg(web_sys_unstable_apis)] + #[wasm_bindgen(catch, constructor, js_class = "WebTransport")] + #[doc = "The `new WebTransport(..)` constructor, creating a new instance of `WebTransport`."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/WebTransport)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new(url: &str) -> Result<WebTransport, JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportOptions")] + #[wasm_bindgen(catch, constructor, js_class = "WebTransport")] + #[doc = "The `new WebTransport(..)` constructor, creating a new instance of `WebTransport`."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/WebTransport)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`, `WebTransportOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new_with_options( + url: &str, + options: &WebTransportOptions, + ) -> Result<WebTransport, JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "WebTransport" , js_name = close)] + #[doc = "The `close()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/close)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn close(this: &WebTransport); + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportCloseInfo")] + # [wasm_bindgen (method , structural , js_class = "WebTransport" , js_name = close)] + #[doc = "The `close()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/close)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`, `WebTransportCloseInfo`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn close_with_close_info(this: &WebTransport, close_info: &WebTransportCloseInfo); + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "WebTransport" , js_name = createBidirectionalStream)] + #[doc = "The `createBidirectionalStream()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/createBidirectionalStream)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn create_bidirectional_stream(this: &WebTransport) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportSendStreamOptions")] + # [wasm_bindgen (method , structural , js_class = "WebTransport" , js_name = createBidirectionalStream)] + #[doc = "The `createBidirectionalStream()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/createBidirectionalStream)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`, `WebTransportSendStreamOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn create_bidirectional_stream_with_options( + this: &WebTransport, + options: &WebTransportSendStreamOptions, + ) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "WebTransport" , js_name = createUnidirectionalStream)] + #[doc = "The `createUnidirectionalStream()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/createUnidirectionalStream)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn create_unidirectional_stream(this: &WebTransport) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportSendStreamOptions")] + # [wasm_bindgen (method , structural , js_class = "WebTransport" , js_name = createUnidirectionalStream)] + #[doc = "The `createUnidirectionalStream()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/createUnidirectionalStream)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`, `WebTransportSendStreamOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn create_unidirectional_stream_with_options( + this: &WebTransport, + options: &WebTransportSendStreamOptions, + ) -> ::js_sys::Promise; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "WebTransport" , js_name = getStats)] + #[doc = "The `getStats()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/getStats)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransport`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_stats(this: &WebTransport) -> ::js_sys::Promise; +} diff --git a/vendor/web-sys/src/features/gen_WebTransportBidirectionalStream.rs b/vendor/web-sys/src/features/gen_WebTransportBidirectionalStream.rs new file mode 100644 index 000000000..e74314244 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportBidirectionalStream.rs @@ -0,0 +1,43 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransportBidirectionalStream , typescript_type = "WebTransportBidirectionalStream")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportBidirectionalStream` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportBidirectionalStream)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportBidirectionalStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportBidirectionalStream; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportReceiveStream")] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransportBidirectionalStream" , js_name = readable)] + #[doc = "Getter for the `readable` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportBidirectionalStream/readable)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportBidirectionalStream`, `WebTransportReceiveStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn readable(this: &WebTransportBidirectionalStream) -> WebTransportReceiveStream; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportSendStream")] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransportBidirectionalStream" , js_name = writable)] + #[doc = "Getter for the `writable` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportBidirectionalStream/writable)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportBidirectionalStream`, `WebTransportSendStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn writable(this: &WebTransportBidirectionalStream) -> WebTransportSendStream; +} diff --git a/vendor/web-sys/src/features/gen_WebTransportCloseInfo.rs b/vendor/web-sys/src/features/gen_WebTransportCloseInfo.rs new file mode 100644 index 000000000..1ecd401b8 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportCloseInfo.rs @@ -0,0 +1,76 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransportCloseInfo)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportCloseInfo` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportCloseInfo`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportCloseInfo; +} +#[cfg(web_sys_unstable_apis)] +impl WebTransportCloseInfo { + #[doc = "Construct a new `WebTransportCloseInfo`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportCloseInfo`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `closeCode` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportCloseInfo`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn close_code(&mut self, val: u32) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("closeCode"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `reason` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportCloseInfo`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn reason(&mut self, val: &str) -> &mut Self { + use wasm_bindgen::JsValue; + let r = + ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("reason"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for WebTransportCloseInfo { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_WebTransportCongestionControl.rs b/vendor/web-sys/src/features/gen_WebTransportCongestionControl.rs new file mode 100644 index 000000000..5838a3f94 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportCongestionControl.rs @@ -0,0 +1,17 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +#[doc = "The `WebTransportCongestionControl` enum."] +#[doc = ""] +#[doc = "*This API requires the following crate features to be activated: `WebTransportCongestionControl`*"] +#[doc = ""] +#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] +#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum WebTransportCongestionControl { + Default = "default", + Throughput = "throughput", + LowLatency = "low-latency", +} diff --git a/vendor/web-sys/src/features/gen_WebTransportDatagramDuplexStream.rs b/vendor/web-sys/src/features/gen_WebTransportDatagramDuplexStream.rs new file mode 100644 index 000000000..4b5fdb6d0 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportDatagramDuplexStream.rs @@ -0,0 +1,142 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransportDatagramDuplexStream , typescript_type = "WebTransportDatagramDuplexStream")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportDatagramDuplexStream` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramDuplexStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportDatagramDuplexStream; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "ReadableStream")] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransportDatagramDuplexStream" , js_name = readable)] + #[doc = "Getter for the `readable` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/readable)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `WebTransportDatagramDuplexStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn readable(this: &WebTransportDatagramDuplexStream) -> ReadableStream; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WritableStream")] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransportDatagramDuplexStream" , js_name = writable)] + #[doc = "Getter for the `writable` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/writable)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramDuplexStream`, `WritableStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn writable(this: &WebTransportDatagramDuplexStream) -> WritableStream; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransportDatagramDuplexStream" , js_name = maxDatagramSize)] + #[doc = "Getter for the `maxDatagramSize` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/maxDatagramSize)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramDuplexStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn max_datagram_size(this: &WebTransportDatagramDuplexStream) -> u32; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransportDatagramDuplexStream" , js_name = incomingMaxAge)] + #[doc = "Getter for the `incomingMaxAge` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramDuplexStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn incoming_max_age(this: &WebTransportDatagramDuplexStream) -> f64; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , setter , js_class = "WebTransportDatagramDuplexStream" , js_name = incomingMaxAge)] + #[doc = "Setter for the `incomingMaxAge` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramDuplexStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn set_incoming_max_age(this: &WebTransportDatagramDuplexStream, value: f64); + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransportDatagramDuplexStream" , js_name = outgoingMaxAge)] + #[doc = "Getter for the `outgoingMaxAge` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramDuplexStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn outgoing_max_age(this: &WebTransportDatagramDuplexStream) -> f64; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , setter , js_class = "WebTransportDatagramDuplexStream" , js_name = outgoingMaxAge)] + #[doc = "Setter for the `outgoingMaxAge` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramDuplexStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn set_outgoing_max_age(this: &WebTransportDatagramDuplexStream, value: f64); + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransportDatagramDuplexStream" , js_name = incomingHighWaterMark)] + #[doc = "Getter for the `incomingHighWaterMark` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/incomingHighWaterMark)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramDuplexStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn incoming_high_water_mark(this: &WebTransportDatagramDuplexStream) -> f64; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , setter , js_class = "WebTransportDatagramDuplexStream" , js_name = incomingHighWaterMark)] + #[doc = "Setter for the `incomingHighWaterMark` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/incomingHighWaterMark)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramDuplexStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn set_incoming_high_water_mark(this: &WebTransportDatagramDuplexStream, value: f64); + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransportDatagramDuplexStream" , js_name = outgoingHighWaterMark)] + #[doc = "Getter for the `outgoingHighWaterMark` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/outgoingHighWaterMark)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramDuplexStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn outgoing_high_water_mark(this: &WebTransportDatagramDuplexStream) -> f64; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , setter , js_class = "WebTransportDatagramDuplexStream" , js_name = outgoingHighWaterMark)] + #[doc = "Setter for the `outgoingHighWaterMark` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/outgoingHighWaterMark)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramDuplexStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn set_outgoing_high_water_mark(this: &WebTransportDatagramDuplexStream, value: f64); +} diff --git a/vendor/web-sys/src/features/gen_WebTransportDatagramStats.rs b/vendor/web-sys/src/features/gen_WebTransportDatagramStats.rs new file mode 100644 index 000000000..8817e6b20 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportDatagramStats.rs @@ -0,0 +1,121 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransportDatagramStats)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportDatagramStats` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportDatagramStats; +} +#[cfg(web_sys_unstable_apis)] +impl WebTransportDatagramStats { + #[doc = "Construct a new `WebTransportDatagramStats`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `droppedIncoming` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn dropped_incoming(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("droppedIncoming"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `expiredOutgoing` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn expired_outgoing(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("expiredOutgoing"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `lostOutgoing` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn lost_outgoing(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("lostOutgoing"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `timestamp` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn timestamp(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("timestamp"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for WebTransportDatagramStats { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_WebTransportError.rs b/vendor/web-sys/src/features/gen_WebTransportError.rs new file mode 100644 index 000000000..5c073b902 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportError.rs @@ -0,0 +1,79 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = DomException , extends = :: js_sys :: Object , js_name = WebTransportError , typescript_type = "WebTransportError")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportError` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportError)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportError`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportError; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportErrorSource")] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransportError" , 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/WebTransportError/source)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportError`, `WebTransportErrorSource`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn source(this: &WebTransportError) -> WebTransportErrorSource; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (structural , method , getter , js_class = "WebTransportError" , js_name = streamErrorCode)] + #[doc = "Getter for the `streamErrorCode` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportError/streamErrorCode)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportError`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn stream_error_code(this: &WebTransportError) -> Option<u8>; + #[cfg(web_sys_unstable_apis)] + #[wasm_bindgen(catch, constructor, js_class = "WebTransportError")] + #[doc = "The `new WebTransportError(..)` constructor, creating a new instance of `WebTransportError`."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportError/WebTransportError)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportError`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Result<WebTransportError, JsValue>; + #[cfg(web_sys_unstable_apis)] + #[wasm_bindgen(catch, constructor, js_class = "WebTransportError")] + #[doc = "The `new WebTransportError(..)` constructor, creating a new instance of `WebTransportError`."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportError/WebTransportError)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportError`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new_with_message(message: &str) -> Result<WebTransportError, JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportErrorOptions")] + #[wasm_bindgen(catch, constructor, js_class = "WebTransportError")] + #[doc = "The `new WebTransportError(..)` constructor, creating a new instance of `WebTransportError`."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportError/WebTransportError)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportError`, `WebTransportErrorOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new_with_message_and_options( + message: &str, + options: &WebTransportErrorOptions, + ) -> Result<WebTransportError, JsValue>; +} diff --git a/vendor/web-sys/src/features/gen_WebTransportErrorOptions.rs b/vendor/web-sys/src/features/gen_WebTransportErrorOptions.rs new file mode 100644 index 000000000..e643b6207 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportErrorOptions.rs @@ -0,0 +1,77 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransportErrorOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportErrorOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportErrorOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportErrorOptions; +} +#[cfg(web_sys_unstable_apis)] +impl WebTransportErrorOptions { + #[doc = "Construct a new `WebTransportErrorOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportErrorOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportErrorSource")] + #[doc = "Change the `source` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportErrorOptions`, `WebTransportErrorSource`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn source(&mut self, val: WebTransportErrorSource) -> &mut Self { + use wasm_bindgen::JsValue; + let r = + ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("source"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `streamErrorCode` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportErrorOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn stream_error_code(&mut self, val: Option<u8>) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("streamErrorCode"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for WebTransportErrorOptions { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_WebTransportErrorSource.rs b/vendor/web-sys/src/features/gen_WebTransportErrorSource.rs new file mode 100644 index 000000000..1e49ce892 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportErrorSource.rs @@ -0,0 +1,16 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +#[doc = "The `WebTransportErrorSource` enum."] +#[doc = ""] +#[doc = "*This API requires the following crate features to be activated: `WebTransportErrorSource`*"] +#[doc = ""] +#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] +#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum WebTransportErrorSource { + Stream = "stream", + Session = "session", +} diff --git a/vendor/web-sys/src/features/gen_WebTransportHash.rs b/vendor/web-sys/src/features/gen_WebTransportHash.rs new file mode 100644 index 000000000..1ec62f4a8 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportHash.rs @@ -0,0 +1,75 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransportHash)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportHash` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportHash`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportHash; +} +#[cfg(web_sys_unstable_apis)] +impl WebTransportHash { + #[doc = "Construct a new `WebTransportHash`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportHash`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `algorithm` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportHash`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn algorithm(&mut self, val: &str) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("algorithm"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `value` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportHash`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn value(&mut self, val: &::js_sys::Object) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for WebTransportHash { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_WebTransportOptions.rs b/vendor/web-sys/src/features/gen_WebTransportOptions.rs new file mode 100644 index 000000000..178e32110 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportOptions.rs @@ -0,0 +1,122 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransportOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportOptions; +} +#[cfg(web_sys_unstable_apis)] +impl WebTransportOptions { + #[doc = "Construct a new `WebTransportOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `allowPooling` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn allow_pooling(&mut self, val: bool) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("allowPooling"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportCongestionControl")] + #[doc = "Change the `congestionControl` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportCongestionControl`, `WebTransportOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn congestion_control(&mut self, val: WebTransportCongestionControl) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("congestionControl"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `requireUnreliable` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn require_unreliable(&mut self, val: bool) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("requireUnreliable"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `serverCertificateHashes` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn server_certificate_hashes(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("serverCertificateHashes"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for WebTransportOptions { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_WebTransportReceiveStream.rs b/vendor/web-sys/src/features/gen_WebTransportReceiveStream.rs new file mode 100644 index 000000000..1686340a1 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportReceiveStream.rs @@ -0,0 +1,30 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = ReadableStream , extends = :: js_sys :: Object , js_name = WebTransportReceiveStream , typescript_type = "WebTransportReceiveStream")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportReceiveStream` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportReceiveStream)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportReceiveStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportReceiveStream; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "WebTransportReceiveStream" , js_name = getStats)] + #[doc = "The `getStats()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportReceiveStream/getStats)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportReceiveStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_stats(this: &WebTransportReceiveStream) -> ::js_sys::Promise; +} diff --git a/vendor/web-sys/src/features/gen_WebTransportReceiveStreamStats.rs b/vendor/web-sys/src/features/gen_WebTransportReceiveStreamStats.rs new file mode 100644 index 000000000..635908f98 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportReceiveStreamStats.rs @@ -0,0 +1,100 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransportReceiveStreamStats)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportReceiveStreamStats` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportReceiveStreamStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportReceiveStreamStats; +} +#[cfg(web_sys_unstable_apis)] +impl WebTransportReceiveStreamStats { + #[doc = "Construct a new `WebTransportReceiveStreamStats`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportReceiveStreamStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `bytesRead` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportReceiveStreamStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn bytes_read(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("bytesRead"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `bytesReceived` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportReceiveStreamStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn bytes_received(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("bytesReceived"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `timestamp` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportReceiveStreamStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn timestamp(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("timestamp"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for WebTransportReceiveStreamStats { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_WebTransportReliabilityMode.rs b/vendor/web-sys/src/features/gen_WebTransportReliabilityMode.rs new file mode 100644 index 000000000..5bdba27c6 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportReliabilityMode.rs @@ -0,0 +1,17 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +#[doc = "The `WebTransportReliabilityMode` enum."] +#[doc = ""] +#[doc = "*This API requires the following crate features to be activated: `WebTransportReliabilityMode`*"] +#[doc = ""] +#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] +#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum WebTransportReliabilityMode { + Pending = "pending", + ReliableOnly = "reliable-only", + SupportsUnreliable = "supports-unreliable", +} diff --git a/vendor/web-sys/src/features/gen_WebTransportSendStream.rs b/vendor/web-sys/src/features/gen_WebTransportSendStream.rs new file mode 100644 index 000000000..6377f1125 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportSendStream.rs @@ -0,0 +1,30 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = WritableStream , extends = :: js_sys :: Object , js_name = WebTransportSendStream , typescript_type = "WebTransportSendStream")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportSendStream` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportSendStream)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportSendStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportSendStream; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (method , structural , js_class = "WebTransportSendStream" , js_name = getStats)] + #[doc = "The `getStats()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportSendStream/getStats)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportSendStream`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn get_stats(this: &WebTransportSendStream) -> ::js_sys::Promise; +} diff --git a/vendor/web-sys/src/features/gen_WebTransportSendStreamOptions.rs b/vendor/web-sys/src/features/gen_WebTransportSendStreamOptions.rs new file mode 100644 index 000000000..61d694c8e --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportSendStreamOptions.rs @@ -0,0 +1,58 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransportSendStreamOptions)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportSendStreamOptions` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportSendStreamOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportSendStreamOptions; +} +#[cfg(web_sys_unstable_apis)] +impl WebTransportSendStreamOptions { + #[doc = "Construct a new `WebTransportSendStreamOptions`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportSendStreamOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `sendOrder` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportSendStreamOptions`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn send_order(&mut self, val: Option<f64>) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("sendOrder"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for WebTransportSendStreamOptions { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_WebTransportSendStreamStats.rs b/vendor/web-sys/src/features/gen_WebTransportSendStreamStats.rs new file mode 100644 index 000000000..524a1bcfc --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportSendStreamStats.rs @@ -0,0 +1,121 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransportSendStreamStats)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportSendStreamStats` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportSendStreamStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportSendStreamStats; +} +#[cfg(web_sys_unstable_apis)] +impl WebTransportSendStreamStats { + #[doc = "Construct a new `WebTransportSendStreamStats`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportSendStreamStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `bytesAcknowledged` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportSendStreamStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn bytes_acknowledged(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("bytesAcknowledged"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `bytesSent` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportSendStreamStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn bytes_sent(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("bytesSent"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `bytesWritten` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportSendStreamStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn bytes_written(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("bytesWritten"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `timestamp` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportSendStreamStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn timestamp(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("timestamp"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for WebTransportSendStreamStats { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_WebTransportStats.rs b/vendor/web-sys/src/features/gen_WebTransportStats.rs new file mode 100644 index 000000000..d28d35440 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebTransportStats.rs @@ -0,0 +1,287 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransportStats)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebTransportStats` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WebTransportStats; +} +#[cfg(web_sys_unstable_apis)] +impl WebTransportStats { + #[doc = "Construct a new `WebTransportStats`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new() -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `bytesReceived` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn bytes_received(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("bytesReceived"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `bytesSent` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn bytes_sent(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("bytesSent"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WebTransportDatagramStats")] + #[doc = "Change the `datagrams` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportDatagramStats`, `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn datagrams(&mut self, val: &WebTransportDatagramStats) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("datagrams"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `minRtt` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn min_rtt(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = + ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("minRtt"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `numIncomingStreamsCreated` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn num_incoming_streams_created(&mut self, val: u32) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("numIncomingStreamsCreated"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `numOutgoingStreamsCreated` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn num_outgoing_streams_created(&mut self, val: u32) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("numOutgoingStreamsCreated"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `packetsLost` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn packets_lost(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("packetsLost"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `packetsReceived` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn packets_received(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("packetsReceived"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `packetsSent` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn packets_sent(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("packetsSent"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `rttVariation` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn rtt_variation(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("rttVariation"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `smoothedRtt` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn smoothed_rtt(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("smoothedRtt"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `timestamp` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebTransportStats`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn timestamp(&mut self, val: f64) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("timestamp"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} +#[cfg(web_sys_unstable_apis)] +impl Default for WebTransportStats { + fn default() -> Self { + Self::new() + } +} diff --git a/vendor/web-sys/src/features/gen_WebglColorBufferFloat.rs b/vendor/web-sys/src/features/gen_WebglColorBufferFloat.rs index d16789ab5..d8c1949dd 100644 --- a/vendor/web-sys/src/features/gen_WebglColorBufferFloat.rs +++ b/vendor/web-sys/src/features/gen_WebglColorBufferFloat.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTextureAstc.rs b/vendor/web-sys/src/features/gen_WebglCompressedTextureAstc.rs index fb369c283..54ad5141a 100644 --- a/vendor/web-sys/src/features/gen_WebglCompressedTextureAstc.rs +++ b/vendor/web-sys/src/features/gen_WebglCompressedTextureAstc.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTextureAtc.rs b/vendor/web-sys/src/features/gen_WebglCompressedTextureAtc.rs index 403a2329f..67d64d272 100644 --- a/vendor/web-sys/src/features/gen_WebglCompressedTextureAtc.rs +++ b/vendor/web-sys/src/features/gen_WebglCompressedTextureAtc.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc.rs b/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc.rs index 37d7323a8..6d1e0e58d 100644 --- a/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc.rs +++ b/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc1.rs b/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc1.rs index 52dc55734..896feba4b 100644 --- a/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc1.rs +++ b/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc1.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTexturePvrtc.rs b/vendor/web-sys/src/features/gen_WebglCompressedTexturePvrtc.rs index ec34d1914..1535eb03d 100644 --- a/vendor/web-sys/src/features/gen_WebglCompressedTexturePvrtc.rs +++ b/vendor/web-sys/src/features/gen_WebglCompressedTexturePvrtc.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tc.rs b/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tc.rs index 450b1a730..782650947 100644 --- a/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tc.rs +++ b/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tc.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tcSrgb.rs b/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tcSrgb.rs index 94141e772..19aa64472 100644 --- a/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tcSrgb.rs +++ b/vendor/web-sys/src/features/gen_WebglCompressedTextureS3tcSrgb.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebglDebugRendererInfo.rs b/vendor/web-sys/src/features/gen_WebglDebugRendererInfo.rs index 2ef3172d3..9087f072f 100644 --- a/vendor/web-sys/src/features/gen_WebglDebugRendererInfo.rs +++ b/vendor/web-sys/src/features/gen_WebglDebugRendererInfo.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebglDebugShaders.rs b/vendor/web-sys/src/features/gen_WebglDebugShaders.rs index 01f5403a4..c3db2401d 100644 --- a/vendor/web-sys/src/features/gen_WebglDebugShaders.rs +++ b/vendor/web-sys/src/features/gen_WebglDebugShaders.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebglDepthTexture.rs b/vendor/web-sys/src/features/gen_WebglDepthTexture.rs index 301f58bb6..5b2fe181d 100644 --- a/vendor/web-sys/src/features/gen_WebglDepthTexture.rs +++ b/vendor/web-sys/src/features/gen_WebglDepthTexture.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebglDrawBuffers.rs b/vendor/web-sys/src/features/gen_WebglDrawBuffers.rs index a12d67b52..c6ab986d0 100644 --- a/vendor/web-sys/src/features/gen_WebglDrawBuffers.rs +++ b/vendor/web-sys/src/features/gen_WebglDrawBuffers.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebglLoseContext.rs b/vendor/web-sys/src/features/gen_WebglLoseContext.rs index 5bf059b55..62fd4232e 100644 --- a/vendor/web-sys/src/features/gen_WebglLoseContext.rs +++ b/vendor/web-sys/src/features/gen_WebglLoseContext.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebglMultiDraw.rs b/vendor/web-sys/src/features/gen_WebglMultiDraw.rs index a8d3cbc7b..cf669c522 100644 --- a/vendor/web-sys/src/features/gen_WebglMultiDraw.rs +++ b/vendor/web-sys/src/features/gen_WebglMultiDraw.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WebrtcGlobalStatisticsReport.rs b/vendor/web-sys/src/features/gen_WebrtcGlobalStatisticsReport.rs index 9a2e1991f..a06f06ede 100644 --- a/vendor/web-sys/src/features/gen_WebrtcGlobalStatisticsReport.rs +++ b/vendor/web-sys/src/features/gen_WebrtcGlobalStatisticsReport.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WheelEvent.rs b/vendor/web-sys/src/features/gen_WheelEvent.rs index cbf9365d2..885954dd4 100644 --- a/vendor/web-sys/src/features/gen_WheelEvent.rs +++ b/vendor/web-sys/src/features/gen_WheelEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WheelEventInit.rs b/vendor/web-sys/src/features/gen_WheelEventInit.rs index 2d65bee28..c29db30d0 100644 --- a/vendor/web-sys/src/features/gen_WheelEventInit.rs +++ b/vendor/web-sys/src/features/gen_WheelEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WidevineCdmManifest.rs b/vendor/web-sys/src/features/gen_WidevineCdmManifest.rs index cd5e0cdaf..3d8ba3f4b 100644 --- a/vendor/web-sys/src/features/gen_WidevineCdmManifest.rs +++ b/vendor/web-sys/src/features/gen_WidevineCdmManifest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Window.rs b/vendor/web-sys/src/features/gen_Window.rs index 724f293ba..55a200144 100644 --- a/vendor/web-sys/src/features/gen_Window.rs +++ b/vendor/web-sys/src/features/gen_Window.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] @@ -1966,13 +1967,6 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `Window`*"] pub fn blur(this: &Window) -> Result<(), JsValue>; - # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = cancelAnimationFrame)] - #[doc = "The `cancelAnimationFrame()` method."] - #[doc = ""] - #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelAnimationFrame)"] - #[doc = ""] - #[doc = "*This API requires the following crate features to be activated: `Window`*"] - pub fn cancel_animation_frame(this: &Window, handle: i32) -> Result<(), JsValue>; # [wasm_bindgen (method , structural , js_class = "Window" , js_name = cancelIdleCallback)] #[doc = "The `cancelIdleCallback()` method."] #[doc = ""] @@ -2160,6 +2154,32 @@ extern "C" { message: &str, default: &str, ) -> Result<Option<String>, JsValue>; + #[cfg(web_sys_unstable_apis)] + # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = queryLocalFonts)] + #[doc = "The `queryLocalFonts()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/queryLocalFonts)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Window`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn query_local_fonts(this: &Window) -> Result<::js_sys::Promise, JsValue>; + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "QueryOptions")] + # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = queryLocalFonts)] + #[doc = "The `queryLocalFonts()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/queryLocalFonts)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `QueryOptions`, `Window`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn query_local_fonts_with_options( + this: &Window, + options: &QueryOptions, + ) -> Result<::js_sys::Promise, JsValue>; # [wasm_bindgen (method , structural , js_class = "Window" , js_name = releaseEvents)] #[doc = "The `releaseEvents()` method."] #[doc = ""] @@ -2167,16 +2187,6 @@ extern "C" { #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `Window`*"] pub fn release_events(this: &Window); - # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = requestAnimationFrame)] - #[doc = "The `requestAnimationFrame()` method."] - #[doc = ""] - #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame)"] - #[doc = ""] - #[doc = "*This API requires the following crate features to be activated: `Window`*"] - pub fn request_animation_frame( - this: &Window, - callback: &::js_sys::Function, - ) -> Result<i32, JsValue>; # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = requestIdleCallback)] #[doc = "The `requestIdleCallback()` method."] #[doc = ""] @@ -2293,6 +2303,23 @@ 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 = 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 (catch , method , structural , js_class = "Window" , js_name = requestAnimationFrame)] + #[doc = "The `requestAnimationFrame()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Window`*"] + pub fn request_animation_frame( + this: &Window, + callback: &::js_sys::Function, + ) -> Result<i32, JsValue>; # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = atob)] #[doc = "The `atob()` method."] #[doc = ""] diff --git a/vendor/web-sys/src/features/gen_WindowClient.rs b/vendor/web-sys/src/features/gen_WindowClient.rs index 883de35ed..7aa5de8d9 100644 --- a/vendor/web-sys/src/features/gen_WindowClient.rs +++ b/vendor/web-sys/src/features/gen_WindowClient.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_Worker.rs b/vendor/web-sys/src/features/gen_Worker.rs index ba9139f70..70b2266aa 100644 --- a/vendor/web-sys/src/features/gen_Worker.rs +++ b/vendor/web-sys/src/features/gen_Worker.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WorkerDebuggerGlobalScope.rs b/vendor/web-sys/src/features/gen_WorkerDebuggerGlobalScope.rs index e2bd8ee54..8239c904f 100644 --- a/vendor/web-sys/src/features/gen_WorkerDebuggerGlobalScope.rs +++ b/vendor/web-sys/src/features/gen_WorkerDebuggerGlobalScope.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WorkerGlobalScope.rs b/vendor/web-sys/src/features/gen_WorkerGlobalScope.rs index 52e9a44c9..0a8dac06a 100644 --- a/vendor/web-sys/src/features/gen_WorkerGlobalScope.rs +++ b/vendor/web-sys/src/features/gen_WorkerGlobalScope.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WorkerLocation.rs b/vendor/web-sys/src/features/gen_WorkerLocation.rs index 643fd1d36..f8c93987d 100644 --- a/vendor/web-sys/src/features/gen_WorkerLocation.rs +++ b/vendor/web-sys/src/features/gen_WorkerLocation.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WorkerNavigator.rs b/vendor/web-sys/src/features/gen_WorkerNavigator.rs index b0eb70305..e1038bda3 100644 --- a/vendor/web-sys/src/features/gen_WorkerNavigator.rs +++ b/vendor/web-sys/src/features/gen_WorkerNavigator.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WorkerOptions.rs b/vendor/web-sys/src/features/gen_WorkerOptions.rs index b4e679145..a63503637 100644 --- a/vendor/web-sys/src/features/gen_WorkerOptions.rs +++ b/vendor/web-sys/src/features/gen_WorkerOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WorkerType.rs b/vendor/web-sys/src/features/gen_WorkerType.rs index 3ae500156..d67706b41 100644 --- a/vendor/web-sys/src/features/gen_WorkerType.rs +++ b/vendor/web-sys/src/features/gen_WorkerType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `WorkerType` enum."] diff --git a/vendor/web-sys/src/features/gen_Worklet.rs b/vendor/web-sys/src/features/gen_Worklet.rs index fec6b6dcc..3c4ce39f8 100644 --- a/vendor/web-sys/src/features/gen_Worklet.rs +++ b/vendor/web-sys/src/features/gen_Worklet.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WorkletGlobalScope.rs b/vendor/web-sys/src/features/gen_WorkletGlobalScope.rs index 26931699c..d37c4607a 100644 --- a/vendor/web-sys/src/features/gen_WorkletGlobalScope.rs +++ b/vendor/web-sys/src/features/gen_WorkletGlobalScope.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WorkletOptions.rs b/vendor/web-sys/src/features/gen_WorkletOptions.rs index d14e13b7a..12ce913b3 100644 --- a/vendor/web-sys/src/features/gen_WorkletOptions.rs +++ b/vendor/web-sys/src/features/gen_WorkletOptions.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WritableStream.rs b/vendor/web-sys/src/features/gen_WritableStream.rs index 48124a3b8..c831b1237 100644 --- a/vendor/web-sys/src/features/gen_WritableStream.rs +++ b/vendor/web-sys/src/features/gen_WritableStream.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WritableStreamDefaultController.rs b/vendor/web-sys/src/features/gen_WritableStreamDefaultController.rs index 424a635c9..25d26faaf 100644 --- a/vendor/web-sys/src/features/gen_WritableStreamDefaultController.rs +++ b/vendor/web-sys/src/features/gen_WritableStreamDefaultController.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WritableStreamDefaultWriter.rs b/vendor/web-sys/src/features/gen_WritableStreamDefaultWriter.rs index 2cda53f95..536b935a4 100644 --- a/vendor/web-sys/src/features/gen_WritableStreamDefaultWriter.rs +++ b/vendor/web-sys/src/features/gen_WritableStreamDefaultWriter.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_WriteCommandType.rs b/vendor/web-sys/src/features/gen_WriteCommandType.rs new file mode 100644 index 000000000..7a4f3684c --- /dev/null +++ b/vendor/web-sys/src/features/gen_WriteCommandType.rs @@ -0,0 +1,17 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +#[doc = "The `WriteCommandType` enum."] +#[doc = ""] +#[doc = "*This API requires the following crate features to be activated: `WriteCommandType`*"] +#[doc = ""] +#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] +#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum WriteCommandType { + Write = "write", + Seek = "seek", + Truncate = "truncate", +} diff --git a/vendor/web-sys/src/features/gen_WriteParams.rs b/vendor/web-sys/src/features/gen_WriteParams.rs new file mode 100644 index 000000000..a142040f8 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WriteParams.rs @@ -0,0 +1,106 @@ +#![allow(unused_imports)] +#![allow(clippy::all)] +use super::*; +use wasm_bindgen::prelude::*; +#[cfg(web_sys_unstable_apis)] +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WriteParams)] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WriteParams` dictionary."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WriteParams`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub type WriteParams; +} +#[cfg(web_sys_unstable_apis)] +impl WriteParams { + #[cfg(feature = "WriteCommandType")] + #[doc = "Construct a new `WriteParams`."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WriteCommandType`, `WriteParams`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn new(type_: WriteCommandType) -> Self { + #[allow(unused_mut)] + let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new()); + ret.type_(type_); + ret + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `data` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WriteParams`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn data(&mut self, val: Option<&::wasm_bindgen::JsValue>) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("data"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `position` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WriteParams`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn position(&mut self, val: Option<f64>) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set( + self.as_ref(), + &JsValue::from("position"), + &JsValue::from(val), + ); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[doc = "Change the `size` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WriteParams`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn size(&mut self, val: Option<f64>) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("size"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } + #[cfg(web_sys_unstable_apis)] + #[cfg(feature = "WriteCommandType")] + #[doc = "Change the `type` field of this object."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WriteCommandType`, `WriteParams`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn type_(&mut self, val: WriteCommandType) -> &mut Self { + use wasm_bindgen::JsValue; + let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("type"), &JsValue::from(val)); + debug_assert!( + r.is_ok(), + "setting properties should never fail on our dictionary objects" + ); + let _ = r; + self + } +} diff --git a/vendor/web-sys/src/features/gen_XPathExpression.rs b/vendor/web-sys/src/features/gen_XPathExpression.rs index 6a09c700a..c7c3626e8 100644 --- a/vendor/web-sys/src/features/gen_XPathExpression.rs +++ b/vendor/web-sys/src/features/gen_XPathExpression.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XPathNsResolver.rs b/vendor/web-sys/src/features/gen_XPathNsResolver.rs index 742082877..89ec857a3 100644 --- a/vendor/web-sys/src/features/gen_XPathNsResolver.rs +++ b/vendor/web-sys/src/features/gen_XPathNsResolver.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XPathResult.rs b/vendor/web-sys/src/features/gen_XPathResult.rs index a006a893d..1ed07af87 100644 --- a/vendor/web-sys/src/features/gen_XPathResult.rs +++ b/vendor/web-sys/src/features/gen_XPathResult.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XmlDocument.rs b/vendor/web-sys/src/features/gen_XmlDocument.rs index d1f2c8585..572ab0596 100644 --- a/vendor/web-sys/src/features/gen_XmlDocument.rs +++ b/vendor/web-sys/src/features/gen_XmlDocument.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XmlHttpRequest.rs b/vendor/web-sys/src/features/gen_XmlHttpRequest.rs index 06522f888..fc95ec588 100644 --- a/vendor/web-sys/src/features/gen_XmlHttpRequest.rs +++ b/vendor/web-sys/src/features/gen_XmlHttpRequest.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XmlHttpRequestEventTarget.rs b/vendor/web-sys/src/features/gen_XmlHttpRequestEventTarget.rs index f4e90fd6c..0ad1ae1a1 100644 --- a/vendor/web-sys/src/features/gen_XmlHttpRequestEventTarget.rs +++ b/vendor/web-sys/src/features/gen_XmlHttpRequestEventTarget.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XmlHttpRequestResponseType.rs b/vendor/web-sys/src/features/gen_XmlHttpRequestResponseType.rs index 8144e3e07..f1c4feb6d 100644 --- a/vendor/web-sys/src/features/gen_XmlHttpRequestResponseType.rs +++ b/vendor/web-sys/src/features/gen_XmlHttpRequestResponseType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[wasm_bindgen] #[doc = "The `XmlHttpRequestResponseType` enum."] diff --git a/vendor/web-sys/src/features/gen_XmlHttpRequestUpload.rs b/vendor/web-sys/src/features/gen_XmlHttpRequestUpload.rs index d21af9af4..efea1f71e 100644 --- a/vendor/web-sys/src/features/gen_XmlHttpRequestUpload.rs +++ b/vendor/web-sys/src/features/gen_XmlHttpRequestUpload.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XmlSerializer.rs b/vendor/web-sys/src/features/gen_XmlSerializer.rs index 8243e9696..0d00e9524 100644 --- a/vendor/web-sys/src/features/gen_XmlSerializer.rs +++ b/vendor/web-sys/src/features/gen_XmlSerializer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XrBoundedReferenceSpace.rs b/vendor/web-sys/src/features/gen_XrBoundedReferenceSpace.rs index 79b217a08..e7b4f3f42 100644 --- a/vendor/web-sys/src/features/gen_XrBoundedReferenceSpace.rs +++ b/vendor/web-sys/src/features/gen_XrBoundedReferenceSpace.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrEye.rs b/vendor/web-sys/src/features/gen_XrEye.rs index a09d8100c..079c1ed2e 100644 --- a/vendor/web-sys/src/features/gen_XrEye.rs +++ b/vendor/web-sys/src/features/gen_XrEye.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XrFrame.rs b/vendor/web-sys/src/features/gen_XrFrame.rs index 215202271..84d4d5d78 100644 --- a/vendor/web-sys/src/features/gen_XrFrame.rs +++ b/vendor/web-sys/src/features/gen_XrFrame.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrHand.rs b/vendor/web-sys/src/features/gen_XrHand.rs index c0484be8f..ad496a99f 100644 --- a/vendor/web-sys/src/features/gen_XrHand.rs +++ b/vendor/web-sys/src/features/gen_XrHand.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrHandJoint.rs b/vendor/web-sys/src/features/gen_XrHandJoint.rs index 85dd94563..8edc73452 100644 --- a/vendor/web-sys/src/features/gen_XrHandJoint.rs +++ b/vendor/web-sys/src/features/gen_XrHandJoint.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XrHandedness.rs b/vendor/web-sys/src/features/gen_XrHandedness.rs index a3095d7b7..faadaa848 100644 --- a/vendor/web-sys/src/features/gen_XrHandedness.rs +++ b/vendor/web-sys/src/features/gen_XrHandedness.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XrInputSource.rs b/vendor/web-sys/src/features/gen_XrInputSource.rs index e02f1e927..d2f84dad5 100644 --- a/vendor/web-sys/src/features/gen_XrInputSource.rs +++ b/vendor/web-sys/src/features/gen_XrInputSource.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrInputSourceArray.rs b/vendor/web-sys/src/features/gen_XrInputSourceArray.rs index 72c723b28..d0d03e5f4 100644 --- a/vendor/web-sys/src/features/gen_XrInputSourceArray.rs +++ b/vendor/web-sys/src/features/gen_XrInputSourceArray.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrInputSourceEvent.rs b/vendor/web-sys/src/features/gen_XrInputSourceEvent.rs index 3efc22ae4..def638172 100644 --- a/vendor/web-sys/src/features/gen_XrInputSourceEvent.rs +++ b/vendor/web-sys/src/features/gen_XrInputSourceEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrInputSourceEventInit.rs b/vendor/web-sys/src/features/gen_XrInputSourceEventInit.rs index 64f9daf94..945817409 100644 --- a/vendor/web-sys/src/features/gen_XrInputSourceEventInit.rs +++ b/vendor/web-sys/src/features/gen_XrInputSourceEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrInputSourcesChangeEvent.rs b/vendor/web-sys/src/features/gen_XrInputSourcesChangeEvent.rs index e20a89cb8..e09c10cf1 100644 --- a/vendor/web-sys/src/features/gen_XrInputSourcesChangeEvent.rs +++ b/vendor/web-sys/src/features/gen_XrInputSourcesChangeEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrInputSourcesChangeEventInit.rs b/vendor/web-sys/src/features/gen_XrInputSourcesChangeEventInit.rs index e23c3df36..e72dfe275 100644 --- a/vendor/web-sys/src/features/gen_XrInputSourcesChangeEventInit.rs +++ b/vendor/web-sys/src/features/gen_XrInputSourcesChangeEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrJointPose.rs b/vendor/web-sys/src/features/gen_XrJointPose.rs index 0145afb57..543df71dd 100644 --- a/vendor/web-sys/src/features/gen_XrJointPose.rs +++ b/vendor/web-sys/src/features/gen_XrJointPose.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrJointSpace.rs b/vendor/web-sys/src/features/gen_XrJointSpace.rs index 68801e9c4..645a8ee2c 100644 --- a/vendor/web-sys/src/features/gen_XrJointSpace.rs +++ b/vendor/web-sys/src/features/gen_XrJointSpace.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrLayer.rs b/vendor/web-sys/src/features/gen_XrLayer.rs index a68ea54d3..5bdade50c 100644 --- a/vendor/web-sys/src/features/gen_XrLayer.rs +++ b/vendor/web-sys/src/features/gen_XrLayer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrPermissionDescriptor.rs b/vendor/web-sys/src/features/gen_XrPermissionDescriptor.rs index ce11f7579..8c494ca0a 100644 --- a/vendor/web-sys/src/features/gen_XrPermissionDescriptor.rs +++ b/vendor/web-sys/src/features/gen_XrPermissionDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrPermissionStatus.rs b/vendor/web-sys/src/features/gen_XrPermissionStatus.rs index ec403387b..58eb6b5ad 100644 --- a/vendor/web-sys/src/features/gen_XrPermissionStatus.rs +++ b/vendor/web-sys/src/features/gen_XrPermissionStatus.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrPose.rs b/vendor/web-sys/src/features/gen_XrPose.rs index bbdb63b33..dd718fccc 100644 --- a/vendor/web-sys/src/features/gen_XrPose.rs +++ b/vendor/web-sys/src/features/gen_XrPose.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrReferenceSpace.rs b/vendor/web-sys/src/features/gen_XrReferenceSpace.rs index 3ca6d5a12..487b194df 100644 --- a/vendor/web-sys/src/features/gen_XrReferenceSpace.rs +++ b/vendor/web-sys/src/features/gen_XrReferenceSpace.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrReferenceSpaceEvent.rs b/vendor/web-sys/src/features/gen_XrReferenceSpaceEvent.rs index b67712713..d113ba6b2 100644 --- a/vendor/web-sys/src/features/gen_XrReferenceSpaceEvent.rs +++ b/vendor/web-sys/src/features/gen_XrReferenceSpaceEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrReferenceSpaceEventInit.rs b/vendor/web-sys/src/features/gen_XrReferenceSpaceEventInit.rs index 45b6efb64..46aa10bac 100644 --- a/vendor/web-sys/src/features/gen_XrReferenceSpaceEventInit.rs +++ b/vendor/web-sys/src/features/gen_XrReferenceSpaceEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrReferenceSpaceType.rs b/vendor/web-sys/src/features/gen_XrReferenceSpaceType.rs index 6801e0f01..3ee66e272 100644 --- a/vendor/web-sys/src/features/gen_XrReferenceSpaceType.rs +++ b/vendor/web-sys/src/features/gen_XrReferenceSpaceType.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XrRenderState.rs b/vendor/web-sys/src/features/gen_XrRenderState.rs index 98781adb7..79076a1f9 100644 --- a/vendor/web-sys/src/features/gen_XrRenderState.rs +++ b/vendor/web-sys/src/features/gen_XrRenderState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrRenderStateInit.rs b/vendor/web-sys/src/features/gen_XrRenderStateInit.rs index b3d5821aa..df8f9b82f 100644 --- a/vendor/web-sys/src/features/gen_XrRenderStateInit.rs +++ b/vendor/web-sys/src/features/gen_XrRenderStateInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrRigidTransform.rs b/vendor/web-sys/src/features/gen_XrRigidTransform.rs index a171e4e51..e1970a1b8 100644 --- a/vendor/web-sys/src/features/gen_XrRigidTransform.rs +++ b/vendor/web-sys/src/features/gen_XrRigidTransform.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrSession.rs b/vendor/web-sys/src/features/gen_XrSession.rs index 48e4bc34c..c761efbf2 100644 --- a/vendor/web-sys/src/features/gen_XrSession.rs +++ b/vendor/web-sys/src/features/gen_XrSession.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrSessionEvent.rs b/vendor/web-sys/src/features/gen_XrSessionEvent.rs index 748df3513..70c14cacd 100644 --- a/vendor/web-sys/src/features/gen_XrSessionEvent.rs +++ b/vendor/web-sys/src/features/gen_XrSessionEvent.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrSessionEventInit.rs b/vendor/web-sys/src/features/gen_XrSessionEventInit.rs index fbe6cf283..4a44c4945 100644 --- a/vendor/web-sys/src/features/gen_XrSessionEventInit.rs +++ b/vendor/web-sys/src/features/gen_XrSessionEventInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrSessionInit.rs b/vendor/web-sys/src/features/gen_XrSessionInit.rs index 999791d1f..39cbbd43b 100644 --- a/vendor/web-sys/src/features/gen_XrSessionInit.rs +++ b/vendor/web-sys/src/features/gen_XrSessionInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrSessionMode.rs b/vendor/web-sys/src/features/gen_XrSessionMode.rs index d5a6803f2..becf96ed2 100644 --- a/vendor/web-sys/src/features/gen_XrSessionMode.rs +++ b/vendor/web-sys/src/features/gen_XrSessionMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XrSessionSupportedPermissionDescriptor.rs b/vendor/web-sys/src/features/gen_XrSessionSupportedPermissionDescriptor.rs index 26a771f63..8d354b790 100644 --- a/vendor/web-sys/src/features/gen_XrSessionSupportedPermissionDescriptor.rs +++ b/vendor/web-sys/src/features/gen_XrSessionSupportedPermissionDescriptor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrSpace.rs b/vendor/web-sys/src/features/gen_XrSpace.rs index e04941c05..50c85f5bc 100644 --- a/vendor/web-sys/src/features/gen_XrSpace.rs +++ b/vendor/web-sys/src/features/gen_XrSpace.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrSystem.rs b/vendor/web-sys/src/features/gen_XrSystem.rs index a035b3ef6..054f7a4a2 100644 --- a/vendor/web-sys/src/features/gen_XrSystem.rs +++ b/vendor/web-sys/src/features/gen_XrSystem.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrTargetRayMode.rs b/vendor/web-sys/src/features/gen_XrTargetRayMode.rs index 94b59335f..d4248fb8d 100644 --- a/vendor/web-sys/src/features/gen_XrTargetRayMode.rs +++ b/vendor/web-sys/src/features/gen_XrTargetRayMode.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XrView.rs b/vendor/web-sys/src/features/gen_XrView.rs index 9f5781265..995458e82 100644 --- a/vendor/web-sys/src/features/gen_XrView.rs +++ b/vendor/web-sys/src/features/gen_XrView.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrViewerPose.rs b/vendor/web-sys/src/features/gen_XrViewerPose.rs index 2e53ea6a4..ca2e59671 100644 --- a/vendor/web-sys/src/features/gen_XrViewerPose.rs +++ b/vendor/web-sys/src/features/gen_XrViewerPose.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrViewport.rs b/vendor/web-sys/src/features/gen_XrViewport.rs index 7ffdabd83..eed7b0d16 100644 --- a/vendor/web-sys/src/features/gen_XrViewport.rs +++ b/vendor/web-sys/src/features/gen_XrViewport.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrVisibilityState.rs b/vendor/web-sys/src/features/gen_XrVisibilityState.rs index f82ab22a9..9b826370a 100644 --- a/vendor/web-sys/src/features/gen_XrVisibilityState.rs +++ b/vendor/web-sys/src/features/gen_XrVisibilityState.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_XrWebGlLayer.rs b/vendor/web-sys/src/features/gen_XrWebGlLayer.rs index 96ef16db7..42cc02aec 100644 --- a/vendor/web-sys/src/features/gen_XrWebGlLayer.rs +++ b/vendor/web-sys/src/features/gen_XrWebGlLayer.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XrWebGlLayerInit.rs b/vendor/web-sys/src/features/gen_XrWebGlLayerInit.rs index f5233d6b1..6de052916 100644 --- a/vendor/web-sys/src/features/gen_XrWebGlLayerInit.rs +++ b/vendor/web-sys/src/features/gen_XrWebGlLayerInit.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_XsltProcessor.rs b/vendor/web-sys/src/features/gen_XsltProcessor.rs index c730032d4..51e5105f7 100644 --- a/vendor/web-sys/src/features/gen_XsltProcessor.rs +++ b/vendor/web-sys/src/features/gen_XsltProcessor.rs @@ -1,4 +1,5 @@ #![allow(unused_imports)] +#![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_console.rs b/vendor/web-sys/src/features/gen_console.rs index a84ed2b4a..b7abd12c1 100644 --- a/vendor/web-sys/src/features/gen_console.rs +++ b/vendor/web-sys/src/features/gen_console.rs @@ -1,5 +1,6 @@ pub mod console { #![allow(unused_imports)] + #![allow(clippy::all)] use super::super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_css.rs b/vendor/web-sys/src/features/gen_css.rs index f18a5dad2..6ec6ff813 100644 --- a/vendor/web-sys/src/features/gen_css.rs +++ b/vendor/web-sys/src/features/gen_css.rs @@ -1,5 +1,6 @@ pub mod css { #![allow(unused_imports)] + #![allow(clippy::all)] use super::super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] diff --git a/vendor/web-sys/src/features/gen_gpu_buffer_usage.rs b/vendor/web-sys/src/features/gen_gpu_buffer_usage.rs index 39b90f05b..5644ea04c 100644 --- a/vendor/web-sys/src/features/gen_gpu_buffer_usage.rs +++ b/vendor/web-sys/src/features/gen_gpu_buffer_usage.rs @@ -4,6 +4,7 @@ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub mod gpu_buffer_usage { #![allow(unused_imports)] + #![allow(clippy::all)] use super::super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_gpu_color_write.rs b/vendor/web-sys/src/features/gen_gpu_color_write.rs index d037288e0..e9d942557 100644 --- a/vendor/web-sys/src/features/gen_gpu_color_write.rs +++ b/vendor/web-sys/src/features/gen_gpu_color_write.rs @@ -4,6 +4,7 @@ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub mod gpu_color_write { #![allow(unused_imports)] + #![allow(clippy::all)] use super::super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_gpu_map_mode.rs b/vendor/web-sys/src/features/gen_gpu_map_mode.rs index 272064e75..7ecc4b36c 100644 --- a/vendor/web-sys/src/features/gen_gpu_map_mode.rs +++ b/vendor/web-sys/src/features/gen_gpu_map_mode.rs @@ -4,6 +4,7 @@ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub mod gpu_map_mode { #![allow(unused_imports)] + #![allow(clippy::all)] use super::super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_gpu_shader_stage.rs b/vendor/web-sys/src/features/gen_gpu_shader_stage.rs index 563887538..9c192d00b 100644 --- a/vendor/web-sys/src/features/gen_gpu_shader_stage.rs +++ b/vendor/web-sys/src/features/gen_gpu_shader_stage.rs @@ -4,6 +4,7 @@ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub mod gpu_shader_stage { #![allow(unused_imports)] + #![allow(clippy::all)] use super::super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/gen_gpu_texture_usage.rs b/vendor/web-sys/src/features/gen_gpu_texture_usage.rs index 4cc909049..f3197cca7 100644 --- a/vendor/web-sys/src/features/gen_gpu_texture_usage.rs +++ b/vendor/web-sys/src/features/gen_gpu_texture_usage.rs @@ -4,6 +4,7 @@ #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] pub mod gpu_texture_usage { #![allow(unused_imports)] + #![allow(clippy::all)] use super::super::*; use wasm_bindgen::prelude::*; #[cfg(web_sys_unstable_apis)] diff --git a/vendor/web-sys/src/features/mod.rs b/vendor/web-sys/src/features/mod.rs index 680471c2f..e56624a0f 100644 --- a/vendor/web-sys/src/features/mod.rs +++ b/vendor/web-sys/src/features/mod.rs @@ -760,6 +760,12 @@ mod gen_CanvasCaptureMediaStream; #[cfg(feature = "CanvasCaptureMediaStream")] pub use gen_CanvasCaptureMediaStream::*; +#[cfg(feature = "CanvasCaptureMediaStreamTrack")] +#[allow(non_snake_case)] +mod gen_CanvasCaptureMediaStreamTrack; +#[cfg(feature = "CanvasCaptureMediaStreamTrack")] +pub use gen_CanvasCaptureMediaStreamTrack::*; + #[cfg(feature = "CanvasGradient")] #[allow(non_snake_case)] mod gen_CanvasGradient; @@ -2104,12 +2110,24 @@ mod gen_FileSystem; #[cfg(feature = "FileSystem")] pub use gen_FileSystem::*; +#[cfg(feature = "FileSystemCreateWritableOptions")] +#[allow(non_snake_case)] +mod gen_FileSystemCreateWritableOptions; +#[cfg(feature = "FileSystemCreateWritableOptions")] +pub use gen_FileSystemCreateWritableOptions::*; + #[cfg(feature = "FileSystemDirectoryEntry")] #[allow(non_snake_case)] mod gen_FileSystemDirectoryEntry; #[cfg(feature = "FileSystemDirectoryEntry")] pub use gen_FileSystemDirectoryEntry::*; +#[cfg(feature = "FileSystemDirectoryHandle")] +#[allow(non_snake_case)] +mod gen_FileSystemDirectoryHandle; +#[cfg(feature = "FileSystemDirectoryHandle")] +pub use gen_FileSystemDirectoryHandle::*; + #[cfg(feature = "FileSystemDirectoryReader")] #[allow(non_snake_case)] mod gen_FileSystemDirectoryReader; @@ -2140,12 +2158,66 @@ mod gen_FileSystemFileEntry; #[cfg(feature = "FileSystemFileEntry")] pub use gen_FileSystemFileEntry::*; +#[cfg(feature = "FileSystemFileHandle")] +#[allow(non_snake_case)] +mod gen_FileSystemFileHandle; +#[cfg(feature = "FileSystemFileHandle")] +pub use gen_FileSystemFileHandle::*; + #[cfg(feature = "FileSystemFlags")] #[allow(non_snake_case)] mod gen_FileSystemFlags; #[cfg(feature = "FileSystemFlags")] pub use gen_FileSystemFlags::*; +#[cfg(feature = "FileSystemGetDirectoryOptions")] +#[allow(non_snake_case)] +mod gen_FileSystemGetDirectoryOptions; +#[cfg(feature = "FileSystemGetDirectoryOptions")] +pub use gen_FileSystemGetDirectoryOptions::*; + +#[cfg(feature = "FileSystemGetFileOptions")] +#[allow(non_snake_case)] +mod gen_FileSystemGetFileOptions; +#[cfg(feature = "FileSystemGetFileOptions")] +pub use gen_FileSystemGetFileOptions::*; + +#[cfg(feature = "FileSystemHandle")] +#[allow(non_snake_case)] +mod gen_FileSystemHandle; +#[cfg(feature = "FileSystemHandle")] +pub use gen_FileSystemHandle::*; + +#[cfg(feature = "FileSystemHandleKind")] +#[allow(non_snake_case)] +mod gen_FileSystemHandleKind; +#[cfg(feature = "FileSystemHandleKind")] +pub use gen_FileSystemHandleKind::*; + +#[cfg(feature = "FileSystemReadWriteOptions")] +#[allow(non_snake_case)] +mod gen_FileSystemReadWriteOptions; +#[cfg(feature = "FileSystemReadWriteOptions")] +pub use gen_FileSystemReadWriteOptions::*; + +#[cfg(feature = "FileSystemRemoveOptions")] +#[allow(non_snake_case)] +mod gen_FileSystemRemoveOptions; +#[cfg(feature = "FileSystemRemoveOptions")] +pub use gen_FileSystemRemoveOptions::*; + +#[cfg(feature = "FileSystemSyncAccessHandle")] +#[allow(non_snake_case)] +mod gen_FileSystemSyncAccessHandle; +#[cfg(feature = "FileSystemSyncAccessHandle")] +pub use gen_FileSystemSyncAccessHandle::*; + +#[cfg(feature = "FileSystemWritableFileStream")] +#[allow(non_snake_case)] +mod gen_FileSystemWritableFileStream; +#[cfg(feature = "FileSystemWritableFileStream")] +pub use gen_FileSystemWritableFileStream::*; + #[cfg(feature = "FillMode")] #[allow(non_snake_case)] mod gen_FillMode; @@ -2182,6 +2254,12 @@ mod gen_FocusEventInit; #[cfg(feature = "FocusEventInit")] pub use gen_FocusEventInit::*; +#[cfg(feature = "FontData")] +#[allow(non_snake_case)] +mod gen_FontData; +#[cfg(feature = "FontData")] +pub use gen_FontData::*; + #[cfg(feature = "FontFace")] #[allow(non_snake_case)] mod gen_FontFace; @@ -2356,6 +2434,12 @@ mod gen_Geolocation; #[cfg(feature = "Geolocation")] pub use gen_Geolocation::*; +#[cfg(feature = "GetAnimationsOptions")] +#[allow(non_snake_case)] +mod gen_GetAnimationsOptions; +#[cfg(feature = "GetAnimationsOptions")] +pub use gen_GetAnimationsOptions::*; + #[cfg(feature = "GetNotificationOptions")] #[allow(non_snake_case)] mod gen_GetNotificationOptions; @@ -4024,6 +4108,12 @@ mod gen_ImageDecoderInit; #[cfg(feature = "ImageDecoderInit")] pub use gen_ImageDecoderInit::*; +#[cfg(feature = "ImageEncodeOptions")] +#[allow(non_snake_case)] +mod gen_ImageEncodeOptions; +#[cfg(feature = "ImageEncodeOptions")] +pub use gen_ImageEncodeOptions::*; + #[cfg(feature = "ImageOrientation")] #[allow(non_snake_case)] mod gen_ImageOrientation; @@ -4144,6 +4234,12 @@ mod gen_KeyboardEventInit; #[cfg(feature = "KeyboardEventInit")] pub use gen_KeyboardEventInit::*; +#[cfg(feature = "KeyframeAnimationOptions")] +#[allow(non_snake_case)] +mod gen_KeyframeAnimationOptions; +#[cfg(feature = "KeyframeAnimationOptions")] +pub use gen_KeyframeAnimationOptions::*; + #[cfg(feature = "KeyframeEffect")] #[allow(non_snake_case)] mod gen_KeyframeEffect; @@ -4630,6 +4726,30 @@ mod gen_MediaTrackSupportedConstraints; #[cfg(feature = "MediaTrackSupportedConstraints")] pub use gen_MediaTrackSupportedConstraints::*; +#[cfg(feature = "MemoryAttribution")] +#[allow(non_snake_case)] +mod gen_MemoryAttribution; +#[cfg(feature = "MemoryAttribution")] +pub use gen_MemoryAttribution::*; + +#[cfg(feature = "MemoryAttributionContainer")] +#[allow(non_snake_case)] +mod gen_MemoryAttributionContainer; +#[cfg(feature = "MemoryAttributionContainer")] +pub use gen_MemoryAttributionContainer::*; + +#[cfg(feature = "MemoryBreakdownEntry")] +#[allow(non_snake_case)] +mod gen_MemoryBreakdownEntry; +#[cfg(feature = "MemoryBreakdownEntry")] +pub use gen_MemoryBreakdownEntry::*; + +#[cfg(feature = "MemoryMeasurement")] +#[allow(non_snake_case)] +mod gen_MemoryMeasurement; +#[cfg(feature = "MemoryMeasurement")] +pub use gen_MemoryMeasurement::*; + #[cfg(feature = "MessageChannel")] #[allow(non_snake_case)] mod gen_MessageChannel; @@ -5008,6 +5128,12 @@ mod gen_OffscreenCanvas; #[cfg(feature = "OffscreenCanvas")] pub use gen_OffscreenCanvas::*; +#[cfg(feature = "OffscreenCanvasRenderingContext2d")] +#[allow(non_snake_case)] +mod gen_OffscreenCanvasRenderingContext2d; +#[cfg(feature = "OffscreenCanvasRenderingContext2d")] +pub use gen_OffscreenCanvasRenderingContext2d::*; + #[cfg(feature = "OpenWindowEventDetail")] #[allow(non_snake_case)] mod gen_OpenWindowEventDetail; @@ -5698,6 +5824,12 @@ mod gen_PushSubscriptionOptionsInit; #[cfg(feature = "PushSubscriptionOptionsInit")] pub use gen_PushSubscriptionOptionsInit::*; +#[cfg(feature = "QueryOptions")] +#[allow(non_snake_case)] +mod gen_QueryOptions; +#[cfg(feature = "QueryOptions")] +pub use gen_QueryOptions::*; + #[cfg(feature = "QueuingStrategy")] #[allow(non_snake_case)] mod gen_QueuingStrategy; @@ -6220,6 +6352,12 @@ mod gen_RtcPeerConnectionIceEventInit; #[cfg(feature = "RtcPeerConnectionIceEventInit")] pub use gen_RtcPeerConnectionIceEventInit::*; +#[cfg(feature = "RtcPeerConnectionState")] +#[allow(non_snake_case)] +mod gen_RtcPeerConnectionState; +#[cfg(feature = "RtcPeerConnectionState")] +pub use gen_RtcPeerConnectionState::*; + #[cfg(feature = "RtcPriorityType")] #[allow(non_snake_case)] mod gen_RtcPriorityType; @@ -6544,6 +6682,12 @@ mod gen_Selection; #[cfg(feature = "Selection")] pub use gen_Selection::*; +#[cfg(feature = "SelectionMode")] +#[allow(non_snake_case)] +mod gen_SelectionMode; +#[cfg(feature = "SelectionMode")] +pub use gen_SelectionMode::*; + #[cfg(feature = "Serial")] #[allow(non_snake_case)] mod gen_Serial; @@ -8590,6 +8734,114 @@ mod gen_WebSocketElement; #[cfg(feature = "WebSocketElement")] pub use gen_WebSocketElement::*; +#[cfg(feature = "WebTransport")] +#[allow(non_snake_case)] +mod gen_WebTransport; +#[cfg(feature = "WebTransport")] +pub use gen_WebTransport::*; + +#[cfg(feature = "WebTransportBidirectionalStream")] +#[allow(non_snake_case)] +mod gen_WebTransportBidirectionalStream; +#[cfg(feature = "WebTransportBidirectionalStream")] +pub use gen_WebTransportBidirectionalStream::*; + +#[cfg(feature = "WebTransportCloseInfo")] +#[allow(non_snake_case)] +mod gen_WebTransportCloseInfo; +#[cfg(feature = "WebTransportCloseInfo")] +pub use gen_WebTransportCloseInfo::*; + +#[cfg(feature = "WebTransportCongestionControl")] +#[allow(non_snake_case)] +mod gen_WebTransportCongestionControl; +#[cfg(feature = "WebTransportCongestionControl")] +pub use gen_WebTransportCongestionControl::*; + +#[cfg(feature = "WebTransportDatagramDuplexStream")] +#[allow(non_snake_case)] +mod gen_WebTransportDatagramDuplexStream; +#[cfg(feature = "WebTransportDatagramDuplexStream")] +pub use gen_WebTransportDatagramDuplexStream::*; + +#[cfg(feature = "WebTransportDatagramStats")] +#[allow(non_snake_case)] +mod gen_WebTransportDatagramStats; +#[cfg(feature = "WebTransportDatagramStats")] +pub use gen_WebTransportDatagramStats::*; + +#[cfg(feature = "WebTransportError")] +#[allow(non_snake_case)] +mod gen_WebTransportError; +#[cfg(feature = "WebTransportError")] +pub use gen_WebTransportError::*; + +#[cfg(feature = "WebTransportErrorOptions")] +#[allow(non_snake_case)] +mod gen_WebTransportErrorOptions; +#[cfg(feature = "WebTransportErrorOptions")] +pub use gen_WebTransportErrorOptions::*; + +#[cfg(feature = "WebTransportErrorSource")] +#[allow(non_snake_case)] +mod gen_WebTransportErrorSource; +#[cfg(feature = "WebTransportErrorSource")] +pub use gen_WebTransportErrorSource::*; + +#[cfg(feature = "WebTransportHash")] +#[allow(non_snake_case)] +mod gen_WebTransportHash; +#[cfg(feature = "WebTransportHash")] +pub use gen_WebTransportHash::*; + +#[cfg(feature = "WebTransportOptions")] +#[allow(non_snake_case)] +mod gen_WebTransportOptions; +#[cfg(feature = "WebTransportOptions")] +pub use gen_WebTransportOptions::*; + +#[cfg(feature = "WebTransportReceiveStream")] +#[allow(non_snake_case)] +mod gen_WebTransportReceiveStream; +#[cfg(feature = "WebTransportReceiveStream")] +pub use gen_WebTransportReceiveStream::*; + +#[cfg(feature = "WebTransportReceiveStreamStats")] +#[allow(non_snake_case)] +mod gen_WebTransportReceiveStreamStats; +#[cfg(feature = "WebTransportReceiveStreamStats")] +pub use gen_WebTransportReceiveStreamStats::*; + +#[cfg(feature = "WebTransportReliabilityMode")] +#[allow(non_snake_case)] +mod gen_WebTransportReliabilityMode; +#[cfg(feature = "WebTransportReliabilityMode")] +pub use gen_WebTransportReliabilityMode::*; + +#[cfg(feature = "WebTransportSendStream")] +#[allow(non_snake_case)] +mod gen_WebTransportSendStream; +#[cfg(feature = "WebTransportSendStream")] +pub use gen_WebTransportSendStream::*; + +#[cfg(feature = "WebTransportSendStreamOptions")] +#[allow(non_snake_case)] +mod gen_WebTransportSendStreamOptions; +#[cfg(feature = "WebTransportSendStreamOptions")] +pub use gen_WebTransportSendStreamOptions::*; + +#[cfg(feature = "WebTransportSendStreamStats")] +#[allow(non_snake_case)] +mod gen_WebTransportSendStreamStats; +#[cfg(feature = "WebTransportSendStreamStats")] +pub use gen_WebTransportSendStreamStats::*; + +#[cfg(feature = "WebTransportStats")] +#[allow(non_snake_case)] +mod gen_WebTransportStats; +#[cfg(feature = "WebTransportStats")] +pub use gen_WebTransportStats::*; + #[cfg(feature = "WebglColorBufferFloat")] #[allow(non_snake_case)] mod gen_WebglColorBufferFloat; @@ -8788,6 +9040,18 @@ mod gen_WritableStreamDefaultWriter; #[cfg(feature = "WritableStreamDefaultWriter")] pub use gen_WritableStreamDefaultWriter::*; +#[cfg(feature = "WriteCommandType")] +#[allow(non_snake_case)] +mod gen_WriteCommandType; +#[cfg(feature = "WriteCommandType")] +pub use gen_WriteCommandType::*; + +#[cfg(feature = "WriteParams")] +#[allow(non_snake_case)] +mod gen_WriteParams; +#[cfg(feature = "WriteParams")] +pub use gen_WriteParams::*; + #[cfg(feature = "XPathExpression")] #[allow(non_snake_case)] mod gen_XPathExpression; |