1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (extends = SvgGeometryElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGRectElement , typescript_type = "SVGRectElement")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `SvgRectElement` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `SvgRectElement`*"] 13 pub type SvgRectElement; 14 #[cfg(feature = "SvgAnimatedLength")] 15 # [wasm_bindgen (structural , method , getter , js_class = "SVGRectElement" , 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/SVGRectElement/x)"] 19 #[doc = ""] 20 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*"] x(this: &SvgRectElement) -> SvgAnimatedLength21 pub fn x(this: &SvgRectElement) -> SvgAnimatedLength; 22 #[cfg(feature = "SvgAnimatedLength")] 23 # [wasm_bindgen (structural , method , getter , js_class = "SVGRectElement" , 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/SVGRectElement/y)"] 27 #[doc = ""] 28 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*"] y(this: &SvgRectElement) -> SvgAnimatedLength29 pub fn y(this: &SvgRectElement) -> SvgAnimatedLength; 30 #[cfg(feature = "SvgAnimatedLength")] 31 # [wasm_bindgen (structural , method , getter , js_class = "SVGRectElement" , 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/SVGRectElement/width)"] 35 #[doc = ""] 36 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*"] width(this: &SvgRectElement) -> SvgAnimatedLength37 pub fn width(this: &SvgRectElement) -> SvgAnimatedLength; 38 #[cfg(feature = "SvgAnimatedLength")] 39 # [wasm_bindgen (structural , method , getter , js_class = "SVGRectElement" , 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/SVGRectElement/height)"] 43 #[doc = ""] 44 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*"] height(this: &SvgRectElement) -> SvgAnimatedLength45 pub fn height(this: &SvgRectElement) -> SvgAnimatedLength; 46 #[cfg(feature = "SvgAnimatedLength")] 47 # [wasm_bindgen (structural , method , getter , js_class = "SVGRectElement" , js_name = rx)] 48 #[doc = "Getter for the `rx` field of this object."] 49 #[doc = ""] 50 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/rx)"] 51 #[doc = ""] 52 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*"] rx(this: &SvgRectElement) -> SvgAnimatedLength53 pub fn rx(this: &SvgRectElement) -> SvgAnimatedLength; 54 #[cfg(feature = "SvgAnimatedLength")] 55 # [wasm_bindgen (structural , method , getter , js_class = "SVGRectElement" , js_name = ry)] 56 #[doc = "Getter for the `ry` field of this object."] 57 #[doc = ""] 58 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/ry)"] 59 #[doc = ""] 60 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*"] ry(this: &SvgRectElement) -> SvgAnimatedLength61 pub fn ry(this: &SvgRectElement) -> SvgAnimatedLength; 62 } 63