web_sys/features/
gen_BluetoothManufacturerDataMap.rs

1#![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 (extends = :: js_sys :: Object , js_name = BluetoothManufacturerDataMap , typescript_type = "BluetoothManufacturerDataMap")]
9    #[derive(Debug, Clone, PartialEq, Eq)]
10    #[doc = "The `BluetoothManufacturerDataMap` class."]
11    #[doc = ""]
12    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap)"]
13    #[doc = ""]
14    #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
15    #[doc = ""]
16    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
17    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
18    pub type BluetoothManufacturerDataMap;
19    #[cfg(web_sys_unstable_apis)]
20    # [wasm_bindgen (structural , method , getter , js_class = "BluetoothManufacturerDataMap" , js_name = size)]
21    #[doc = "Getter for the `size` field of this object."]
22    #[doc = ""]
23    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/size)"]
24    #[doc = ""]
25    #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
26    #[doc = ""]
27    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
28    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
29    pub fn size(this: &BluetoothManufacturerDataMap) -> u32;
30    #[cfg(web_sys_unstable_apis)]
31    # [wasm_bindgen (method , structural , js_class = "BluetoothManufacturerDataMap" , js_name = entries)]
32    #[doc = "The `entries()` method."]
33    #[doc = ""]
34    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/entries)"]
35    #[doc = ""]
36    #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
37    #[doc = ""]
38    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
39    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
40    pub fn entries(this: &BluetoothManufacturerDataMap) -> ::js_sys::Iterator;
41    #[cfg(web_sys_unstable_apis)]
42    # [wasm_bindgen (catch , method , structural , js_class = "BluetoothManufacturerDataMap" , js_name = forEach)]
43    #[doc = "The `forEach()` method."]
44    #[doc = ""]
45    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/forEach)"]
46    #[doc = ""]
47    #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
48    #[doc = ""]
49    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
50    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
51    pub fn for_each(
52        this: &BluetoothManufacturerDataMap,
53        callback: &::js_sys::Function,
54    ) -> Result<(), JsValue>;
55    #[cfg(web_sys_unstable_apis)]
56    # [wasm_bindgen (method , structural , js_class = "BluetoothManufacturerDataMap" , js_name = get)]
57    #[doc = "The `get()` method."]
58    #[doc = ""]
59    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/get)"]
60    #[doc = ""]
61    #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
62    #[doc = ""]
63    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
64    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
65    pub fn get(this: &BluetoothManufacturerDataMap, key: u16) -> Option<::js_sys::DataView>;
66    #[cfg(web_sys_unstable_apis)]
67    # [wasm_bindgen (method , structural , js_class = "BluetoothManufacturerDataMap" , js_name = has)]
68    #[doc = "The `has()` method."]
69    #[doc = ""]
70    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/has)"]
71    #[doc = ""]
72    #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
73    #[doc = ""]
74    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
75    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
76    pub fn has(this: &BluetoothManufacturerDataMap, key: u16) -> bool;
77    #[cfg(web_sys_unstable_apis)]
78    # [wasm_bindgen (method , structural , js_class = "BluetoothManufacturerDataMap" , js_name = keys)]
79    #[doc = "The `keys()` method."]
80    #[doc = ""]
81    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/keys)"]
82    #[doc = ""]
83    #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
84    #[doc = ""]
85    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
86    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
87    pub fn keys(this: &BluetoothManufacturerDataMap) -> ::js_sys::Iterator;
88    #[cfg(web_sys_unstable_apis)]
89    # [wasm_bindgen (method , structural , js_class = "BluetoothManufacturerDataMap" , js_name = values)]
90    #[doc = "The `values()` method."]
91    #[doc = ""]
92    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothManufacturerDataMap/values)"]
93    #[doc = ""]
94    #[doc = "*This API requires the following crate features to be activated: `BluetoothManufacturerDataMap`*"]
95    #[doc = ""]
96    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
97    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
98    pub fn values(this: &BluetoothManufacturerDataMap) -> ::js_sys::Iterator;
99}