web_sys/features/
gen_BluetoothServiceDataMap.rs1#![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 = BluetoothServiceDataMap , typescript_type = "BluetoothServiceDataMap")]
9 #[derive(Debug, Clone, PartialEq, Eq)]
10 #[doc = "The `BluetoothServiceDataMap` class."]
11 #[doc = ""]
12 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap)"]
13 #[doc = ""]
14 #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
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 BluetoothServiceDataMap;
19 #[cfg(web_sys_unstable_apis)]
20 # [wasm_bindgen (structural , method , getter , js_class = "BluetoothServiceDataMap" , 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/BluetoothServiceDataMap/size)"]
24 #[doc = ""]
25 #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
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: &BluetoothServiceDataMap) -> u32;
30 #[cfg(web_sys_unstable_apis)]
31 # [wasm_bindgen (method , structural , js_class = "BluetoothServiceDataMap" , js_name = entries)]
32 #[doc = "The `entries()` method."]
33 #[doc = ""]
34 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap/entries)"]
35 #[doc = ""]
36 #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
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: &BluetoothServiceDataMap) -> ::js_sys::Iterator;
41 #[cfg(web_sys_unstable_apis)]
42 # [wasm_bindgen (catch , method , structural , js_class = "BluetoothServiceDataMap" , js_name = forEach)]
43 #[doc = "The `forEach()` method."]
44 #[doc = ""]
45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap/forEach)"]
46 #[doc = ""]
47 #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
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: &BluetoothServiceDataMap,
53 callback: &::js_sys::Function,
54 ) -> Result<(), JsValue>;
55 #[cfg(web_sys_unstable_apis)]
56 # [wasm_bindgen (method , structural , js_class = "BluetoothServiceDataMap" , js_name = get)]
57 #[doc = "The `get()` method."]
58 #[doc = ""]
59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap/get)"]
60 #[doc = ""]
61 #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
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: &BluetoothServiceDataMap, key: &str) -> Option<::js_sys::DataView>;
66 #[cfg(web_sys_unstable_apis)]
67 # [wasm_bindgen (method , structural , js_class = "BluetoothServiceDataMap" , js_name = has)]
68 #[doc = "The `has()` method."]
69 #[doc = ""]
70 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap/has)"]
71 #[doc = ""]
72 #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
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: &BluetoothServiceDataMap, key: &str) -> bool;
77 #[cfg(web_sys_unstable_apis)]
78 # [wasm_bindgen (method , structural , js_class = "BluetoothServiceDataMap" , js_name = keys)]
79 #[doc = "The `keys()` method."]
80 #[doc = ""]
81 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap/keys)"]
82 #[doc = ""]
83 #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
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: &BluetoothServiceDataMap) -> ::js_sys::Iterator;
88 #[cfg(web_sys_unstable_apis)]
89 # [wasm_bindgen (method , structural , js_class = "BluetoothServiceDataMap" , js_name = values)]
90 #[doc = "The `values()` method."]
91 #[doc = ""]
92 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothServiceDataMap/values)"]
93 #[doc = ""]
94 #[doc = "*This API requires the following crate features to be activated: `BluetoothServiceDataMap`*"]
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: &BluetoothServiceDataMap) -> ::js_sys::Iterator;
99}