web_sys/features/
gen_SvgUnitTypes.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGUnitTypes , typescript_type = "SVGUnitTypes")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `SvgUnitTypes` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUnitTypes)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `SvgUnitTypes`*"]
14 pub type SvgUnitTypes;
15}
16impl SvgUnitTypes {
17 #[doc = "The `SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN` const."]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `SvgUnitTypes`*"]
20 pub const SVG_UNIT_TYPE_UNKNOWN: u16 = 0i64 as u16;
21 #[doc = "The `SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE` const."]
22 #[doc = ""]
23 #[doc = "*This API requires the following crate features to be activated: `SvgUnitTypes`*"]
24 pub const SVG_UNIT_TYPE_USERSPACEONUSE: u16 = 1u64 as u16;
25 #[doc = "The `SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX` const."]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `SvgUnitTypes`*"]
28 pub const SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: u16 = 2u64 as u16;
29}