@@ -105,18 +105,6 @@ extern "C" {
105
105
#[ doc = "*This API requires the following crate features to be activated: `CredentialsContainer`, `Navigator`*" ]
106
106
pub fn credentials ( this : & Navigator ) -> CredentialsContainer ;
107
107
#[ cfg( web_sys_unstable_apis) ]
108
- #[ cfg( feature = "Xr" ) ]
109
- # [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = xr ) ]
110
- #[ doc = "Getter for the `xr` field of this object." ]
111
- #[ doc = "" ]
112
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/xr)" ]
113
- #[ doc = "" ]
114
- #[ doc = "*This API requires the following crate features to be activated: `Navigator`, `Xr`*" ]
115
- #[ doc = "" ]
116
- #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
117
- #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
118
- pub fn xr ( this : & Navigator ) -> Xr ;
119
- #[ cfg( web_sys_unstable_apis) ]
120
108
#[ cfg( feature = "Gpu" ) ]
121
109
# [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = gpu ) ]
122
110
#[ doc = "Getter for the `gpu` field of this object." ]
@@ -128,6 +116,18 @@ extern "C" {
128
116
#[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
129
117
#[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
130
118
pub fn gpu ( this : & Navigator ) -> Gpu ;
119
+ #[ cfg( web_sys_unstable_apis) ]
120
+ #[ cfg( feature = "Xr" ) ]
121
+ # [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = xr ) ]
122
+ #[ doc = "Getter for the `xr` field of this object." ]
123
+ #[ doc = "" ]
124
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/xr)" ]
125
+ #[ doc = "" ]
126
+ #[ doc = "*This API requires the following crate features to be activated: `Navigator`, `Xr`*" ]
127
+ #[ doc = "" ]
128
+ #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
129
+ #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
130
+ pub fn xr ( this : & Navigator ) -> Xr ;
131
131
# [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = hardwareConcurrency ) ]
132
132
#[ doc = "Getter for the `hardwareConcurrency` field of this object." ]
133
133
#[ doc = "" ]
0 commit comments