pub trait IDBCursorMethods<D: DomTypes> {
// Required methods
fn Source(&self) -> IDBObjectStoreOrIDBIndex<D>;
fn Direction(&self) -> IDBCursorDirection;
fn Key(
&self,
cx: SafeJSContext,
_can_gc: CanGc,
retval: MutableHandleValue<'_>,
);
fn PrimaryKey(
&self,
cx: SafeJSContext,
_can_gc: CanGc,
retval: MutableHandleValue<'_>,
);
fn Request(&self) -> DomRoot<D::IDBRequest>;
}