RPM build fix (reverted CI changes which will need to be un-reverted or made conditional) and vendor Rust dependencies to make builds much faster in any CI system.
This commit is contained in:
33
zeroidc/vendor/web-sys/src/features/gen_Worklet.rs
vendored
Normal file
33
zeroidc/vendor/web-sys/src/features/gen_Worklet.rs
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
#![allow(unused_imports)]
|
||||
use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = Worklet , typescript_type = "Worklet")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `Worklet` class."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worklet)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Worklet`*"]
|
||||
pub type Worklet;
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Worklet" , js_name = addModule)]
|
||||
#[doc = "The `addModule()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worklet/addModule)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Worklet`*"]
|
||||
pub fn add_module(this: &Worklet, module_url: &str) -> Result<::js_sys::Promise, JsValue>;
|
||||
#[cfg(feature = "WorkletOptions")]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "Worklet" , js_name = addModule)]
|
||||
#[doc = "The `addModule()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worklet/addModule)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Worklet`, `WorkletOptions`*"]
|
||||
pub fn add_module_with_options(
|
||||
this: &Worklet,
|
||||
module_url: &str,
|
||||
options: &WorkletOptions,
|
||||
) -> Result<::js_sys::Promise, JsValue>;
|
||||
}
|
||||
Reference in New Issue
Block a user