web_sys/features/
gen_VrServiceTest.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 = VRServiceTest , typescript_type = "VRServiceTest")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `VrServiceTest` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `VrServiceTest`*"]
14    pub type VrServiceTest;
15    # [wasm_bindgen (catch , method , structural , js_class = "VRServiceTest" , js_name = attachVRController)]
16    #[doc = "The `attachVRController()` method."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest/attachVRController)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `VrServiceTest`*"]
21    pub fn attach_vr_controller(
22        this: &VrServiceTest,
23        id: &str,
24    ) -> Result<::js_sys::Promise, JsValue>;
25    # [wasm_bindgen (catch , method , structural , js_class = "VRServiceTest" , js_name = attachVRDisplay)]
26    #[doc = "The `attachVRDisplay()` method."]
27    #[doc = ""]
28    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest/attachVRDisplay)"]
29    #[doc = ""]
30    #[doc = "*This API requires the following crate features to be activated: `VrServiceTest`*"]
31    pub fn attach_vr_display(this: &VrServiceTest, id: &str) -> Result<::js_sys::Promise, JsValue>;
32}