web_sys/features/
gen_SvgClipPathElement.rs

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