summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
commit9835e2ae736235810b4ea1c162ca5e65c547e770 (patch)
tree3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs
parentReleasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff)
downloadrustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz
rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs')
-rw-r--r--vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs92
1 files changed, 92 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs b/vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs
new file mode 100644
index 000000000..2193b4c82
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_PerformanceNavigationTiming.rs
@@ -0,0 +1,92 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = PerformanceResourceTiming , extends = PerformanceEntry , extends = :: js_sys :: Object , js_name = PerformanceNavigationTiming , typescript_type = "PerformanceNavigationTiming")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `PerformanceNavigationTiming` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub type PerformanceNavigationTiming;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = unloadEventStart)]
+ #[doc = "Getter for the `unloadEventStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/unloadEventStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn unload_event_start(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = unloadEventEnd)]
+ #[doc = "Getter for the `unloadEventEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/unloadEventEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn unload_event_end(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = domInteractive)]
+ #[doc = "Getter for the `domInteractive` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domInteractive)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn dom_interactive(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = domContentLoadedEventStart)]
+ #[doc = "Getter for the `domContentLoadedEventStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domContentLoadedEventStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn dom_content_loaded_event_start(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = domContentLoadedEventEnd)]
+ #[doc = "Getter for the `domContentLoadedEventEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domContentLoadedEventEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn dom_content_loaded_event_end(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = domComplete)]
+ #[doc = "Getter for the `domComplete` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domComplete)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn dom_complete(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = loadEventStart)]
+ #[doc = "Getter for the `loadEventStart` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/loadEventStart)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn load_event_start(this: &PerformanceNavigationTiming) -> f64;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = loadEventEnd)]
+ #[doc = "Getter for the `loadEventEnd` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/loadEventEnd)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn load_event_end(this: &PerformanceNavigationTiming) -> f64;
+ #[cfg(feature = "NavigationType")]
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `NavigationType`, `PerformanceNavigationTiming`*"]
+ pub fn type_(this: &PerformanceNavigationTiming) -> NavigationType;
+ # [wasm_bindgen (structural , method , getter , js_class = "PerformanceNavigationTiming" , js_name = redirectCount)]
+ #[doc = "Getter for the `redirectCount` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/redirectCount)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn redirect_count(this: &PerformanceNavigationTiming) -> u16;
+ # [wasm_bindgen (method , structural , js_class = "PerformanceNavigationTiming" , js_name = toJSON)]
+ #[doc = "The `toJSON()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/toJSON)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*"]
+ pub fn to_json(this: &PerformanceNavigationTiming) -> ::js_sys::Object;
+}