IDBCursorMethods

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>;
}

Required Methods§

Source

fn Source(&self) -> IDBObjectStoreOrIDBIndex<D>

Source

fn Direction(&self) -> IDBCursorDirection

Source

fn Key(&self, cx: SafeJSContext, _can_gc: CanGc, retval: MutableHandleValue<'_>)

Source

fn PrimaryKey( &self, cx: SafeJSContext, _can_gc: CanGc, retval: MutableHandleValue<'_>, )

Source

fn Request(&self) -> DomRoot<D::IDBRequest>

Implementors§