web_sys/features/
gen_SvgFilterElement.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 = SVGFilterElement , typescript_type = "SVGFilterElement")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `SvgFilterElement` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `SvgFilterElement`*"]
14    pub type SvgFilterElement;
15    #[cfg(feature = "SvgAnimatedEnumeration")]
16    # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = filterUnits)]
17    #[doc = "Getter for the `filterUnits` field of this object."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/filterUnits)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgFilterElement`*"]
22    pub fn filter_units(this: &SvgFilterElement) -> SvgAnimatedEnumeration;
23    #[cfg(feature = "SvgAnimatedEnumeration")]
24    # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = primitiveUnits)]
25    #[doc = "Getter for the `primitiveUnits` field of this object."]
26    #[doc = ""]
27    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/primitiveUnits)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgFilterElement`*"]
30    pub fn primitive_units(this: &SvgFilterElement) -> SvgAnimatedEnumeration;
31    #[cfg(feature = "SvgAnimatedLength")]
32    # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = x)]
33    #[doc = "Getter for the `x` field of this object."]
34    #[doc = ""]
35    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/x)"]
36    #[doc = ""]
37    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*"]
38    pub fn x(this: &SvgFilterElement) -> SvgAnimatedLength;
39    #[cfg(feature = "SvgAnimatedLength")]
40    # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = y)]
41    #[doc = "Getter for the `y` field of this object."]
42    #[doc = ""]
43    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/y)"]
44    #[doc = ""]
45    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*"]
46    pub fn y(this: &SvgFilterElement) -> SvgAnimatedLength;
47    #[cfg(feature = "SvgAnimatedLength")]
48    # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = width)]
49    #[doc = "Getter for the `width` field of this object."]
50    #[doc = ""]
51    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/width)"]
52    #[doc = ""]
53    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*"]
54    pub fn width(this: &SvgFilterElement) -> SvgAnimatedLength;
55    #[cfg(feature = "SvgAnimatedLength")]
56    # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = height)]
57    #[doc = "Getter for the `height` field of this object."]
58    #[doc = ""]
59    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/height)"]
60    #[doc = ""]
61    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*"]
62    pub fn height(this: &SvgFilterElement) -> SvgAnimatedLength;
63    #[cfg(feature = "SvgAnimatedString")]
64    # [wasm_bindgen (structural , method , getter , js_class = "SVGFilterElement" , js_name = href)]
65    #[doc = "Getter for the `href` field of this object."]
66    #[doc = ""]
67    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/href)"]
68    #[doc = ""]
69    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgFilterElement`*"]
70    pub fn href(this: &SvgFilterElement) -> SvgAnimatedString;
71}