web_sys/features/
gen_XrHand.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 (extends = :: js_sys :: Object , js_name = XRHand , typescript_type = "XRHand")]
9 #[derive(Debug, Clone, PartialEq, Eq)]
10 #[doc = "The `XrHand` class."]
11 #[doc = ""]
12 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRHand)"]
13 #[doc = ""]
14 #[doc = "*This API requires the following crate features to be activated: `XrHand`*"]
15 #[doc = ""]
16 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
17 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
18 pub type XrHand;
19 #[cfg(web_sys_unstable_apis)]
20 # [wasm_bindgen (structural , method , getter , js_class = "XRHand" , js_name = size)]
21 #[doc = "Getter for the `size` field of this object."]
22 #[doc = ""]
23 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRHand/size)"]
24 #[doc = ""]
25 #[doc = "*This API requires the following crate features to be activated: `XrHand`*"]
26 #[doc = ""]
27 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
28 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
29 pub fn size(this: &XrHand) -> u32;
30 #[cfg(web_sys_unstable_apis)]
31 # [wasm_bindgen (method , structural , js_class = "XRHand" , js_name = entries)]
32 #[doc = "The `entries()` method."]
33 #[doc = ""]
34 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRHand/entries)"]
35 #[doc = ""]
36 #[doc = "*This API requires the following crate features to be activated: `XrHand`*"]
37 #[doc = ""]
38 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
39 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
40 pub fn entries(this: &XrHand) -> ::js_sys::Iterator;
41 #[cfg(web_sys_unstable_apis)]
42 # [wasm_bindgen (catch , method , structural , js_class = "XRHand" , js_name = forEach)]
43 #[doc = "The `forEach()` method."]
44 #[doc = ""]
45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRHand/forEach)"]
46 #[doc = ""]
47 #[doc = "*This API requires the following crate features to be activated: `XrHand`*"]
48 #[doc = ""]
49 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
50 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
51 pub fn for_each(this: &XrHand, callback: &::js_sys::Function) -> Result<(), JsValue>;
52 #[cfg(web_sys_unstable_apis)]
53 #[cfg(all(feature = "XrHandJoint", feature = "XrJointSpace",))]
54 # [wasm_bindgen (method , structural , js_class = "XRHand" , js_name = get)]
55 #[doc = "The `get()` method."]
56 #[doc = ""]
57 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRHand/get)"]
58 #[doc = ""]
59 #[doc = "*This API requires the following crate features to be activated: `XrHand`, `XrHandJoint`, `XrJointSpace`*"]
60 #[doc = ""]
61 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
62 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
63 pub fn get(this: &XrHand, key: XrHandJoint) -> XrJointSpace;
64 #[cfg(web_sys_unstable_apis)]
65 # [wasm_bindgen (method , structural , js_class = "XRHand" , js_name = keys)]
66 #[doc = "The `keys()` method."]
67 #[doc = ""]
68 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRHand/keys)"]
69 #[doc = ""]
70 #[doc = "*This API requires the following crate features to be activated: `XrHand`*"]
71 #[doc = ""]
72 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
73 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
74 pub fn keys(this: &XrHand) -> ::js_sys::Iterator;
75 #[cfg(web_sys_unstable_apis)]
76 # [wasm_bindgen (method , structural , js_class = "XRHand" , js_name = values)]
77 #[doc = "The `values()` method."]
78 #[doc = ""]
79 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRHand/values)"]
80 #[doc = ""]
81 #[doc = "*This API requires the following crate features to be activated: `XrHand`*"]
82 #[doc = ""]
83 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
84 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
85 pub fn values(this: &XrHand) -> ::js_sys::Iterator;
86}