summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_VrServiceTest.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/web-sys/src/features/gen_VrServiceTest.rs')
-rw-r--r--vendor/web-sys/src/features/gen_VrServiceTest.rs31
1 files changed, 31 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_VrServiceTest.rs b/vendor/web-sys/src/features/gen_VrServiceTest.rs
new file mode 100644
index 000000000..7becadb16
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VrServiceTest.rs
@@ -0,0 +1,31 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRServiceTest , typescript_type = "VRServiceTest")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VrServiceTest` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrServiceTest`*"]
+ pub type VrServiceTest;
+ # [wasm_bindgen (catch , method , structural , js_class = "VRServiceTest" , js_name = attachVRController)]
+ #[doc = "The `attachVRController()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest/attachVRController)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrServiceTest`*"]
+ pub fn attach_vr_controller(
+ this: &VrServiceTest,
+ id: &str,
+ ) -> Result<::js_sys::Promise, JsValue>;
+ # [wasm_bindgen (catch , method , structural , js_class = "VRServiceTest" , js_name = attachVRDisplay)]
+ #[doc = "The `attachVRDisplay()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest/attachVRDisplay)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VrServiceTest`*"]
+ pub fn attach_vr_display(this: &VrServiceTest, id: &str) -> Result<::js_sys::Promise, JsValue>;
+}