]> git.proxmox.com Git - rustc.git/blob - vendor/web-sys/src/features/gen_SvgPathElement.rs
New upstream version 1.72.1+dfsg1
[rustc.git] / vendor / web-sys / src / features / gen_SvgPathElement.rs
1 #![allow(unused_imports)]
2 #![allow(clippy::all)]
3 use super::*;
4 use wasm_bindgen::prelude::*;
5 #[wasm_bindgen]
6 extern "C" {
7 # [wasm_bindgen (extends = SvgGeometryElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGPathElement , typescript_type = "SVGPathElement")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `SvgPathElement` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`*"]
14 pub type SvgPathElement;
15 #[cfg(feature = "SvgPathSegList")]
16 # [wasm_bindgen (structural , method , getter , js_class = "SVGPathElement" , js_name = pathSegList)]
17 #[doc = "Getter for the `pathSegList` field of this object."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/pathSegList)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`, `SvgPathSegList`*"]
22 pub fn path_seg_list(this: &SvgPathElement) -> SvgPathSegList;
23 #[cfg(feature = "SvgPathSegList")]
24 # [wasm_bindgen (structural , method , getter , js_class = "SVGPathElement" , js_name = animatedPathSegList)]
25 #[doc = "Getter for the `animatedPathSegList` field of this object."]
26 #[doc = ""]
27 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/animatedPathSegList)"]
28 #[doc = ""]
29 #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`, `SvgPathSegList`*"]
30 pub fn animated_path_seg_list(this: &SvgPathElement) -> SvgPathSegList;
31 # [wasm_bindgen (method , structural , js_class = "SVGPathElement" , js_name = getPathSegAtLength)]
32 #[doc = "The `getPathSegAtLength()` method."]
33 #[doc = ""]
34 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/getPathSegAtLength)"]
35 #[doc = ""]
36 #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`*"]
37 pub fn get_path_seg_at_length(this: &SvgPathElement, distance: f32) -> u32;
38 }