Skip to main content

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(
8        extends = "IdbKeyRange",
9        extends = "::js_sys::Object",
10        js_name = "IDBLocaleAwareKeyRange",
11        typescript_type = "IDBLocaleAwareKeyRange"
12    )]
13    #[derive(Debug, Clone, PartialEq, Eq)]
14    #[doc = "The `IdbLocaleAwareKeyRange` class."]
15    #[doc = ""]
16    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange)"]
17    #[doc = ""]
18    #[doc = "*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*"]
19    #[deprecated]
20    pub type IdbLocaleAwareKeyRange;
21    #[wasm_bindgen(
22        catch,
23        static_method_of = "IdbLocaleAwareKeyRange",
24        js_class = "IDBLocaleAwareKeyRange"
25    )]
26    #[doc = "The `bound()` method."]
27    #[doc = ""]
28    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound_static)"]
29    #[doc = ""]
30    #[doc = "*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*"]
31    #[deprecated]
32    pub fn bound(
33        lower: &::wasm_bindgen::JsValue,
34        upper: &::wasm_bindgen::JsValue,
35    ) -> Result<IdbLocaleAwareKeyRange, JsValue>;
36    #[wasm_bindgen(
37        catch,
38        static_method_of = "IdbLocaleAwareKeyRange",
39        js_class = "IDBLocaleAwareKeyRange",
40        js_name = "bound"
41    )]
42    #[doc = "The `bound()` method."]
43    #[doc = ""]
44    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound_static)"]
45    #[doc = ""]
46    #[doc = "*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*"]
47    #[deprecated]
48    pub fn bound_with_lower_open(
49        lower: &::wasm_bindgen::JsValue,
50        upper: &::wasm_bindgen::JsValue,
51        lower_open: bool,
52    ) -> Result<IdbLocaleAwareKeyRange, JsValue>;
53    #[wasm_bindgen(
54        catch,
55        static_method_of = "IdbLocaleAwareKeyRange",
56        js_class = "IDBLocaleAwareKeyRange",
57        js_name = "bound"
58    )]
59    #[doc = "The `bound()` method."]
60    #[doc = ""]
61    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound_static)"]
62    #[doc = ""]
63    #[doc = "*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*"]
64    #[deprecated]
65    pub fn bound_with_lower_open_and_upper_open(
66        lower: &::wasm_bindgen::JsValue,
67        upper: &::wasm_bindgen::JsValue,
68        lower_open: bool,
69        upper_open: bool,
70    ) -> Result<IdbLocaleAwareKeyRange, JsValue>;
71}