1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRDisplayCapabilities , typescript_type = "VRDisplayCapabilities")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `VrDisplayCapabilities` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `VrDisplayCapabilities`*"]
13     pub type VrDisplayCapabilities;
14     # [wasm_bindgen (structural , method , getter , js_class = "VRDisplayCapabilities" , js_name = hasPosition)]
15     #[doc = "Getter for the `hasPosition` field of this object."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasPosition)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `VrDisplayCapabilities`*"]
has_position(this: &VrDisplayCapabilities) -> bool20     pub fn has_position(this: &VrDisplayCapabilities) -> bool;
21     # [wasm_bindgen (structural , method , getter , js_class = "VRDisplayCapabilities" , js_name = hasOrientation)]
22     #[doc = "Getter for the `hasOrientation` field of this object."]
23     #[doc = ""]
24     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasOrientation)"]
25     #[doc = ""]
26     #[doc = "*This API requires the following crate features to be activated: `VrDisplayCapabilities`*"]
has_orientation(this: &VrDisplayCapabilities) -> bool27     pub fn has_orientation(this: &VrDisplayCapabilities) -> bool;
28     # [wasm_bindgen (structural , method , getter , js_class = "VRDisplayCapabilities" , js_name = hasExternalDisplay)]
29     #[doc = "Getter for the `hasExternalDisplay` field of this object."]
30     #[doc = ""]
31     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasExternalDisplay)"]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `VrDisplayCapabilities`*"]
has_external_display(this: &VrDisplayCapabilities) -> bool34     pub fn has_external_display(this: &VrDisplayCapabilities) -> bool;
35     # [wasm_bindgen (structural , method , getter , js_class = "VRDisplayCapabilities" , js_name = canPresent)]
36     #[doc = "Getter for the `canPresent` field of this object."]
37     #[doc = ""]
38     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/canPresent)"]
39     #[doc = ""]
40     #[doc = "*This API requires the following crate features to be activated: `VrDisplayCapabilities`*"]
can_present(this: &VrDisplayCapabilities) -> bool41     pub fn can_present(this: &VrDisplayCapabilities) -> bool;
42     # [wasm_bindgen (structural , method , getter , js_class = "VRDisplayCapabilities" , js_name = maxLayers)]
43     #[doc = "Getter for the `maxLayers` field of this object."]
44     #[doc = ""]
45     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/maxLayers)"]
46     #[doc = ""]
47     #[doc = "*This API requires the following crate features to be activated: `VrDisplayCapabilities`*"]
max_layers(this: &VrDisplayCapabilities) -> u3248     pub fn max_layers(this: &VrDisplayCapabilities) -> u32;
49 }
50