1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGUseElement , typescript_type = "SVGUseElement")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `SvgUseElement` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `SvgUseElement`*"] 13 pub type SvgUseElement; 14 #[cfg(feature = "SvgAnimatedLength")] 15 # [wasm_bindgen (structural , method , getter , js_class = "SVGUseElement" , js_name = x)] 16 #[doc = "Getter for the `x` field of this object."] 17 #[doc = ""] 18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/x)"] 19 #[doc = ""] 20 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*"] x(this: &SvgUseElement) -> SvgAnimatedLength21 pub fn x(this: &SvgUseElement) -> SvgAnimatedLength; 22 #[cfg(feature = "SvgAnimatedLength")] 23 # [wasm_bindgen (structural , method , getter , js_class = "SVGUseElement" , js_name = y)] 24 #[doc = "Getter for the `y` field of this object."] 25 #[doc = ""] 26 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/y)"] 27 #[doc = ""] 28 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*"] y(this: &SvgUseElement) -> SvgAnimatedLength29 pub fn y(this: &SvgUseElement) -> SvgAnimatedLength; 30 #[cfg(feature = "SvgAnimatedLength")] 31 # [wasm_bindgen (structural , method , getter , js_class = "SVGUseElement" , js_name = width)] 32 #[doc = "Getter for the `width` field of this object."] 33 #[doc = ""] 34 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/width)"] 35 #[doc = ""] 36 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*"] width(this: &SvgUseElement) -> SvgAnimatedLength37 pub fn width(this: &SvgUseElement) -> SvgAnimatedLength; 38 #[cfg(feature = "SvgAnimatedLength")] 39 # [wasm_bindgen (structural , method , getter , js_class = "SVGUseElement" , js_name = height)] 40 #[doc = "Getter for the `height` field of this object."] 41 #[doc = ""] 42 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/height)"] 43 #[doc = ""] 44 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*"] height(this: &SvgUseElement) -> SvgAnimatedLength45 pub fn height(this: &SvgUseElement) -> SvgAnimatedLength; 46 #[cfg(feature = "SvgAnimatedString")] 47 # [wasm_bindgen (structural , method , getter , js_class = "SVGUseElement" , js_name = href)] 48 #[doc = "Getter for the `href` field of this object."] 49 #[doc = ""] 50 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/href)"] 51 #[doc = ""] 52 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgUseElement`*"] href(this: &SvgUseElement) -> SvgAnimatedString53 pub fn href(this: &SvgUseElement) -> SvgAnimatedString; 54 } 55