web_sys/features/
gen_Scheduling.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[cfg(web_sys_unstable_apis)]
6#[wasm_bindgen]
7extern "C" {
8 #[wasm_bindgen(
9 extends = "::js_sys::Object",
10 js_name = "Scheduling",
11 typescript_type = "Scheduling"
12 )]
13 #[derive(Debug, Clone, PartialEq, Eq)]
14 #[doc = "The `Scheduling` class."]
15 #[doc = ""]
16 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Scheduling)"]
17 #[doc = ""]
18 #[doc = "*This API requires the following crate features to be activated: `Scheduling`*"]
19 #[doc = ""]
20 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
21 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
22 pub type Scheduling;
23 #[cfg(web_sys_unstable_apis)]
24 #[wasm_bindgen(method, js_class = "Scheduling", js_name = "isInputPending")]
25 #[doc = "The `isInputPending()` method."]
26 #[doc = ""]
27 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Scheduling/isInputPending)"]
28 #[doc = ""]
29 #[doc = "*This API requires the following crate features to be activated: `Scheduling`*"]
30 #[doc = ""]
31 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
32 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
33 pub fn is_input_pending(this: &Scheduling) -> bool;
34 #[cfg(web_sys_unstable_apis)]
35 #[cfg(feature = "IsInputPendingOptions")]
36 #[wasm_bindgen(method, js_class = "Scheduling", js_name = "isInputPending")]
37 #[doc = "The `isInputPending()` method."]
38 #[doc = ""]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Scheduling/isInputPending)"]
40 #[doc = ""]
41 #[doc = "*This API requires the following crate features to be activated: `IsInputPendingOptions`, `Scheduling`*"]
42 #[doc = ""]
43 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
44 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
45 pub fn is_input_pending_with_is_input_pending_options(
46 this: &Scheduling,
47 is_input_pending_options: &IsInputPendingOptions,
48 ) -> bool;
49}