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