web_sys/features/
gen_PerformanceTiming.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 = PerformanceTiming , typescript_type = "PerformanceTiming")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `PerformanceTiming` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
14    pub type PerformanceTiming;
15    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = navigationStart)]
16    #[doc = "Getter for the `navigationStart` field of this object."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/navigationStart)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
21    pub fn navigation_start(this: &PerformanceTiming) -> f64;
22    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = unloadEventStart)]
23    #[doc = "Getter for the `unloadEventStart` field of this object."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/unloadEventStart)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
28    pub fn unload_event_start(this: &PerformanceTiming) -> f64;
29    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = unloadEventEnd)]
30    #[doc = "Getter for the `unloadEventEnd` field of this object."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/unloadEventEnd)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
35    pub fn unload_event_end(this: &PerformanceTiming) -> f64;
36    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = redirectStart)]
37    #[doc = "Getter for the `redirectStart` field of this object."]
38    #[doc = ""]
39    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/redirectStart)"]
40    #[doc = ""]
41    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
42    pub fn redirect_start(this: &PerformanceTiming) -> f64;
43    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = redirectEnd)]
44    #[doc = "Getter for the `redirectEnd` field of this object."]
45    #[doc = ""]
46    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/redirectEnd)"]
47    #[doc = ""]
48    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
49    pub fn redirect_end(this: &PerformanceTiming) -> f64;
50    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = fetchStart)]
51    #[doc = "Getter for the `fetchStart` field of this object."]
52    #[doc = ""]
53    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/fetchStart)"]
54    #[doc = ""]
55    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
56    pub fn fetch_start(this: &PerformanceTiming) -> f64;
57    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domainLookupStart)]
58    #[doc = "Getter for the `domainLookupStart` field of this object."]
59    #[doc = ""]
60    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domainLookupStart)"]
61    #[doc = ""]
62    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
63    pub fn domain_lookup_start(this: &PerformanceTiming) -> f64;
64    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domainLookupEnd)]
65    #[doc = "Getter for the `domainLookupEnd` field of this object."]
66    #[doc = ""]
67    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domainLookupEnd)"]
68    #[doc = ""]
69    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
70    pub fn domain_lookup_end(this: &PerformanceTiming) -> f64;
71    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = connectStart)]
72    #[doc = "Getter for the `connectStart` field of this object."]
73    #[doc = ""]
74    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/connectStart)"]
75    #[doc = ""]
76    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
77    pub fn connect_start(this: &PerformanceTiming) -> f64;
78    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = connectEnd)]
79    #[doc = "Getter for the `connectEnd` field of this object."]
80    #[doc = ""]
81    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/connectEnd)"]
82    #[doc = ""]
83    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
84    pub fn connect_end(this: &PerformanceTiming) -> f64;
85    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = secureConnectionStart)]
86    #[doc = "Getter for the `secureConnectionStart` field of this object."]
87    #[doc = ""]
88    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/secureConnectionStart)"]
89    #[doc = ""]
90    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
91    pub fn secure_connection_start(this: &PerformanceTiming) -> f64;
92    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = requestStart)]
93    #[doc = "Getter for the `requestStart` field of this object."]
94    #[doc = ""]
95    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/requestStart)"]
96    #[doc = ""]
97    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
98    pub fn request_start(this: &PerformanceTiming) -> f64;
99    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = responseStart)]
100    #[doc = "Getter for the `responseStart` field of this object."]
101    #[doc = ""]
102    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/responseStart)"]
103    #[doc = ""]
104    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
105    pub fn response_start(this: &PerformanceTiming) -> f64;
106    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = responseEnd)]
107    #[doc = "Getter for the `responseEnd` field of this object."]
108    #[doc = ""]
109    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/responseEnd)"]
110    #[doc = ""]
111    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
112    pub fn response_end(this: &PerformanceTiming) -> f64;
113    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domLoading)]
114    #[doc = "Getter for the `domLoading` field of this object."]
115    #[doc = ""]
116    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domLoading)"]
117    #[doc = ""]
118    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
119    pub fn dom_loading(this: &PerformanceTiming) -> f64;
120    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domInteractive)]
121    #[doc = "Getter for the `domInteractive` field of this object."]
122    #[doc = ""]
123    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domInteractive)"]
124    #[doc = ""]
125    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
126    pub fn dom_interactive(this: &PerformanceTiming) -> f64;
127    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domContentLoadedEventStart)]
128    #[doc = "Getter for the `domContentLoadedEventStart` field of this object."]
129    #[doc = ""]
130    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domContentLoadedEventStart)"]
131    #[doc = ""]
132    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
133    pub fn dom_content_loaded_event_start(this: &PerformanceTiming) -> f64;
134    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domContentLoadedEventEnd)]
135    #[doc = "Getter for the `domContentLoadedEventEnd` field of this object."]
136    #[doc = ""]
137    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domContentLoadedEventEnd)"]
138    #[doc = ""]
139    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
140    pub fn dom_content_loaded_event_end(this: &PerformanceTiming) -> f64;
141    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = domComplete)]
142    #[doc = "Getter for the `domComplete` field of this object."]
143    #[doc = ""]
144    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domComplete)"]
145    #[doc = ""]
146    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
147    pub fn dom_complete(this: &PerformanceTiming) -> f64;
148    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = loadEventStart)]
149    #[doc = "Getter for the `loadEventStart` field of this object."]
150    #[doc = ""]
151    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/loadEventStart)"]
152    #[doc = ""]
153    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
154    pub fn load_event_start(this: &PerformanceTiming) -> f64;
155    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = loadEventEnd)]
156    #[doc = "Getter for the `loadEventEnd` field of this object."]
157    #[doc = ""]
158    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/loadEventEnd)"]
159    #[doc = ""]
160    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
161    pub fn load_event_end(this: &PerformanceTiming) -> f64;
162    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = timeToNonBlankPaint)]
163    #[doc = "Getter for the `timeToNonBlankPaint` field of this object."]
164    #[doc = ""]
165    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/timeToNonBlankPaint)"]
166    #[doc = ""]
167    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
168    pub fn time_to_non_blank_paint(this: &PerformanceTiming) -> f64;
169    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceTiming" , js_name = timeToDOMContentFlushed)]
170    #[doc = "Getter for the `timeToDOMContentFlushed` field of this object."]
171    #[doc = ""]
172    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/timeToDOMContentFlushed)"]
173    #[doc = ""]
174    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
175    pub fn time_to_dom_content_flushed(this: &PerformanceTiming) -> f64;
176    # [wasm_bindgen (method , structural , js_class = "PerformanceTiming" , js_name = toJSON)]
177    #[doc = "The `toJSON()` method."]
178    #[doc = ""]
179    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/toJSON)"]
180    #[doc = ""]
181    #[doc = "*This API requires the following crate features to be activated: `PerformanceTiming`*"]
182    pub fn to_json(this: &PerformanceTiming) -> ::js_sys::Object;
183}