maxcountryman_web_sys/features/
gen_SvgPathSegMovetoRel.rs1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6 # [wasm_bindgen (is_type_of = | _ | false , extends = SvgPathSeg , extends = :: js_sys :: Object , js_name = SVGPathSegMovetoRel , typescript_type = "SVGPathSegMovetoRel")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `SvgPathSegMovetoRel` class."]
9 #[doc = ""]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoRel)"]
11 #[doc = ""]
12 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoRel`*"]
13 pub type SvgPathSegMovetoRel;
14 # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegMovetoRel" , js_name = x)]
15 #[doc = "Getter for the `x` field of this object."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoRel/x)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoRel`*"]
20 pub fn x(this: &SvgPathSegMovetoRel) -> f32;
21 # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegMovetoRel" , js_name = x)]
22 #[doc = "Setter for the `x` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoRel/x)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoRel`*"]
27 pub fn set_x(this: &SvgPathSegMovetoRel, value: f32);
28 # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSegMovetoRel" , js_name = y)]
29 #[doc = "Getter for the `y` field of this object."]
30 #[doc = ""]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoRel/y)"]
32 #[doc = ""]
33 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoRel`*"]
34 pub fn y(this: &SvgPathSegMovetoRel) -> f32;
35 # [wasm_bindgen (structural , method , setter , js_class = "SVGPathSegMovetoRel" , js_name = y)]
36 #[doc = "Setter for the `y` field of this object."]
37 #[doc = ""]
38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegMovetoRel/y)"]
39 #[doc = ""]
40 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegMovetoRel`*"]
41 pub fn set_y(this: &SvgPathSegMovetoRel, value: f32);
42}