From 837b550238aa671a591ccf282dddeab29cadb206 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:42 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- .../gen_SvgComponentTransferFunctionElement.rs | 96 ++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 vendor/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs (limited to 'vendor/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs') diff --git a/vendor/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs b/vendor/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs new file mode 100644 index 000000000..9703e6f9c --- /dev/null +++ b/vendor/web-sys/src/features/gen_SvgComponentTransferFunctionElement.rs @@ -0,0 +1,96 @@ +#![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 = SVGComponentTransferFunctionElement , typescript_type = "SVGComponentTransferFunctionElement")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `SvgComponentTransferFunctionElement` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"] + pub type SvgComponentTransferFunctionElement; + #[cfg(feature = "SvgAnimatedEnumeration")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = type)] + #[doc = "Getter for the `type` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/type)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgComponentTransferFunctionElement`*"] + pub fn type_(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedEnumeration; + #[cfg(feature = "SvgAnimatedNumberList")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = tableValues)] + #[doc = "Getter for the `tableValues` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/tableValues)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgComponentTransferFunctionElement`*"] + pub fn table_values(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumberList; + #[cfg(feature = "SvgAnimatedNumber")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = slope)] + #[doc = "Getter for the `slope` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/slope)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"] + pub fn slope(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber; + #[cfg(feature = "SvgAnimatedNumber")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = intercept)] + #[doc = "Getter for the `intercept` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/intercept)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"] + pub fn intercept(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber; + #[cfg(feature = "SvgAnimatedNumber")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = amplitude)] + #[doc = "Getter for the `amplitude` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/amplitude)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"] + pub fn amplitude(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber; + #[cfg(feature = "SvgAnimatedNumber")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = exponent)] + #[doc = "Getter for the `exponent` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/exponent)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"] + pub fn exponent(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber; + #[cfg(feature = "SvgAnimatedNumber")] + # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = offset)] + #[doc = "Getter for the `offset` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/offset)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"] + pub fn offset(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber; +} +impl SvgComponentTransferFunctionElement { + #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"] + pub const SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: u16 = 0i64 as u16; + #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"] + pub const SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: u16 = 1u64 as u16; + #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_TABLE` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"] + pub const SVG_FECOMPONENTTRANSFER_TYPE_TABLE: u16 = 2u64 as u16; + #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"] + pub const SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: u16 = 3u64 as u16; + #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_LINEAR` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"] + pub const SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: u16 = 4u64 as u16; + #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_GAMMA` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"] + pub const SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: u16 = 5u64 as u16; +} -- cgit v1.2.3