Skip to main content

web_sys/features/
gen_SvgUnitTypes.rs

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