pub(crate) trait IDBKeyRangeMethods<D>where
    D: DomTypes,{
    // Required methods
    fn Lower(
        &self,
        cx: JSContext,
        _can_gc: CanGc,
        retval: MutableHandle<'_, Value>,
    );
    fn Upper(
        &self,
        cx: JSContext,
        _can_gc: CanGc,
        retval: MutableHandle<'_, Value>,
    );
    fn LowerOpen(&self) -> bool;
    fn UpperOpen(&self) -> bool;
    fn Only(
        cx: JSContext,
        global: &<D as DomTypes>::GlobalScope,
        value: Handle<'_, Value>,
    ) -> Result<Root<Dom<<D as DomTypes>::IDBKeyRange>>, Error>;
    fn LowerBound(
        cx: JSContext,
        global: &<D as DomTypes>::GlobalScope,
        lower: Handle<'_, Value>,
        open: bool,
    ) -> Result<Root<Dom<<D as DomTypes>::IDBKeyRange>>, Error>;
    fn UpperBound(
        cx: JSContext,
        global: &<D as DomTypes>::GlobalScope,
        upper: Handle<'_, Value>,
        open: bool,
    ) -> Result<Root<Dom<<D as DomTypes>::IDBKeyRange>>, Error>;
    fn Bound(
        cx: JSContext,
        global: &<D as DomTypes>::GlobalScope,
        lower: Handle<'_, Value>,
        upper: Handle<'_, Value>,
        lowerOpen: bool,
        upperOpen: bool,
    ) -> Result<Root<Dom<<D as DomTypes>::IDBKeyRange>>, Error>;
    fn Includes(
        &self,
        cx: JSContext,
        key: Handle<'_, Value>,
    ) -> Result<bool, Error>;
}Required Methods§
fn Lower(&self, cx: JSContext, _can_gc: CanGc, retval: MutableHandle<'_, Value>)
fn Upper(&self, cx: JSContext, _can_gc: CanGc, retval: MutableHandle<'_, Value>)
fn LowerOpen(&self) -> bool
fn UpperOpen(&self) -> bool
fn Only( cx: JSContext, global: &<D as DomTypes>::GlobalScope, value: Handle<'_, Value>, ) -> Result<Root<Dom<<D as DomTypes>::IDBKeyRange>>, Error>
fn LowerBound( cx: JSContext, global: &<D as DomTypes>::GlobalScope, lower: Handle<'_, Value>, open: bool, ) -> Result<Root<Dom<<D as DomTypes>::IDBKeyRange>>, Error>
fn UpperBound( cx: JSContext, global: &<D as DomTypes>::GlobalScope, upper: Handle<'_, Value>, open: bool, ) -> Result<Root<Dom<<D as DomTypes>::IDBKeyRange>>, Error>
fn Bound( cx: JSContext, global: &<D as DomTypes>::GlobalScope, lower: Handle<'_, Value>, upper: Handle<'_, Value>, lowerOpen: bool, upperOpen: bool, ) -> Result<Root<Dom<<D as DomTypes>::IDBKeyRange>>, Error>
fn Includes(&self, cx: JSContext, key: Handle<'_, Value>) -> Result<bool, Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.