Struct web_sys::IdbKeyRange
source · #[repr(transparent)]pub struct IdbKeyRange { /* private fields */ }
Expand description
The IDBKeyRange
object
This API requires the following crate features to be activated: IdbKeyRange
Implementations§
source§impl IdbKeyRange
impl IdbKeyRange
source§impl IdbKeyRange
impl IdbKeyRange
sourcepub fn bound_with_lower_open(
lower: &JsValue,
upper: &JsValue,
lower_open: bool
) -> Result<IdbKeyRange, JsValue>
pub fn bound_with_lower_open(
lower: &JsValue,
upper: &JsValue,
lower_open: bool
) -> Result<IdbKeyRange, JsValue>
The bound()
method
This API requires the following crate features to be activated: IdbKeyRange
source§impl IdbKeyRange
impl IdbKeyRange
sourcepub fn bound_with_lower_open_and_upper_open(
lower: &JsValue,
upper: &JsValue,
lower_open: bool,
upper_open: bool
) -> Result<IdbKeyRange, JsValue>
pub fn bound_with_lower_open_and_upper_open(
lower: &JsValue,
upper: &JsValue,
lower_open: bool,
upper_open: bool
) -> Result<IdbKeyRange, JsValue>
The bound()
method
This API requires the following crate features to be activated: IdbKeyRange
source§impl IdbKeyRange
impl IdbKeyRange
source§impl IdbKeyRange
impl IdbKeyRange
sourcepub fn lower_bound(lower: &JsValue) -> Result<IdbKeyRange, JsValue>
pub fn lower_bound(lower: &JsValue) -> Result<IdbKeyRange, JsValue>
The lowerBound()
method
This API requires the following crate features to be activated: IdbKeyRange
source§impl IdbKeyRange
impl IdbKeyRange
sourcepub fn lower_bound_with_open(
lower: &JsValue,
open: bool
) -> Result<IdbKeyRange, JsValue>
pub fn lower_bound_with_open(
lower: &JsValue,
open: bool
) -> Result<IdbKeyRange, JsValue>
The lowerBound()
method
This API requires the following crate features to be activated: IdbKeyRange
source§impl IdbKeyRange
impl IdbKeyRange
source§impl IdbKeyRange
impl IdbKeyRange
sourcepub fn upper_bound(upper: &JsValue) -> Result<IdbKeyRange, JsValue>
pub fn upper_bound(upper: &JsValue) -> Result<IdbKeyRange, JsValue>
The upperBound()
method
This API requires the following crate features to be activated: IdbKeyRange
source§impl IdbKeyRange
impl IdbKeyRange
sourcepub fn upper_bound_with_open(
upper: &JsValue,
open: bool
) -> Result<IdbKeyRange, JsValue>
pub fn upper_bound_with_open(
upper: &JsValue,
open: bool
) -> Result<IdbKeyRange, JsValue>
The upperBound()
method
This API requires the following crate features to be activated: IdbKeyRange
source§impl IdbKeyRange
impl IdbKeyRange
source§impl IdbKeyRange
impl IdbKeyRange
source§impl IdbKeyRange
impl IdbKeyRange
sourcepub fn lower_open(&self) -> bool
pub fn lower_open(&self) -> bool
The lowerOpen
getter
This API requires the following crate features to be activated: IdbKeyRange
source§impl IdbKeyRange
impl IdbKeyRange
sourcepub fn upper_open(&self) -> bool
pub fn upper_open(&self) -> bool
The upperOpen
getter
This API requires the following crate features to be activated: IdbKeyRange
Trait Implementations§
source§impl AsRef<IdbKeyRange> for IdbLocaleAwareKeyRange
impl AsRef<IdbKeyRange> for IdbLocaleAwareKeyRange
source§fn as_ref(&self) -> &IdbKeyRange
fn as_ref(&self) -> &IdbKeyRange
source§impl AsRef<JsValue> for IdbKeyRange
impl AsRef<JsValue> for IdbKeyRange
source§impl AsRef<Object> for IdbKeyRange
impl AsRef<Object> for IdbKeyRange
source§impl Clone for IdbKeyRange
impl Clone for IdbKeyRange
source§fn clone(&self) -> IdbKeyRange
fn clone(&self) -> IdbKeyRange
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IdbKeyRange
impl Debug for IdbKeyRange
source§impl From<IdbKeyRange> for JsValue
impl From<IdbKeyRange> for JsValue
source§fn from(obj: IdbKeyRange) -> JsValue
fn from(obj: IdbKeyRange) -> JsValue
source§impl From<IdbKeyRange> for Object
impl From<IdbKeyRange> for Object
source§fn from(obj: IdbKeyRange) -> Object
fn from(obj: IdbKeyRange) -> Object
source§impl From<IdbLocaleAwareKeyRange> for IdbKeyRange
impl From<IdbLocaleAwareKeyRange> for IdbKeyRange
source§fn from(obj: IdbLocaleAwareKeyRange) -> IdbKeyRange
fn from(obj: IdbLocaleAwareKeyRange) -> IdbKeyRange
source§impl From<JsValue> for IdbKeyRange
impl From<JsValue> for IdbKeyRange
source§fn from(obj: JsValue) -> IdbKeyRange
fn from(obj: JsValue) -> IdbKeyRange
source§impl FromWasmAbi for IdbKeyRange
impl FromWasmAbi for IdbKeyRange
source§impl<'a> IntoWasmAbi for &'a IdbKeyRange
impl<'a> IntoWasmAbi for &'a IdbKeyRange
source§impl IntoWasmAbi for IdbKeyRange
impl IntoWasmAbi for IdbKeyRange
source§impl JsCast for IdbKeyRange
impl JsCast for IdbKeyRange
source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
instanceof
check to see whether the JsValue
provided is an instance of this type. Read moresource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
source§fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
T
. Read moresource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
T
. Read moresource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
T
. Read moresource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
source§impl OptionFromWasmAbi for IdbKeyRange
impl OptionFromWasmAbi for IdbKeyRange
source§impl<'a> OptionIntoWasmAbi for &'a IdbKeyRange
impl<'a> OptionIntoWasmAbi for &'a IdbKeyRange
source§impl OptionIntoWasmAbi for IdbKeyRange
impl OptionIntoWasmAbi for IdbKeyRange
source§impl RefFromWasmAbi for IdbKeyRange
impl RefFromWasmAbi for IdbKeyRange
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<IdbKeyRange>
type Anchor = ManuallyDrop<IdbKeyRange>
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read moreAuto Trait Implementations§
impl RefUnwindSafe for IdbKeyRange
impl Send for IdbKeyRange
impl Sync for IdbKeyRange
impl Unpin for IdbKeyRange
impl UnwindSafe for IdbKeyRange
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more