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
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceEntry , typescript_type = "PerformanceEntry")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `PerformanceEntry` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceEntry`*"]
    pub type PerformanceEntry;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceEntry" , js_name = name)]
    #[doc = "Getter for the `name` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/name)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceEntry`*"]
    pub fn name(this: &PerformanceEntry) -> String;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceEntry" , js_name = entryType)]
    #[doc = "Getter for the `entryType` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/entryType)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceEntry`*"]
    pub fn entry_type(this: &PerformanceEntry) -> String;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceEntry" , js_name = startTime)]
    #[doc = "Getter for the `startTime` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/startTime)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceEntry`*"]
    pub fn start_time(this: &PerformanceEntry) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceEntry" , js_name = duration)]
    #[doc = "Getter for the `duration` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/duration)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceEntry`*"]
    pub fn duration(this: &PerformanceEntry) -> f64;
    # [wasm_bindgen (method , structural , js_class = "PerformanceEntry" , js_name = toJSON)]
    #[doc = "The `toJSON()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/toJSON)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceEntry`*"]
    pub fn to_json(this: &PerformanceEntry) -> ::js_sys::Object;
}