1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PerformanceTiming , typescript_type = "PerformanceTiming")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `PerformanceTiming` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
13     pub type PerformanceTiming;
14     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = navigationStart)]
15     #[doc = "Getter for the `navigationStart` field of this object."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/navigationStart)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
navigation_start(this: &PerformanceTiming) -> f6420     pub fn navigation_start(this: &PerformanceTiming) -> f64;
21     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = unloadEventStart)]
22     #[doc = "Getter for the `unloadEventStart` field of this object."]
23     #[doc = ""]
24     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/unloadEventStart)"]
25     #[doc = ""]
26     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
unload_event_start(this: &PerformanceTiming) -> f6427     pub fn unload_event_start(this: &PerformanceTiming) -> f64;
28     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = unloadEventEnd)]
29     #[doc = "Getter for the `unloadEventEnd` field of this object."]
30     #[doc = ""]
31     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/unloadEventEnd)"]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
unload_event_end(this: &PerformanceTiming) -> f6434     pub fn unload_event_end(this: &PerformanceTiming) -> f64;
35     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = redirectStart)]
36     #[doc = "Getter for the `redirectStart` field of this object."]
37     #[doc = ""]
38     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/redirectStart)"]
39     #[doc = ""]
40     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
redirect_start(this: &PerformanceTiming) -> f6441     pub fn redirect_start(this: &PerformanceTiming) -> f64;
42     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = redirectEnd)]
43     #[doc = "Getter for the `redirectEnd` field of this object."]
44     #[doc = ""]
45     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/redirectEnd)"]
46     #[doc = ""]
47     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
redirect_end(this: &PerformanceTiming) -> f6448     pub fn redirect_end(this: &PerformanceTiming) -> f64;
49     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = fetchStart)]
50     #[doc = "Getter for the `fetchStart` field of this object."]
51     #[doc = ""]
52     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/fetchStart)"]
53     #[doc = ""]
54     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
fetch_start(this: &PerformanceTiming) -> f6455     pub fn fetch_start(this: &PerformanceTiming) -> f64;
56     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domainLookupStart)]
57     #[doc = "Getter for the `domainLookupStart` field of this object."]
58     #[doc = ""]
59     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domainLookupStart)"]
60     #[doc = ""]
61     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
domain_lookup_start(this: &PerformanceTiming) -> f6462     pub fn domain_lookup_start(this: &PerformanceTiming) -> f64;
63     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domainLookupEnd)]
64     #[doc = "Getter for the `domainLookupEnd` field of this object."]
65     #[doc = ""]
66     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domainLookupEnd)"]
67     #[doc = ""]
68     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
domain_lookup_end(this: &PerformanceTiming) -> f6469     pub fn domain_lookup_end(this: &PerformanceTiming) -> f64;
70     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = connectStart)]
71     #[doc = "Getter for the `connectStart` field of this object."]
72     #[doc = ""]
73     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/connectStart)"]
74     #[doc = ""]
75     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
connect_start(this: &PerformanceTiming) -> f6476     pub fn connect_start(this: &PerformanceTiming) -> f64;
77     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = connectEnd)]
78     #[doc = "Getter for the `connectEnd` field of this object."]
79     #[doc = ""]
80     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/connectEnd)"]
81     #[doc = ""]
82     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
connect_end(this: &PerformanceTiming) -> f6483     pub fn connect_end(this: &PerformanceTiming) -> f64;
84     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = secureConnectionStart)]
85     #[doc = "Getter for the `secureConnectionStart` field of this object."]
86     #[doc = ""]
87     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/secureConnectionStart)"]
88     #[doc = ""]
89     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
secure_connection_start(this: &PerformanceTiming) -> f6490     pub fn secure_connection_start(this: &PerformanceTiming) -> f64;
91     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = requestStart)]
92     #[doc = "Getter for the `requestStart` field of this object."]
93     #[doc = ""]
94     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/requestStart)"]
95     #[doc = ""]
96     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
request_start(this: &PerformanceTiming) -> f6497     pub fn request_start(this: &PerformanceTiming) -> f64;
98     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = responseStart)]
99     #[doc = "Getter for the `responseStart` field of this object."]
100     #[doc = ""]
101     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/responseStart)"]
102     #[doc = ""]
103     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
response_start(this: &PerformanceTiming) -> f64104     pub fn response_start(this: &PerformanceTiming) -> f64;
105     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = responseEnd)]
106     #[doc = "Getter for the `responseEnd` field of this object."]
107     #[doc = ""]
108     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/responseEnd)"]
109     #[doc = ""]
110     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
response_end(this: &PerformanceTiming) -> f64111     pub fn response_end(this: &PerformanceTiming) -> f64;
112     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domLoading)]
113     #[doc = "Getter for the `domLoading` field of this object."]
114     #[doc = ""]
115     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domLoading)"]
116     #[doc = ""]
117     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
dom_loading(this: &PerformanceTiming) -> f64118     pub fn dom_loading(this: &PerformanceTiming) -> f64;
119     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domInteractive)]
120     #[doc = "Getter for the `domInteractive` field of this object."]
121     #[doc = ""]
122     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domInteractive)"]
123     #[doc = ""]
124     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
dom_interactive(this: &PerformanceTiming) -> f64125     pub fn dom_interactive(this: &PerformanceTiming) -> f64;
126     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domContentLoadedEventStart)]
127     #[doc = "Getter for the `domContentLoadedEventStart` field of this object."]
128     #[doc = ""]
129     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domContentLoadedEventStart)"]
130     #[doc = ""]
131     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
dom_content_loaded_event_start(this: &PerformanceTiming) -> f64132     pub fn dom_content_loaded_event_start(this: &PerformanceTiming) -> f64;
133     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domContentLoadedEventEnd)]
134     #[doc = "Getter for the `domContentLoadedEventEnd` field of this object."]
135     #[doc = ""]
136     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domContentLoadedEventEnd)"]
137     #[doc = ""]
138     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
dom_content_loaded_event_end(this: &PerformanceTiming) -> f64139     pub fn dom_content_loaded_event_end(this: &PerformanceTiming) -> f64;
140     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domComplete)]
141     #[doc = "Getter for the `domComplete` field of this object."]
142     #[doc = ""]
143     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domComplete)"]
144     #[doc = ""]
145     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
dom_complete(this: &PerformanceTiming) -> f64146     pub fn dom_complete(this: &PerformanceTiming) -> f64;
147     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = loadEventStart)]
148     #[doc = "Getter for the `loadEventStart` field of this object."]
149     #[doc = ""]
150     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/loadEventStart)"]
151     #[doc = ""]
152     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
load_event_start(this: &PerformanceTiming) -> f64153     pub fn load_event_start(this: &PerformanceTiming) -> f64;
154     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = loadEventEnd)]
155     #[doc = "Getter for the `loadEventEnd` field of this object."]
156     #[doc = ""]
157     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/loadEventEnd)"]
158     #[doc = ""]
159     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
load_event_end(this: &PerformanceTiming) -> f64160     pub fn load_event_end(this: &PerformanceTiming) -> f64;
161     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = timeToNonBlankPaint)]
162     #[doc = "Getter for the `timeToNonBlankPaint` field of this object."]
163     #[doc = ""]
164     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/timeToNonBlankPaint)"]
165     #[doc = ""]
166     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
time_to_non_blank_paint(this: &PerformanceTiming) -> f64167     pub fn time_to_non_blank_paint(this: &PerformanceTiming) -> f64;
168     # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = timeToDOMContentFlushed)]
169     #[doc = "Getter for the `timeToDOMContentFlushed` field of this object."]
170     #[doc = ""]
171     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/timeToDOMContentFlushed)"]
172     #[doc = ""]
173     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
time_to_dom_content_flushed(this: &PerformanceTiming) -> f64174     pub fn time_to_dom_content_flushed(this: &PerformanceTiming) -> f64;
175     # [wasm_bindgen (method , structural , js_class = "PerformanceTiming" , js_name = toJSON)]
176     #[doc = "The `toJSON()` method."]
177     #[doc = ""]
178     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/toJSON)"]
179     #[doc = ""]
180     #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
to_json(this: &PerformanceTiming) -> ::js_sys::Object181     pub fn to_json(this: &PerformanceTiming) -> ::js_sys::Object;
182 }
183