Skip to main content

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