Skip to main content

IDBIndexMethods

pub trait IDBIndexMethods<D: DomTypes> {
    // Required methods
    fn Name(&self) -> DOMString;
    fn SetName(&self, value: DOMString) -> ErrorResult;
    fn ObjectStore(&self) -> DomRoot<D::IDBObjectStore>;
    fn KeyPath(&self, cx: &mut JSContext, retval: MutableHandle<'_, Value>);
    fn MultiEntry(&self) -> bool;
    fn Unique(&self) -> bool;
}

Required Methods§

Source

fn Name(&self) -> DOMString

Source

fn SetName(&self, value: DOMString) -> ErrorResult

Source

fn ObjectStore(&self) -> DomRoot<D::IDBObjectStore>

Source

fn KeyPath(&self, cx: &mut JSContext, retval: MutableHandle<'_, Value>)

Source

fn MultiEntry(&self) -> bool

Source

fn Unique(&self) -> bool

Implementors§