Skip to main content

web_sys/features/
gen_SvgfeDiffuseLightingElement.rs

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