maxcountryman_web_sys/features/
gen_IdbLocaleAwareKeyRange.rs

1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6    # [wasm_bindgen (extends = IdbKeyRange , extends = :: js_sys :: Object , js_name = IDBLocaleAwareKeyRange , typescript_type = "IDBLocaleAwareKeyRange")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `IdbLocaleAwareKeyRange` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*"]
13    pub type IdbLocaleAwareKeyRange;
14    # [wasm_bindgen (catch , static_method_of = IdbLocaleAwareKeyRange , js_class = "IDBLocaleAwareKeyRange" , js_name = bound)]
15    #[doc = "The `bound()` method."]
16    #[doc = ""]
17    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*"]
20    pub fn bound(
21        lower: &::wasm_bindgen::JsValue,
22        upper: &::wasm_bindgen::JsValue,
23    ) -> Result<IdbLocaleAwareKeyRange, JsValue>;
24    # [wasm_bindgen (catch , static_method_of = IdbLocaleAwareKeyRange , js_class = "IDBLocaleAwareKeyRange" , js_name = bound)]
25    #[doc = "The `bound()` method."]
26    #[doc = ""]
27    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*"]
30    pub fn bound_with_lower_open(
31        lower: &::wasm_bindgen::JsValue,
32        upper: &::wasm_bindgen::JsValue,
33        lower_open: bool,
34    ) -> Result<IdbLocaleAwareKeyRange, JsValue>;
35    # [wasm_bindgen (catch , static_method_of = IdbLocaleAwareKeyRange , js_class = "IDBLocaleAwareKeyRange" , js_name = bound)]
36    #[doc = "The `bound()` method."]
37    #[doc = ""]
38    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound)"]
39    #[doc = ""]
40    #[doc = "*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*"]
41    pub fn bound_with_lower_open_and_upper_open(
42        lower: &::wasm_bindgen::JsValue,
43        upper: &::wasm_bindgen::JsValue,
44        lower_open: bool,
45        upper_open: bool,
46    ) -> Result<IdbLocaleAwareKeyRange, JsValue>;
47}