web_sys/features/
gen_CheckerboardReportService.rs

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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = CheckerboardReportService , typescript_type = "CheckerboardReportService")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `CheckerboardReportService` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
    pub type CheckerboardReportService;
    #[wasm_bindgen(catch, constructor, js_class = "CheckerboardReportService")]
    #[doc = "The `new CheckerboardReportService(..)` constructor, creating a new instance of `CheckerboardReportService`."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/CheckerboardReportService)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
    pub fn new() -> Result<CheckerboardReportService, JsValue>;
    # [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = flushActiveReports)]
    #[doc = "The `flushActiveReports()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/flushActiveReports)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
    pub fn flush_active_reports(this: &CheckerboardReportService);
    # [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = getReports)]
    #[doc = "The `getReports()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/getReports)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
    pub fn get_reports(this: &CheckerboardReportService) -> ::js_sys::Array;
    # [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = isRecordingEnabled)]
    #[doc = "The `isRecordingEnabled()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/isRecordingEnabled)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
    pub fn is_recording_enabled(this: &CheckerboardReportService) -> bool;
    # [wasm_bindgen (method , structural , js_class = "CheckerboardReportService" , js_name = setRecordingEnabled)]
    #[doc = "The `setRecordingEnabled()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/setRecordingEnabled)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `CheckerboardReportService`*"]
    pub fn set_recording_enabled(this: &CheckerboardReportService, a_enabled: bool);
}