1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFEDisplacementMapElement , typescript_type = "SVGFEDisplacementMapElement")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `SvgfeDisplacementMapElement` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
13     pub type SvgfeDisplacementMapElement;
14     #[cfg(feature = "SvgAnimatedString")]
15     # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = in1)]
16     #[doc = "Getter for the `in1` field of this object."]
17     #[doc = ""]
18     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/in1)"]
19     #[doc = ""]
20     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*"]
in1(this: &SvgfeDisplacementMapElement) -> SvgAnimatedString21     pub fn in1(this: &SvgfeDisplacementMapElement) -> SvgAnimatedString;
22     #[cfg(feature = "SvgAnimatedString")]
23     # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = in2)]
24     #[doc = "Getter for the `in2` field of this object."]
25     #[doc = ""]
26     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/in2)"]
27     #[doc = ""]
28     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*"]
in2(this: &SvgfeDisplacementMapElement) -> SvgAnimatedString29     pub fn in2(this: &SvgfeDisplacementMapElement) -> SvgAnimatedString;
30     #[cfg(feature = "SvgAnimatedNumber")]
31     # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = scale)]
32     #[doc = "Getter for the `scale` field of this object."]
33     #[doc = ""]
34     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/scale)"]
35     #[doc = ""]
36     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDisplacementMapElement`*"]
scale(this: &SvgfeDisplacementMapElement) -> SvgAnimatedNumber37     pub fn scale(this: &SvgfeDisplacementMapElement) -> SvgAnimatedNumber;
38     #[cfg(feature = "SvgAnimatedEnumeration")]
39     # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = xChannelSelector)]
40     #[doc = "Getter for the `xChannelSelector` field of this object."]
41     #[doc = ""]
42     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/xChannelSelector)"]
43     #[doc = ""]
44     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeDisplacementMapElement`*"]
x_channel_selector(this: &SvgfeDisplacementMapElement) -> SvgAnimatedEnumeration45     pub fn x_channel_selector(this: &SvgfeDisplacementMapElement) -> SvgAnimatedEnumeration;
46     #[cfg(feature = "SvgAnimatedEnumeration")]
47     # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = yChannelSelector)]
48     #[doc = "Getter for the `yChannelSelector` field of this object."]
49     #[doc = ""]
50     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/yChannelSelector)"]
51     #[doc = ""]
52     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeDisplacementMapElement`*"]
y_channel_selector(this: &SvgfeDisplacementMapElement) -> SvgAnimatedEnumeration53     pub fn y_channel_selector(this: &SvgfeDisplacementMapElement) -> SvgAnimatedEnumeration;
54     #[cfg(feature = "SvgAnimatedLength")]
55     # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = x)]
56     #[doc = "Getter for the `x` field of this object."]
57     #[doc = ""]
58     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/x)"]
59     #[doc = ""]
60     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*"]
x(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength61     pub fn x(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength;
62     #[cfg(feature = "SvgAnimatedLength")]
63     # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = y)]
64     #[doc = "Getter for the `y` field of this object."]
65     #[doc = ""]
66     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/y)"]
67     #[doc = ""]
68     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*"]
y(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength69     pub fn y(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength;
70     #[cfg(feature = "SvgAnimatedLength")]
71     # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = width)]
72     #[doc = "Getter for the `width` field of this object."]
73     #[doc = ""]
74     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/width)"]
75     #[doc = ""]
76     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*"]
width(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength77     pub fn width(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength;
78     #[cfg(feature = "SvgAnimatedLength")]
79     # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = height)]
80     #[doc = "Getter for the `height` field of this object."]
81     #[doc = ""]
82     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/height)"]
83     #[doc = ""]
84     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*"]
height(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength85     pub fn height(this: &SvgfeDisplacementMapElement) -> SvgAnimatedLength;
86     #[cfg(feature = "SvgAnimatedString")]
87     # [wasm_bindgen (structural , method , getter , js_class = "SVGFEDisplacementMapElement" , js_name = result)]
88     #[doc = "Getter for the `result` field of this object."]
89     #[doc = ""]
90     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/result)"]
91     #[doc = ""]
92     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*"]
result(this: &SvgfeDisplacementMapElement) -> SvgAnimatedString93     pub fn result(this: &SvgfeDisplacementMapElement) -> SvgAnimatedString;
94 }
95 impl SvgfeDisplacementMapElement {
96     #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_UNKNOWN` const."]
97     #[doc = ""]
98     #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
99     pub const SVG_CHANNEL_UNKNOWN: u16 = 0i64 as u16;
100     #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_R` const."]
101     #[doc = ""]
102     #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
103     pub const SVG_CHANNEL_R: u16 = 1u64 as u16;
104     #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_G` const."]
105     #[doc = ""]
106     #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
107     pub const SVG_CHANNEL_G: u16 = 2u64 as u16;
108     #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_B` const."]
109     #[doc = ""]
110     #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
111     pub const SVG_CHANNEL_B: u16 = 3u64 as u16;
112     #[doc = "The `SVGFEDisplacementMapElement.SVG_CHANNEL_A` const."]
113     #[doc = ""]
114     #[doc = "*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*"]
115     pub const SVG_CHANNEL_A: u16 = 4u64 as u16;
116 }
117