Skip to main content

web_sys/features/
gen_FuzzingFunctions.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 = "FuzzingFunctions",
10        typescript_type = "FuzzingFunctions"
11    )]
12    #[derive(Debug, Clone, PartialEq, Eq)]
13    #[doc = "The `FuzzingFunctions` class."]
14    #[doc = ""]
15    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions)"]
16    #[doc = ""]
17    #[doc = "*This API requires the following crate features to be activated: `FuzzingFunctions`*"]
18    pub type FuzzingFunctions;
19    #[wasm_bindgen(
20        static_method_of = "FuzzingFunctions",
21        js_class = "FuzzingFunctions",
22        js_name = "cycleCollect"
23    )]
24    #[doc = "The `cycleCollect()` method."]
25    #[doc = ""]
26    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions/cycleCollect_static)"]
27    #[doc = ""]
28    #[doc = "*This API requires the following crate features to be activated: `FuzzingFunctions`*"]
29    pub fn cycle_collect();
30    #[wasm_bindgen(
31        catch,
32        static_method_of = "FuzzingFunctions",
33        js_class = "FuzzingFunctions",
34        js_name = "enableAccessibility"
35    )]
36    #[doc = "The `enableAccessibility()` method."]
37    #[doc = ""]
38    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions/enableAccessibility_static)"]
39    #[doc = ""]
40    #[doc = "*This API requires the following crate features to be activated: `FuzzingFunctions`*"]
41    pub fn enable_accessibility() -> Result<(), JsValue>;
42    #[wasm_bindgen(
43        static_method_of = "FuzzingFunctions",
44        js_class = "FuzzingFunctions",
45        js_name = "garbageCollect"
46    )]
47    #[doc = "The `garbageCollect()` method."]
48    #[doc = ""]
49    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions/garbageCollect_static)"]
50    #[doc = ""]
51    #[doc = "*This API requires the following crate features to be activated: `FuzzingFunctions`*"]
52    pub fn garbage_collect();
53}