Vendor asic-rs 0.8.1 (280 crates, offline builds) + wxWidgets 3.3.3 (pristine + patch queue); UI spec + ADR-0003; M1 on asic-rs
This commit is contained in:
+244
@@ -0,0 +1,244 @@
|
||||
#![allow(unused_imports)]
|
||||
#![allow(clippy::all)]
|
||||
use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
#[wasm_bindgen(
|
||||
extends = "::js_sys::Object",
|
||||
js_name = "Cache",
|
||||
typescript_type = "Cache"
|
||||
)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `Cache` class."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub type Cache;
|
||||
#[cfg(feature = "Request")]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "add")]
|
||||
#[doc = "The `add()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/add)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
|
||||
pub fn add_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "add")]
|
||||
#[doc = "The `add()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/add)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn add_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "addAll")]
|
||||
#[doc = "The `addAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/addAll)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn add_all_with_request_sequence(
|
||||
this: &Cache,
|
||||
requests: &::wasm_bindgen::JsValue,
|
||||
) -> ::js_sys::Promise;
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "addAll")]
|
||||
#[doc = "The `addAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/addAll)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn add_all_with_str_sequence(
|
||||
this: &Cache,
|
||||
requests: &::wasm_bindgen::JsValue,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "Request")]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "delete")]
|
||||
#[doc = "The `delete()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
|
||||
pub fn delete_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "delete")]
|
||||
#[doc = "The `delete()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn delete_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
|
||||
#[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "delete")]
|
||||
#[doc = "The `delete()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*"]
|
||||
pub fn delete_with_request_and_options(
|
||||
this: &Cache,
|
||||
request: &Request,
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "CacheQueryOptions")]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "delete")]
|
||||
#[doc = "The `delete()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*"]
|
||||
pub fn delete_with_str_and_options(
|
||||
this: &Cache,
|
||||
request: &str,
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[wasm_bindgen(method, js_class = "Cache")]
|
||||
#[doc = "The `keys()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn keys(this: &Cache) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "Request")]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "keys")]
|
||||
#[doc = "The `keys()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
|
||||
pub fn keys_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "keys")]
|
||||
#[doc = "The `keys()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn keys_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
|
||||
#[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "keys")]
|
||||
#[doc = "The `keys()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*"]
|
||||
pub fn keys_with_request_and_options(
|
||||
this: &Cache,
|
||||
request: &Request,
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "CacheQueryOptions")]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "keys")]
|
||||
#[doc = "The `keys()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*"]
|
||||
pub fn keys_with_str_and_options(
|
||||
this: &Cache,
|
||||
request: &str,
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "Request")]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "match")]
|
||||
#[doc = "The `match()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
|
||||
pub fn match_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "match")]
|
||||
#[doc = "The `match()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn match_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
|
||||
#[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "match")]
|
||||
#[doc = "The `match()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*"]
|
||||
pub fn match_with_request_and_options(
|
||||
this: &Cache,
|
||||
request: &Request,
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "CacheQueryOptions")]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "match")]
|
||||
#[doc = "The `match()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*"]
|
||||
pub fn match_with_str_and_options(
|
||||
this: &Cache,
|
||||
request: &str,
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "matchAll")]
|
||||
#[doc = "The `matchAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn match_all(this: &Cache) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "Request")]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "matchAll")]
|
||||
#[doc = "The `matchAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`*"]
|
||||
pub fn match_all_with_request(this: &Cache, request: &Request) -> ::js_sys::Promise;
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "matchAll")]
|
||||
#[doc = "The `matchAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`*"]
|
||||
pub fn match_all_with_str(this: &Cache, request: &str) -> ::js_sys::Promise;
|
||||
#[cfg(all(feature = "CacheQueryOptions", feature = "Request",))]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "matchAll")]
|
||||
#[doc = "The `matchAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*"]
|
||||
pub fn match_all_with_request_and_options(
|
||||
this: &Cache,
|
||||
request: &Request,
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "CacheQueryOptions")]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "matchAll")]
|
||||
#[doc = "The `matchAll()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*"]
|
||||
pub fn match_all_with_str_and_options(
|
||||
this: &Cache,
|
||||
request: &str,
|
||||
options: &CacheQueryOptions,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(all(feature = "Request", feature = "Response",))]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "put")]
|
||||
#[doc = "The `put()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/put)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `Request`, `Response`*"]
|
||||
pub fn put_with_request(
|
||||
this: &Cache,
|
||||
request: &Request,
|
||||
response: &Response,
|
||||
) -> ::js_sys::Promise;
|
||||
#[cfg(feature = "Response")]
|
||||
#[wasm_bindgen(method, js_class = "Cache", js_name = "put")]
|
||||
#[doc = "The `put()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/put)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `Cache`, `Response`*"]
|
||||
pub fn put_with_str(this: &Cache, request: &str, response: &Response) -> ::js_sys::Promise;
|
||||
}
|
||||
Reference in New Issue
Block a user