mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 20:41:24 +00:00
Making WebIDL generation deterministic (#2101)
* Making webidl generation deterministic * Fixing line endings * Regenerating WebIDL * Running rustfmt
This commit is contained in:
@ -105,18 +105,6 @@ extern "C" {
|
||||
#[doc = "*This API requires the following crate features to be activated: `CredentialsContainer`, `Navigator`*"]
|
||||
pub fn credentials(this: &Navigator) -> CredentialsContainer;
|
||||
#[cfg(web_sys_unstable_apis)]
|
||||
#[cfg(feature = "Xr")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = xr ) ]
|
||||
#[doc = "Getter for the `xr` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/xr)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Navigator`, `Xr`*"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn xr(this: &Navigator) -> Xr;
|
||||
#[cfg(web_sys_unstable_apis)]
|
||||
#[cfg(feature = "Gpu")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = gpu ) ]
|
||||
#[doc = "Getter for the `gpu` field of this object."]
|
||||
@ -128,6 +116,18 @@ extern "C" {
|
||||
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn gpu(this: &Navigator) -> Gpu;
|
||||
#[cfg(web_sys_unstable_apis)]
|
||||
#[cfg(feature = "Xr")]
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = xr ) ]
|
||||
#[doc = "Getter for the `xr` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/xr)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Navigator`, `Xr`*"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
|
||||
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
|
||||
pub fn xr(this: &Navigator) -> Xr;
|
||||
# [ wasm_bindgen ( structural , method , getter , js_class = "Navigator" , js_name = hardwareConcurrency ) ]
|
||||
#[doc = "Getter for the `hardwareConcurrency` field of this object."]
|
||||
#[doc = ""]
|
||||
|
Reference in New Issue
Block a user