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 --- .../web-sys/src/features/gen_SvgGraphicsElement.rs | 113 +++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 vendor/web-sys/src/features/gen_SvgGraphicsElement.rs (limited to 'vendor/web-sys/src/features/gen_SvgGraphicsElement.rs') diff --git a/vendor/web-sys/src/features/gen_SvgGraphicsElement.rs b/vendor/web-sys/src/features/gen_SvgGraphicsElement.rs new file mode 100644 index 000000000..96de914f3 --- /dev/null +++ b/vendor/web-sys/src/features/gen_SvgGraphicsElement.rs @@ -0,0 +1,113 @@ +#![allow(unused_imports)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGGraphicsElement , typescript_type = "SVGGraphicsElement")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `SvgGraphicsElement` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`*"] + pub type SvgGraphicsElement; + #[cfg(feature = "SvgAnimatedTransformList")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGGraphicsElement" , js_name = transform)] + #[doc = "Getter for the `transform` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/transform)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgGraphicsElement`*"] + pub fn transform(this: &SvgGraphicsElement) -> SvgAnimatedTransformList; + # [wasm_bindgen (structural , method , getter , js_class = "SVGGraphicsElement" , js_name = nearestViewportElement)] + #[doc = "Getter for the `nearestViewportElement` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/nearestViewportElement)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`*"] + pub fn nearest_viewport_element(this: &SvgGraphicsElement) -> Option; + # [wasm_bindgen (structural , method , getter , js_class = "SVGGraphicsElement" , js_name = farthestViewportElement)] + #[doc = "Getter for the `farthestViewportElement` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/farthestViewportElement)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`*"] + pub fn farthest_viewport_element(this: &SvgGraphicsElement) -> Option; + #[cfg(feature = "SvgStringList")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGGraphicsElement" , js_name = requiredFeatures)] + #[doc = "Getter for the `requiredFeatures` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/requiredFeatures)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgStringList`*"] + pub fn required_features(this: &SvgGraphicsElement) -> SvgStringList; + #[cfg(feature = "SvgStringList")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGGraphicsElement" , js_name = requiredExtensions)] + #[doc = "Getter for the `requiredExtensions` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/requiredExtensions)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgStringList`*"] + pub fn required_extensions(this: &SvgGraphicsElement) -> SvgStringList; + #[cfg(feature = "SvgStringList")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGGraphicsElement" , js_name = systemLanguage)] + #[doc = "Getter for the `systemLanguage` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/systemLanguage)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgStringList`*"] + pub fn system_language(this: &SvgGraphicsElement) -> SvgStringList; + #[cfg(feature = "SvgRect")] + # [wasm_bindgen (catch , method , structural , js_class = "SVGGraphicsElement" , js_name = getBBox)] + #[doc = "The `getBBox()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getBBox)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgRect`*"] + pub fn get_b_box(this: &SvgGraphicsElement) -> Result; + #[cfg(all(feature = "SvgBoundingBoxOptions", feature = "SvgRect",))] + # [wasm_bindgen (catch , method , structural , js_class = "SVGGraphicsElement" , js_name = getBBox)] + #[doc = "The `getBBox()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getBBox)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgBoundingBoxOptions`, `SvgGraphicsElement`, `SvgRect`*"] + pub fn get_b_box_with_a_options( + this: &SvgGraphicsElement, + a_options: &SvgBoundingBoxOptions, + ) -> Result; + #[cfg(feature = "SvgMatrix")] + # [wasm_bindgen (method , structural , js_class = "SVGGraphicsElement" , js_name = getCTM)] + #[doc = "The `getCTM()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getCTM)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*"] + pub fn get_ctm(this: &SvgGraphicsElement) -> Option; + #[cfg(feature = "SvgMatrix")] + # [wasm_bindgen (method , structural , js_class = "SVGGraphicsElement" , js_name = getScreenCTM)] + #[doc = "The `getScreenCTM()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getScreenCTM)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*"] + pub fn get_screen_ctm(this: &SvgGraphicsElement) -> Option; + #[cfg(feature = "SvgMatrix")] + # [wasm_bindgen (catch , method , structural , js_class = "SVGGraphicsElement" , js_name = getTransformToElement)] + #[doc = "The `getTransformToElement()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getTransformToElement)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*"] + pub fn get_transform_to_element( + this: &SvgGraphicsElement, + element: &SvgGraphicsElement, + ) -> Result; + # [wasm_bindgen (method , structural , js_class = "SVGGraphicsElement" , js_name = hasExtension)] + #[doc = "The `hasExtension()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/hasExtension)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGraphicsElement`*"] + pub fn has_extension(this: &SvgGraphicsElement, extension: &str) -> bool; +} -- cgit v1.2.3