web_sys/features/
gen_SvgfeImageElement.rs1#![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 = "SVGFEImageElement",
14 typescript_type = "SVGFEImageElement"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `SvgfeImageElement` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `SvgfeImageElement`*"]
22 pub type SvgfeImageElement;
23 #[cfg(feature = "SvgAnimatedPreserveAspectRatio")]
24 #[wasm_bindgen(
25 method,
26 getter,
27 js_class = "SVGFEImageElement",
28 js_name = "preserveAspectRatio"
29 )]
30 #[doc = "Getter for the `preserveAspectRatio` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/preserveAspectRatio)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgfeImageElement`*"]
35 pub fn preserve_aspect_ratio(this: &SvgfeImageElement) -> SvgAnimatedPreserveAspectRatio;
36 #[cfg(feature = "SvgAnimatedLength")]
37 #[wasm_bindgen(method, getter, js_class = "SVGFEImageElement", js_name = "x")]
38 #[doc = "Getter for the `x` field of this object."]
39 #[doc = ""]
40 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/x)"]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*"]
43 pub fn x(this: &SvgfeImageElement) -> SvgAnimatedLength;
44 #[cfg(feature = "SvgAnimatedLength")]
45 #[wasm_bindgen(method, getter, js_class = "SVGFEImageElement", js_name = "y")]
46 #[doc = "Getter for the `y` field of this object."]
47 #[doc = ""]
48 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/y)"]
49 #[doc = ""]
50 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*"]
51 pub fn y(this: &SvgfeImageElement) -> SvgAnimatedLength;
52 #[cfg(feature = "SvgAnimatedLength")]
53 #[wasm_bindgen(method, getter, js_class = "SVGFEImageElement", js_name = "width")]
54 #[doc = "Getter for the `width` field of this object."]
55 #[doc = ""]
56 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/width)"]
57 #[doc = ""]
58 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*"]
59 pub fn width(this: &SvgfeImageElement) -> SvgAnimatedLength;
60 #[cfg(feature = "SvgAnimatedLength")]
61 #[wasm_bindgen(method, getter, js_class = "SVGFEImageElement", js_name = "height")]
62 #[doc = "Getter for the `height` field of this object."]
63 #[doc = ""]
64 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/height)"]
65 #[doc = ""]
66 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*"]
67 pub fn height(this: &SvgfeImageElement) -> SvgAnimatedLength;
68 #[cfg(feature = "SvgAnimatedString")]
69 #[wasm_bindgen(method, getter, js_class = "SVGFEImageElement", js_name = "result")]
70 #[doc = "Getter for the `result` field of this object."]
71 #[doc = ""]
72 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/result)"]
73 #[doc = ""]
74 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeImageElement`*"]
75 pub fn result(this: &SvgfeImageElement) -> SvgAnimatedString;
76 #[cfg(feature = "SvgAnimatedString")]
77 #[wasm_bindgen(method, getter, js_class = "SVGFEImageElement", js_name = "href")]
78 #[doc = "Getter for the `href` field of this object."]
79 #[doc = ""]
80 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/href)"]
81 #[doc = ""]
82 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeImageElement`*"]
83 pub fn href(this: &SvgfeImageElement) -> SvgAnimatedString;
84}