Skip to main content

web_sys/features/
gen_XrJointSpace.rs

1#![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 = "XrSpace",
10        extends = "EventTarget",
11        extends = "::js_sys::Object",
12        js_name = "XRJointSpace",
13        typescript_type = "XRJointSpace"
14    )]
15    #[derive(Debug, Clone, PartialEq, Eq)]
16    #[doc = "The `XrJointSpace` class."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRJointSpace)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `XrJointSpace`*"]
21    #[doc = ""]
22    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
23    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
24    pub type XrJointSpace;
25    #[cfg(web_sys_unstable_apis)]
26    #[cfg(feature = "XrHandJoint")]
27    #[wasm_bindgen(method, getter, js_class = "XRJointSpace", js_name = "jointName")]
28    #[doc = "Getter for the `jointName` field of this object."]
29    #[doc = ""]
30    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRJointSpace/jointName)"]
31    #[doc = ""]
32    #[doc = "*This API requires the following crate features to be activated: `XrHandJoint`, `XrJointSpace`*"]
33    #[doc = ""]
34    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
35    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
36    pub fn joint_name(this: &XrJointSpace) -> XrHandJoint;
37}