maxcountryman_web_sys/features/
gen_External.rs

1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6    # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = External , typescript_type = "External")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `External` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/External)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `External`*"]
13    pub type External;
14    # [wasm_bindgen (method , structural , js_class = "External" , js_name = AddSearchProvider)]
15    #[doc = "The `AddSearchProvider()` method."]
16    #[doc = ""]
17    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/External/AddSearchProvider)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `External`*"]
20    pub fn add_search_provider(this: &External, a_description_url: &str);
21    # [wasm_bindgen (method , structural , js_class = "External" , js_name = IsSearchProviderInstalled)]
22    #[doc = "The `IsSearchProviderInstalled()` method."]
23    #[doc = ""]
24    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/External/IsSearchProviderInstalled)"]
25    #[doc = ""]
26    #[doc = "*This API requires the following crate features to be activated: `External`*"]
27    pub fn is_search_provider_installed(this: &External, a_search_url: &str) -> u32;
28}