pub trait IDBCursorMethods<D: DomTypes> {
// Required methods
fn Source(&self) -> IDBObjectStoreOrIDBIndex<D>;
fn Direction(&self) -> IDBCursorDirection;
fn Key(&self, cx: &mut JSContext, retval: MutableHandleValue<'_>);
fn PrimaryKey(&self, cx: &mut JSContext, retval: MutableHandleValue<'_>);
fn Request(&self) -> DomRoot<D::IDBRequest>;
}Required Methods§
fn Source(&self) -> IDBObjectStoreOrIDBIndex<D>
fn Direction(&self) -> IDBCursorDirection
fn Key(&self, cx: &mut JSContext, retval: MutableHandleValue<'_>)
fn PrimaryKey(&self, cx: &mut JSContext, retval: MutableHandleValue<'_>)
fn Request(&self) -> DomRoot<D::IDBRequest>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".