85 lines
4.4 KiB
Rust
85 lines
4.4 KiB
Rust
#![allow(unused_imports)]
|
|
#![allow(clippy::all)]
|
|
use super::*;
|
|
use wasm_bindgen::prelude::*;
|
|
#[wasm_bindgen]
|
|
extern "C" {
|
|
#[wasm_bindgen(
|
|
extends = "SvgElement",
|
|
extends = "Element",
|
|
extends = "Node",
|
|
extends = "EventTarget",
|
|
extends = "::js_sys::Object",
|
|
js_name = "SVGFEImageElement",
|
|
typescript_type = "SVGFEImageElement"
|
|
)]
|
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
|
#[doc = "The `SvgfeImageElement` class."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `SvgfeImageElement`*"]
|
|
pub type SvgfeImageElement;
|
|
#[cfg(feature = "SvgAnimatedPreserveAspectRatio")]
|
|
#[wasm_bindgen(
|
|
method,
|
|
getter,
|
|
js_class = "SVGFEImageElement",
|
|
js_name = "preserveAspectRatio"
|
|
)]
|
|
#[doc = "Getter for the `preserveAspectRatio` field of this object."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/preserveAspectRatio)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgfeImageElement`*"]
|
|
pub fn preserve_aspect_ratio(this: &SvgfeImageElement) -> SvgAnimatedPreserveAspectRatio;
|
|
#[cfg(feature = "SvgAnimatedLength")]
|
|
#[wasm_bindgen(method, getter, js_class = "SVGFEImageElement", js_name = "x")]
|
|
#[doc = "Getter for the `x` field of this object."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/x)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*"]
|
|
pub fn x(this: &SvgfeImageElement) -> SvgAnimatedLength;
|
|
#[cfg(feature = "SvgAnimatedLength")]
|
|
#[wasm_bindgen(method, getter, js_class = "SVGFEImageElement", js_name = "y")]
|
|
#[doc = "Getter for the `y` field of this object."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/y)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*"]
|
|
pub fn y(this: &SvgfeImageElement) -> SvgAnimatedLength;
|
|
#[cfg(feature = "SvgAnimatedLength")]
|
|
#[wasm_bindgen(method, getter, js_class = "SVGFEImageElement", js_name = "width")]
|
|
#[doc = "Getter for the `width` field of this object."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/width)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*"]
|
|
pub fn width(this: &SvgfeImageElement) -> SvgAnimatedLength;
|
|
#[cfg(feature = "SvgAnimatedLength")]
|
|
#[wasm_bindgen(method, getter, js_class = "SVGFEImageElement", js_name = "height")]
|
|
#[doc = "Getter for the `height` field of this object."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/height)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*"]
|
|
pub fn height(this: &SvgfeImageElement) -> SvgAnimatedLength;
|
|
#[cfg(feature = "SvgAnimatedString")]
|
|
#[wasm_bindgen(method, getter, js_class = "SVGFEImageElement", js_name = "result")]
|
|
#[doc = "Getter for the `result` field of this object."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/result)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeImageElement`*"]
|
|
pub fn result(this: &SvgfeImageElement) -> SvgAnimatedString;
|
|
#[cfg(feature = "SvgAnimatedString")]
|
|
#[wasm_bindgen(method, getter, js_class = "SVGFEImageElement", js_name = "href")]
|
|
#[doc = "Getter for the `href` field of this object."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/href)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeImageElement`*"]
|
|
pub fn href(this: &SvgfeImageElement) -> SvgAnimatedString;
|
|
}
|