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