summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_ExtDisjointTimerQuery.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_ExtDisjointTimerQuery.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_ExtDisjointTimerQuery.rs')
-rw-r--r--vendor/web-sys/src/features/gen_ExtDisjointTimerQuery.rs114
1 files changed, 114 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_ExtDisjointTimerQuery.rs b/vendor/web-sys/src/features/gen_ExtDisjointTimerQuery.rs
new file mode 100644
index 000000000..1df18d754
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_ExtDisjointTimerQuery.rs
@@ -0,0 +1,114 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = EXT_disjoint_timer_query , typescript_type = "EXT_disjoint_timer_query")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `ExtDisjointTimerQuery` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub type ExtDisjointTimerQuery;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = beginQueryEXT)]
+ #[doc = "The `beginQueryEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/beginQueryEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`, `WebGlQuery`*"]
+ pub fn begin_query_ext(this: &ExtDisjointTimerQuery, target: u32, query: &WebGlQuery);
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = createQueryEXT)]
+ #[doc = "The `createQueryEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/createQueryEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`, `WebGlQuery`*"]
+ pub fn create_query_ext(this: &ExtDisjointTimerQuery) -> Option<WebGlQuery>;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = deleteQueryEXT)]
+ #[doc = "The `deleteQueryEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/deleteQueryEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`, `WebGlQuery`*"]
+ pub fn delete_query_ext(this: &ExtDisjointTimerQuery, query: Option<&WebGlQuery>);
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = endQueryEXT)]
+ #[doc = "The `endQueryEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/endQueryEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub fn end_query_ext(this: &ExtDisjointTimerQuery, target: u32);
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = getQueryEXT)]
+ #[doc = "The `getQueryEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/getQueryEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub fn get_query_ext(
+ this: &ExtDisjointTimerQuery,
+ target: u32,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = getQueryObjectEXT)]
+ #[doc = "The `getQueryObjectEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/getQueryObjectEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`, `WebGlQuery`*"]
+ pub fn get_query_object_ext(
+ this: &ExtDisjointTimerQuery,
+ query: &WebGlQuery,
+ pname: u32,
+ ) -> ::wasm_bindgen::JsValue;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = isQueryEXT)]
+ #[doc = "The `isQueryEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/isQueryEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`, `WebGlQuery`*"]
+ pub fn is_query_ext(this: &ExtDisjointTimerQuery, query: Option<&WebGlQuery>) -> bool;
+ #[cfg(feature = "WebGlQuery")]
+ # [wasm_bindgen (method , structural , js_class = "EXT_disjoint_timer_query" , js_name = queryCounterEXT)]
+ #[doc = "The `queryCounterEXT()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_disjoint_timer_query/queryCounterEXT)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`, `WebGlQuery`*"]
+ pub fn query_counter_ext(this: &ExtDisjointTimerQuery, query: &WebGlQuery, target: u32);
+}
+impl ExtDisjointTimerQuery {
+ #[doc = "The `EXT_disjoint_timer_query.QUERY_COUNTER_BITS_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const QUERY_COUNTER_BITS_EXT: u32 = 34916u64 as u32;
+ #[doc = "The `EXT_disjoint_timer_query.CURRENT_QUERY_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const CURRENT_QUERY_EXT: u32 = 34917u64 as u32;
+ #[doc = "The `EXT_disjoint_timer_query.QUERY_RESULT_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const QUERY_RESULT_EXT: u32 = 34918u64 as u32;
+ #[doc = "The `EXT_disjoint_timer_query.QUERY_RESULT_AVAILABLE_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const QUERY_RESULT_AVAILABLE_EXT: u32 = 34919u64 as u32;
+ #[doc = "The `EXT_disjoint_timer_query.TIME_ELAPSED_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const TIME_ELAPSED_EXT: u32 = 35007u64 as u32;
+ #[doc = "The `EXT_disjoint_timer_query.TIMESTAMP_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const TIMESTAMP_EXT: u32 = 36392u64 as u32;
+ #[doc = "The `EXT_disjoint_timer_query.GPU_DISJOINT_EXT` const."]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ExtDisjointTimerQuery`*"]
+ pub const GPU_DISJOINT_EXT: u32 = 36795u64 as u32;
+}