web_sys/features/
gen_SvgfeCompositeElement.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFECompositeElement , typescript_type = "SVGFECompositeElement")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `SvgfeCompositeElement` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
14    pub type SvgfeCompositeElement;
15    #[cfg(feature = "SvgAnimatedString")]
16    # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = in1)]
17    #[doc = "Getter for the `in1` field of this object."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/in1)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*"]
22    pub fn in1(this: &SvgfeCompositeElement) -> SvgAnimatedString;
23    #[cfg(feature = "SvgAnimatedString")]
24    # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = in2)]
25    #[doc = "Getter for the `in2` field of this object."]
26    #[doc = ""]
27    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/in2)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*"]
30    pub fn in2(this: &SvgfeCompositeElement) -> SvgAnimatedString;
31    #[cfg(feature = "SvgAnimatedEnumeration")]
32    # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = operator)]
33    #[doc = "Getter for the `operator` field of this object."]
34    #[doc = ""]
35    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/operator)"]
36    #[doc = ""]
37    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeCompositeElement`*"]
38    pub fn operator(this: &SvgfeCompositeElement) -> SvgAnimatedEnumeration;
39    #[cfg(feature = "SvgAnimatedNumber")]
40    # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = k1)]
41    #[doc = "Getter for the `k1` field of this object."]
42    #[doc = ""]
43    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k1)"]
44    #[doc = ""]
45    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*"]
46    pub fn k1(this: &SvgfeCompositeElement) -> SvgAnimatedNumber;
47    #[cfg(feature = "SvgAnimatedNumber")]
48    # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = k2)]
49    #[doc = "Getter for the `k2` field of this object."]
50    #[doc = ""]
51    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k2)"]
52    #[doc = ""]
53    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*"]
54    pub fn k2(this: &SvgfeCompositeElement) -> SvgAnimatedNumber;
55    #[cfg(feature = "SvgAnimatedNumber")]
56    # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = k3)]
57    #[doc = "Getter for the `k3` field of this object."]
58    #[doc = ""]
59    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k3)"]
60    #[doc = ""]
61    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*"]
62    pub fn k3(this: &SvgfeCompositeElement) -> SvgAnimatedNumber;
63    #[cfg(feature = "SvgAnimatedNumber")]
64    # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = k4)]
65    #[doc = "Getter for the `k4` field of this object."]
66    #[doc = ""]
67    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k4)"]
68    #[doc = ""]
69    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*"]
70    pub fn k4(this: &SvgfeCompositeElement) -> SvgAnimatedNumber;
71    #[cfg(feature = "SvgAnimatedLength")]
72    # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = x)]
73    #[doc = "Getter for the `x` field of this object."]
74    #[doc = ""]
75    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/x)"]
76    #[doc = ""]
77    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*"]
78    pub fn x(this: &SvgfeCompositeElement) -> SvgAnimatedLength;
79    #[cfg(feature = "SvgAnimatedLength")]
80    # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = y)]
81    #[doc = "Getter for the `y` field of this object."]
82    #[doc = ""]
83    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/y)"]
84    #[doc = ""]
85    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*"]
86    pub fn y(this: &SvgfeCompositeElement) -> SvgAnimatedLength;
87    #[cfg(feature = "SvgAnimatedLength")]
88    # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = width)]
89    #[doc = "Getter for the `width` field of this object."]
90    #[doc = ""]
91    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/width)"]
92    #[doc = ""]
93    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*"]
94    pub fn width(this: &SvgfeCompositeElement) -> SvgAnimatedLength;
95    #[cfg(feature = "SvgAnimatedLength")]
96    # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = height)]
97    #[doc = "Getter for the `height` field of this object."]
98    #[doc = ""]
99    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/height)"]
100    #[doc = ""]
101    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*"]
102    pub fn height(this: &SvgfeCompositeElement) -> SvgAnimatedLength;
103    #[cfg(feature = "SvgAnimatedString")]
104    # [wasm_bindgen (structural , method , getter , js_class = "SVGFECompositeElement" , js_name = result)]
105    #[doc = "Getter for the `result` field of this object."]
106    #[doc = ""]
107    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/result)"]
108    #[doc = ""]
109    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*"]
110    pub fn result(this: &SvgfeCompositeElement) -> SvgAnimatedString;
111}
112impl SvgfeCompositeElement {
113    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN` const."]
114    #[doc = ""]
115    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
116    pub const SVG_FECOMPOSITE_OPERATOR_UNKNOWN: u16 = 0i64 as u16;
117    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER` const."]
118    #[doc = ""]
119    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
120    pub const SVG_FECOMPOSITE_OPERATOR_OVER: u16 = 1u64 as u16;
121    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN` const."]
122    #[doc = ""]
123    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
124    pub const SVG_FECOMPOSITE_OPERATOR_IN: u16 = 2u64 as u16;
125    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OUT` const."]
126    #[doc = ""]
127    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
128    pub const SVG_FECOMPOSITE_OPERATOR_OUT: u16 = 3u64 as u16;
129    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ATOP` const."]
130    #[doc = ""]
131    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
132    pub const SVG_FECOMPOSITE_OPERATOR_ATOP: u16 = 4u64 as u16;
133    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR` const."]
134    #[doc = ""]
135    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
136    pub const SVG_FECOMPOSITE_OPERATOR_XOR: u16 = 5u64 as u16;
137    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC` const."]
138    #[doc = ""]
139    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
140    pub const SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: u16 = 6u64 as u16;
141}