web_sys/features/
gen_RtcStatsReport.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 = RTCStatsReport , typescript_type = "RTCStatsReport")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `RtcStatsReport` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
14    pub type RtcStatsReport;
15    # [wasm_bindgen (structural , method , getter , js_class = "RTCStatsReport" , 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/RTCStatsReport/size)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
21    pub fn size(this: &RtcStatsReport) -> u32;
22    # [wasm_bindgen (method , structural , js_class = "RTCStatsReport" , js_name = entries)]
23    #[doc = "The `entries()` method."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport/entries)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
28    pub fn entries(this: &RtcStatsReport) -> ::js_sys::Iterator;
29    # [wasm_bindgen (catch , method , structural , js_class = "RTCStatsReport" , js_name = forEach)]
30    #[doc = "The `forEach()` method."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport/forEach)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
35    pub fn for_each(this: &RtcStatsReport, callback: &::js_sys::Function) -> Result<(), JsValue>;
36    # [wasm_bindgen (method , structural , js_class = "RTCStatsReport" , js_name = get)]
37    #[doc = "The `get()` method."]
38    #[doc = ""]
39    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport/get)"]
40    #[doc = ""]
41    #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
42    pub fn get(this: &RtcStatsReport, key: &str) -> Option<::js_sys::Object>;
43    # [wasm_bindgen (method , structural , js_class = "RTCStatsReport" , js_name = has)]
44    #[doc = "The `has()` method."]
45    #[doc = ""]
46    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport/has)"]
47    #[doc = ""]
48    #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
49    pub fn has(this: &RtcStatsReport, key: &str) -> bool;
50    # [wasm_bindgen (method , structural , js_class = "RTCStatsReport" , js_name = keys)]
51    #[doc = "The `keys()` method."]
52    #[doc = ""]
53    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport/keys)"]
54    #[doc = ""]
55    #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
56    pub fn keys(this: &RtcStatsReport) -> ::js_sys::Iterator;
57    # [wasm_bindgen (method , structural , js_class = "RTCStatsReport" , js_name = values)]
58    #[doc = "The `values()` method."]
59    #[doc = ""]
60    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport/values)"]
61    #[doc = ""]
62    #[doc = "*This API requires the following crate features to be activated: `RtcStatsReport`*"]
63    pub fn values(this: &RtcStatsReport) -> ::js_sys::Iterator;
64}