diff options
Diffstat (limited to 'vendor/web-sys/src/features/gen_Clients.rs')
-rw-r--r-- | vendor/web-sys/src/features/gen_Clients.rs | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_Clients.rs b/vendor/web-sys/src/features/gen_Clients.rs new file mode 100644 index 000000000..a33c001e4 --- /dev/null +++ b/vendor/web-sys/src/features/gen_Clients.rs @@ -0,0 +1,53 @@ +#![allow(unused_imports)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Clients , typescript_type = "Clients")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `Clients` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Clients`*"] + pub type Clients; + # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = claim)] + #[doc = "The `claim()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/claim)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Clients`*"] + pub fn claim(this: &Clients) -> ::js_sys::Promise; + # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = get)] + #[doc = "The `get()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/get)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Clients`*"] + pub fn get(this: &Clients, id: &str) -> ::js_sys::Promise; + # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = matchAll)] + #[doc = "The `matchAll()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/matchAll)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Clients`*"] + pub fn match_all(this: &Clients) -> ::js_sys::Promise; + #[cfg(feature = "ClientQueryOptions")] + # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = matchAll)] + #[doc = "The `matchAll()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/matchAll)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `ClientQueryOptions`, `Clients`*"] + pub fn match_all_with_options( + this: &Clients, + options: &ClientQueryOptions, + ) -> ::js_sys::Promise; + # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = openWindow)] + #[doc = "The `openWindow()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/openWindow)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `Clients`*"] + pub fn open_window(this: &Clients, url: &str) -> ::js_sys::Promise; +} |