Skip to main content

web_sys/features/
gen_SvgAnimatedRect.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    #[wasm_bindgen(
8        extends = "::js_sys::Object",
9        js_name = "SVGAnimatedRect",
10        typescript_type = "SVGAnimatedRect"
11    )]
12    #[derive(Debug, Clone, PartialEq, Eq)]
13    #[doc = "The `SvgAnimatedRect` class."]
14    #[doc = ""]
15    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedRect)"]
16    #[doc = ""]
17    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`*"]
18    pub type SvgAnimatedRect;
19    #[cfg(feature = "SvgRect")]
20    #[wasm_bindgen(method, getter, js_class = "SVGAnimatedRect", js_name = "baseVal")]
21    #[doc = "Getter for the `baseVal` field of this object."]
22    #[doc = ""]
23    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedRect/baseVal)"]
24    #[doc = ""]
25    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgRect`*"]
26    pub fn base_val(this: &SvgAnimatedRect) -> Option<SvgRect>;
27    #[cfg(feature = "SvgRect")]
28    #[wasm_bindgen(method, getter, js_class = "SVGAnimatedRect", js_name = "animVal")]
29    #[doc = "Getter for the `animVal` field of this object."]
30    #[doc = ""]
31    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedRect/animVal)"]
32    #[doc = ""]
33    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgRect`*"]
34    pub fn anim_val(this: &SvgAnimatedRect) -> Option<SvgRect>;
35}