web_sys/features/
gen_IdbLocaleAwareKeyRange.rs

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