#![allow(unused_imports)] #![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGRect , typescript_type = "SVGRect")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgRect` class."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"] pub type SvgRect; # [wasm_bindgen (structural , method , getter , js_class = "SVGRect" , 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/SVGRect/x)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"] pub fn x(this: &SvgRect) -> f32; # [wasm_bindgen (structural , method , setter , js_class = "SVGRect" , js_name = x)] #[doc = "Setter for the `x` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/x)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"] pub fn set_x(this: &SvgRect, value: f32); # [wasm_bindgen (structural , method , getter , js_class = "SVGRect" , 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/SVGRect/y)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"] pub fn y(this: &SvgRect) -> f32; # [wasm_bindgen (structural , method , setter , js_class = "SVGRect" , js_name = y)] #[doc = "Setter for the `y` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/y)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"] pub fn set_y(this: &SvgRect, value: f32); # [wasm_bindgen (structural , method , getter , js_class = "SVGRect" , 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/SVGRect/width)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"] pub fn width(this: &SvgRect) -> f32; # [wasm_bindgen (structural , method , setter , js_class = "SVGRect" , js_name = width)] #[doc = "Setter for the `width` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/width)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"] pub fn set_width(this: &SvgRect, value: f32); # [wasm_bindgen (structural , method , getter , js_class = "SVGRect" , 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/SVGRect/height)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"] pub fn height(this: &SvgRect) -> f32; # [wasm_bindgen (structural , method , setter , js_class = "SVGRect" , js_name = height)] #[doc = "Setter for the `height` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/height)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `SvgRect`*"] pub fn set_height(this: &SvgRect, value: f32); }