web_sys/features/
gen_XrBoundedReferenceSpace.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[cfg(web_sys_unstable_apis)]
6#[wasm_bindgen]
7extern "C" {
8 #[wasm_bindgen(
9 extends = "XrReferenceSpace",
10 extends = "XrSpace",
11 extends = "EventTarget",
12 extends = "::js_sys::Object",
13 js_name = "XRBoundedReferenceSpace",
14 typescript_type = "XRBoundedReferenceSpace"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `XrBoundedReferenceSpace` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRBoundedReferenceSpace)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `XrBoundedReferenceSpace`*"]
22 #[doc = ""]
23 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
24 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
25 pub type XrBoundedReferenceSpace;
26 #[cfg(web_sys_unstable_apis)]
27 #[cfg(feature = "DomPointReadOnly")]
28 #[wasm_bindgen(
29 method,
30 getter,
31 js_class = "XRBoundedReferenceSpace",
32 js_name = "boundsGeometry"
33 )]
34 #[doc = "Getter for the `boundsGeometry` field of this object."]
35 #[doc = ""]
36 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRBoundedReferenceSpace/boundsGeometry)"]
37 #[doc = ""]
38 #[doc = "*This API requires the following crate features to be activated: `DomPointReadOnly`, `XrBoundedReferenceSpace`*"]
39 #[doc = ""]
40 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
41 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
42 pub fn bounds_geometry(this: &XrBoundedReferenceSpace) -> ::js_sys::Array<DomPointReadOnly>;
43}