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_SvgGradientElement.rs | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 vendor/web-sys/src/features/gen_SvgGradientElement.rs (limited to 'vendor/web-sys/src/features/gen_SvgGradientElement.rs') diff --git a/vendor/web-sys/src/features/gen_SvgGradientElement.rs b/vendor/web-sys/src/features/gen_SvgGradientElement.rs new file mode 100644 index 000000000..7a46835d0 --- /dev/null +++ b/vendor/web-sys/src/features/gen_SvgGradientElement.rs @@ -0,0 +1,64 @@ +#![allow(unused_imports)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGGradientElement , typescript_type = "SVGGradientElement")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `SvgGradientElement` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGradientElement`*"] + pub type SvgGradientElement; + #[cfg(feature = "SvgAnimatedEnumeration")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGGradientElement" , js_name = gradientUnits)] + #[doc = "Getter for the `gradientUnits` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/gradientUnits)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgGradientElement`*"] + pub fn gradient_units(this: &SvgGradientElement) -> SvgAnimatedEnumeration; + #[cfg(feature = "SvgAnimatedTransformList")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGGradientElement" , js_name = gradientTransform)] + #[doc = "Getter for the `gradientTransform` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/gradientTransform)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgGradientElement`*"] + pub fn gradient_transform(this: &SvgGradientElement) -> SvgAnimatedTransformList; + #[cfg(feature = "SvgAnimatedEnumeration")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGGradientElement" , js_name = spreadMethod)] + #[doc = "Getter for the `spreadMethod` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/spreadMethod)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgGradientElement`*"] + pub fn spread_method(this: &SvgGradientElement) -> SvgAnimatedEnumeration; + #[cfg(feature = "SvgAnimatedString")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGGradientElement" , js_name = href)] + #[doc = "Getter for the `href` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/href)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgGradientElement`*"] + pub fn href(this: &SvgGradientElement) -> SvgAnimatedString; +} +impl SvgGradientElement { + #[doc = "The `SVGGradientElement.SVG_SPREADMETHOD_UNKNOWN` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGradientElement`*"] + pub const SVG_SPREADMETHOD_UNKNOWN: u16 = 0i64 as u16; + #[doc = "The `SVGGradientElement.SVG_SPREADMETHOD_PAD` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGradientElement`*"] + pub const SVG_SPREADMETHOD_PAD: u16 = 1u64 as u16; + #[doc = "The `SVGGradientElement.SVG_SPREADMETHOD_REFLECT` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGradientElement`*"] + pub const SVG_SPREADMETHOD_REFLECT: u16 = 2u64 as u16; + #[doc = "The `SVGGradientElement.SVG_SPREADMETHOD_REPEAT` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgGradientElement`*"] + pub const SVG_SPREADMETHOD_REPEAT: u16 = 3u64 as u16; +} -- cgit v1.2.3