web_sys/features/
gen_CheckerboardReportService.rs

1#![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 = CheckerboardReportService , typescript_type = "CheckerboardReportService")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `CheckerboardReportService` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
14    pub type CheckerboardReportService;
15    #[wasm_bindgen(catch, constructor, js_class = "CheckerboardReportService")]
16    #[doc = "The `new CheckerboardReportService(..)` constructor, creating a new instance of `CheckerboardReportService`."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/CheckerboardReportService)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
21    pub fn new() -> Result<CheckerboardReportService, JsValue>;
22    # [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = flushActiveReports)]
23    #[doc = "The `flushActiveReports()` method."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/flushActiveReports)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
28    pub fn flush_active_reports(this: &CheckerboardReportService);
29    # [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = getReports)]
30    #[doc = "The `getReports()` method."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/getReports)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
35    pub fn get_reports(this: &CheckerboardReportService) -> ::js_sys::Array;
36    # [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = isRecordingEnabled)]
37    #[doc = "The `isRecordingEnabled()` method."]
38    #[doc = ""]
39    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/isRecordingEnabled)"]
40    #[doc = ""]
41    #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
42    pub fn is_recording_enabled(this: &CheckerboardReportService) -> bool;
43    # [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = setRecordingEnabled)]
44    #[doc = "The `setRecordingEnabled()` method."]
45    #[doc = ""]
46    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/setRecordingEnabled)"]
47    #[doc = ""]
48    #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
49    pub fn set_recording_enabled(this: &CheckerboardReportService, a_enabled: bool);
50}