web_sys/features/
gen_SvgfeDisplacementMapElement.rs1#![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 = SVGFEDisplacementMapElement , typescript_type = "SVGFEDisplacementMapElement")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `SvgfeDisplacementMapElement` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
14 pub type SvgfeDisplacementMapElement;
15 #[cfg(feature = "SvgAnimatedString")]
16 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , 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/SVGFEDisplacementMapElement/in1)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*"]
22 pub fn in1(this: &SvgfeDisplacementMapElement) -> SvgAnimatedString;
23 #[cfg(feature = "SvgAnimatedString")]
24 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , 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/SVGFEDisplacementMapElement/in2)"]
28 #[doc = ""]
29 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*"]
30 pub fn in2(this: &SvgfeDisplacementMapElement) -> SvgAnimatedString;
31 #[cfg(feature = "SvgAnimatedNumber")]
32 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = scale)]
33 #[doc = "Getter for the `scale` field of this object."]
34 #[doc = ""]
35 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/scale)"]
36 #[doc = ""]
37 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDisplacementMapElement`*"]
38 pub fn scale(this: &SvgfeDisplacementMapElement) -> SvgAnimatedNumber;
39 #[cfg(feature = "SvgAnimatedEnumeration")]
40 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = xChannelSelector)]
41 #[doc = "Getter for the `xChannelSelector` field of this object."]
42 #[doc = ""]
43 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/xChannelSelector)"]
44 #[doc = ""]
45 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeDisplacementMapElement`*"]
46 pub fn x_channel_selector(this: &SvgfeDisplacementMapElement) -> SvgAnimatedEnumeration;
47 #[cfg(feature = "SvgAnimatedEnumeration")]
48 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = yChannelSelector)]
49 #[doc = "Getter for the `yChannelSelector` field of this object."]
50 #[doc = ""]
51 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/yChannelSelector)"]
52 #[doc = ""]
53 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeDisplacementMapElement`*"]
54 pub fn y_channel_selector(this: &SvgfeDisplacementMapElement) -> SvgAnimatedEnumeration;
55 #[cfg(feature = "SvgAnimatedLength")]
56 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = x)]
57 #[doc = "Getter for the `x` field of this object."]
58 #[doc = ""]
59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/x)"]
60 #[doc = ""]
61 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*"]
62 pub fn x(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength;
63 #[cfg(feature = "SvgAnimatedLength")]
64 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = y)]
65 #[doc = "Getter for the `y` field of this object."]
66 #[doc = ""]
67 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/y)"]
68 #[doc = ""]
69 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*"]
70 pub fn y(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength;
71 #[cfg(feature = "SvgAnimatedLength")]
72 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = width)]
73 #[doc = "Getter for the `width` field of this object."]
74 #[doc = ""]
75 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/width)"]
76 #[doc = ""]
77 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*"]
78 pub fn width(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength;
79 #[cfg(feature = "SvgAnimatedLength")]
80 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = height)]
81 #[doc = "Getter for the `height` field of this object."]
82 #[doc = ""]
83 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/height)"]
84 #[doc = ""]
85 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*"]
86 pub fn height(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength;
87 #[cfg(feature = "SvgAnimatedString")]
88 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = result)]
89 #[doc = "Getter for the `result` field of this object."]
90 #[doc = ""]
91 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/result)"]
92 #[doc = ""]
93 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*"]
94 pub fn result(this: &SvgfeDisplacementMapElement) -> SvgAnimatedString;
95}
96impl SvgfeDisplacementMapElement {
97 #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_UNKNOWN` const."]
98 #[doc = ""]
99 #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
100 pub const SVG_CHANNEL_UNKNOWN: u16 = 0i64 as u16;
101 #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_R` const."]
102 #[doc = ""]
103 #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
104 pub const SVG_CHANNEL_R: u16 = 1u64 as u16;
105 #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_G` const."]
106 #[doc = ""]
107 #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
108 pub const SVG_CHANNEL_G: u16 = 2u64 as u16;
109 #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_B` const."]
110 #[doc = ""]
111 #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
112 pub const SVG_CHANNEL_B: u16 = 3u64 as u16;
113 #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_A` const."]
114 #[doc = ""]
115 #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
116 pub const SVG_CHANNEL_A: u16 = 4u64 as u16;
117}