diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 02:49:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 02:49:50 +0000 |
commit | 9835e2ae736235810b4ea1c162ca5e65c547e770 (patch) | |
tree | 3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/web-sys/src/features/gen_SvgPathSeg.rs | |
parent | Releasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff) | |
download | rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip |
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/web-sys/src/features/gen_SvgPathSeg.rs')
-rw-r--r-- | vendor/web-sys/src/features/gen_SvgPathSeg.rs | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_SvgPathSeg.rs b/vendor/web-sys/src/features/gen_SvgPathSeg.rs new file mode 100644 index 000000000..2c9dc633e --- /dev/null +++ b/vendor/web-sys/src/features/gen_SvgPathSeg.rs @@ -0,0 +1,110 @@ +#![allow(unused_imports)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = SVGPathSeg , typescript_type = "SVGPathSeg")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `SvgPathSeg` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSeg)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub type SvgPathSeg; + # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSeg" , js_name = pathSegType)] + #[doc = "Getter for the `pathSegType` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSeg/pathSegType)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub fn path_seg_type(this: &SvgPathSeg) -> u16; + # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSeg" , js_name = pathSegTypeAsLetter)] + #[doc = "Getter for the `pathSegTypeAsLetter` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSeg/pathSegTypeAsLetter)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub fn path_seg_type_as_letter(this: &SvgPathSeg) -> String; +} +impl SvgPathSeg { + #[doc = "The `SVGPathSeg.PATHSEG_UNKNOWN` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_UNKNOWN: u16 = 0i64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_CLOSEPATH` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_CLOSEPATH: u16 = 1u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_MOVETO_ABS` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_MOVETO_ABS: u16 = 2u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_MOVETO_REL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_MOVETO_REL: u16 = 3u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_LINETO_ABS` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_LINETO_ABS: u16 = 4u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_LINETO_REL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_LINETO_REL: u16 = 5u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_CURVETO_CUBIC_ABS: u16 = 6u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_CURVETO_CUBIC_REL: u16 = 7u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_CURVETO_QUADRATIC_ABS: u16 = 8u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_CURVETO_QUADRATIC_REL: u16 = 9u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_ARC_ABS` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_ARC_ABS: u16 = 10u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_ARC_REL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_ARC_REL: u16 = 11u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_LINETO_HORIZONTAL_ABS: u16 = 12u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_LINETO_HORIZONTAL_REL: u16 = 13u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_LINETO_VERTICAL_ABS: u16 = 14u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_LINETO_VERTICAL_REL: u16 = 15u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: u16 = 16u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_CURVETO_CUBIC_SMOOTH_REL: u16 = 17u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: u16 = 18u64 as u16; + #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"] + pub const PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: u16 = 19u64 as u16; +} |