maxcountryman_web_sys/features/
gen_SvgFilterElement.rs

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