web_sys/features/
gen_MozDebug.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = MOZ_debug , typescript_type = "MOZ_debug")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `MozDebug` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MOZ_debug)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
14    pub type MozDebug;
15    # [wasm_bindgen (catch , method , structural , js_class = "MOZ_debug" , js_name = getParameter)]
16    #[doc = "The `getParameter()` method."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MOZ_debug/getParameter)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
21    pub fn get_parameter(this: &MozDebug, pname: u32) -> Result<::wasm_bindgen::JsValue, JsValue>;
22}
23impl MozDebug {
24    #[doc = "The `MOZ_debug.EXTENSIONS` const."]
25    #[doc = ""]
26    #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
27    pub const EXTENSIONS: u32 = 7939u64 as u32;
28    #[doc = "The `MOZ_debug.WSI_INFO` const."]
29    #[doc = ""]
30    #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
31    pub const WSI_INFO: u32 = 65536u64 as u32;
32    #[doc = "The `MOZ_debug.UNPACK_REQUIRE_FASTPATH` const."]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
35    pub const UNPACK_REQUIRE_FASTPATH: u32 = 65537u64 as u32;
36}