web_sys/features/
gen_External.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
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = External , typescript_type = "External")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `External` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/External)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `External`*"]
    pub type External;
    # [wasm_bindgen (method , structural , js_class = "External" , js_name = AddSearchProvider)]
    #[doc = "The `AddSearchProvider()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/External/AddSearchProvider)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `External`*"]
    pub fn add_search_provider(this: &External, a_description_url: &str);
    # [wasm_bindgen (method , structural , js_class = "External" , js_name = IsSearchProviderInstalled)]
    #[doc = "The `IsSearchProviderInstalled()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/External/IsSearchProviderInstalled)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `External`*"]
    pub fn is_search_provider_installed(this: &External, a_search_url: &str) -> u32;
}