web_sys/features/
gen_External.rs

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