web_sys/features/
gen_IdbCursorWithValue.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "IdbCursor",
9 extends = "::js_sys::Object",
10 js_name = "IDBCursorWithValue",
11 typescript_type = "IDBCursorWithValue"
12 )]
13 #[derive(Debug, Clone, PartialEq, Eq)]
14 #[doc = "The `IdbCursorWithValue` class."]
15 #[doc = ""]
16 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursorWithValue)"]
17 #[doc = ""]
18 #[doc = "*This API requires the following crate features to be activated: `IdbCursorWithValue`*"]
19 pub type IdbCursorWithValue;
20 #[wasm_bindgen(
21 catch,
22 method,
23 getter,
24 js_class = "IDBCursorWithValue",
25 js_name = "value"
26 )]
27 #[doc = "Getter for the `value` field of this object."]
28 #[doc = ""]
29 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursorWithValue/value)"]
30 #[doc = ""]
31 #[doc = "*This API requires the following crate features to be activated: `IdbCursorWithValue`*"]
32 pub fn value(this: &IdbCursorWithValue) -> Result<::wasm_bindgen::JsValue, JsValue>;
33}