pub(crate) trait IDBCursorMethods<D>where
D: DomTypes,{
// Required methods
fn Source(&self) -> IDBObjectStoreOrIDBIndex<D>;
fn Direction(&self) -> IDBCursorDirection;
fn Key(
&self,
cx: JSContext,
_can_gc: CanGc,
retval: MutableHandle<'_, Value>,
);
fn PrimaryKey(
&self,
cx: JSContext,
_can_gc: CanGc,
retval: MutableHandle<'_, Value>,
);
fn Request(&self) -> Root<Dom<<D as DomTypes>::IDBRequest>>;
}