web_sys/features/
gen_AudioParamMap.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioParamMap , typescript_type = "AudioParamMap")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `AudioParamMap` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
14    pub type AudioParamMap;
15    # [wasm_bindgen (structural , method , getter , js_class = "AudioParamMap" , js_name = size)]
16    #[doc = "Getter for the `size` field of this object."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/size)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
21    pub fn size(this: &AudioParamMap) -> u32;
22    # [wasm_bindgen (method , structural , js_class = "AudioParamMap" , js_name = entries)]
23    #[doc = "The `entries()` method."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/entries)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
28    pub fn entries(this: &AudioParamMap) -> ::js_sys::Iterator;
29    # [wasm_bindgen (catch , method , structural , js_class = "AudioParamMap" , js_name = forEach)]
30    #[doc = "The `forEach()` method."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/forEach)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
35    pub fn for_each(this: &AudioParamMap, callback: &::js_sys::Function) -> Result<(), JsValue>;
36    #[cfg(feature = "AudioParam")]
37    # [wasm_bindgen (method , structural , js_class = "AudioParamMap" , js_name = get)]
38    #[doc = "The `get()` method."]
39    #[doc = ""]
40    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/get)"]
41    #[doc = ""]
42    #[doc = "*This API requires the following crate features to be activated: `AudioParam`, `AudioParamMap`*"]
43    pub fn get(this: &AudioParamMap, key: &str) -> Option<AudioParam>;
44    # [wasm_bindgen (method , structural , js_class = "AudioParamMap" , js_name = has)]
45    #[doc = "The `has()` method."]
46    #[doc = ""]
47    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/has)"]
48    #[doc = ""]
49    #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
50    pub fn has(this: &AudioParamMap, key: &str) -> bool;
51    # [wasm_bindgen (method , structural , js_class = "AudioParamMap" , js_name = keys)]
52    #[doc = "The `keys()` method."]
53    #[doc = ""]
54    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/keys)"]
55    #[doc = ""]
56    #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
57    pub fn keys(this: &AudioParamMap) -> ::js_sys::Iterator;
58    # [wasm_bindgen (method , structural , js_class = "AudioParamMap" , js_name = values)]
59    #[doc = "The `values()` method."]
60    #[doc = ""]
61    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap/values)"]
62    #[doc = ""]
63    #[doc = "*This API requires the following crate features to be activated: `AudioParamMap`*"]
64    pub fn values(this: &AudioParamMap) -> ::js_sys::Iterator;
65}