maxcountryman_web_sys/features/
gen_CheckerboardReportService.rs

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