maxcountryman_web_sys/features/
gen_PerformanceObserverEntryList.rs

1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceObserverEntryList , typescript_type = "PerformanceObserverEntryList")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `PerformanceObserverEntryList` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverEntryList`*"]
13    pub type PerformanceObserverEntryList;
14    # [wasm_bindgen (method , structural , js_class = "PerformanceObserverEntryList" , js_name = getEntries)]
15    #[doc = "The `getEntries()` method."]
16    #[doc = ""]
17    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList/getEntries)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverEntryList`*"]
20    pub fn get_entries(this: &PerformanceObserverEntryList) -> ::js_sys::Array;
21    #[cfg(feature = "PerformanceEntryFilterOptions")]
22    # [wasm_bindgen (method , structural , js_class = "PerformanceObserverEntryList" , js_name = getEntries)]
23    #[doc = "The `getEntries()` method."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList/getEntries)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `PerformanceEntryFilterOptions`, `PerformanceObserverEntryList`*"]
28    pub fn get_entries_with_filter(
29        this: &PerformanceObserverEntryList,
30        filter: &PerformanceEntryFilterOptions,
31    ) -> ::js_sys::Array;
32    # [wasm_bindgen (method , structural , js_class = "PerformanceObserverEntryList" , js_name = getEntriesByName)]
33    #[doc = "The `getEntriesByName()` method."]
34    #[doc = ""]
35    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList/getEntriesByName)"]
36    #[doc = ""]
37    #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverEntryList`*"]
38    pub fn get_entries_by_name(this: &PerformanceObserverEntryList, name: &str) -> ::js_sys::Array;
39    # [wasm_bindgen (method , structural , js_class = "PerformanceObserverEntryList" , js_name = getEntriesByName)]
40    #[doc = "The `getEntriesByName()` method."]
41    #[doc = ""]
42    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList/getEntriesByName)"]
43    #[doc = ""]
44    #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverEntryList`*"]
45    pub fn get_entries_by_name_with_entry_type(
46        this: &PerformanceObserverEntryList,
47        name: &str,
48        entry_type: &str,
49    ) -> ::js_sys::Array;
50    # [wasm_bindgen (method , structural , js_class = "PerformanceObserverEntryList" , js_name = getEntriesByType)]
51    #[doc = "The `getEntriesByType()` method."]
52    #[doc = ""]
53    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList/getEntriesByType)"]
54    #[doc = ""]
55    #[doc = "*This API requires the following crate features to be activated: `PerformanceObserverEntryList`*"]
56    pub fn get_entries_by_type(
57        this: &PerformanceObserverEntryList,
58        entry_type: &str,
59    ) -> ::js_sys::Array;
60}