From 9835e2ae736235810b4ea1c162ca5e65c547e770 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:50 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- .../src/features/gen_SvgAnimationElement.rs | 101 +++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 vendor/web-sys/src/features/gen_SvgAnimationElement.rs (limited to 'vendor/web-sys/src/features/gen_SvgAnimationElement.rs') diff --git a/vendor/web-sys/src/features/gen_SvgAnimationElement.rs b/vendor/web-sys/src/features/gen_SvgAnimationElement.rs new file mode 100644 index 000000000..613590828 --- /dev/null +++ b/vendor/web-sys/src/features/gen_SvgAnimationElement.rs @@ -0,0 +1,101 @@ +#![allow(unused_imports)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGAnimationElement , typescript_type = "SVGAnimationElement")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `SvgAnimationElement` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] + pub type SvgAnimationElement; + # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimationElement" , js_name = targetElement)] + #[doc = "Getter for the `targetElement` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/targetElement)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] + pub fn target_element(this: &SvgAnimationElement) -> Option; + #[cfg(feature = "SvgStringList")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimationElement" , js_name = requiredFeatures)] + #[doc = "Getter for the `requiredFeatures` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/requiredFeatures)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*"] + pub fn required_features(this: &SvgAnimationElement) -> SvgStringList; + #[cfg(feature = "SvgStringList")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimationElement" , js_name = requiredExtensions)] + #[doc = "Getter for the `requiredExtensions` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/requiredExtensions)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*"] + pub fn required_extensions(this: &SvgAnimationElement) -> SvgStringList; + #[cfg(feature = "SvgStringList")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimationElement" , js_name = systemLanguage)] + #[doc = "Getter for the `systemLanguage` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/systemLanguage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*"] + pub fn system_language(this: &SvgAnimationElement) -> SvgStringList; + # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = beginElement)] + #[doc = "The `beginElement()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/beginElement)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] + pub fn begin_element(this: &SvgAnimationElement) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = beginElementAt)] + #[doc = "The `beginElementAt()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/beginElementAt)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] + pub fn begin_element_at(this: &SvgAnimationElement, offset: f32) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = endElement)] + #[doc = "The `endElement()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/endElement)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] + pub fn end_element(this: &SvgAnimationElement) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = endElementAt)] + #[doc = "The `endElementAt()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/endElementAt)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] + pub fn end_element_at(this: &SvgAnimationElement, offset: f32) -> Result<(), JsValue>; + # [wasm_bindgen (method , structural , js_class = "SVGAnimationElement" , js_name = getCurrentTime)] + #[doc = "The `getCurrentTime()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getCurrentTime)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] + pub fn get_current_time(this: &SvgAnimationElement) -> f32; + # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = getSimpleDuration)] + #[doc = "The `getSimpleDuration()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getSimpleDuration)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] + pub fn get_simple_duration(this: &SvgAnimationElement) -> Result; + # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = getStartTime)] + #[doc = "The `getStartTime()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getStartTime)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] + pub fn get_start_time(this: &SvgAnimationElement) -> Result; + # [wasm_bindgen (method , structural , js_class = "SVGAnimationElement" , js_name = hasExtension)] + #[doc = "The `hasExtension()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/hasExtension)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] + pub fn has_extension(this: &SvgAnimationElement, extension: &str) -> bool; +} -- cgit v1.2.3