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