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