Enum mozjs::jsapi::JSValueTag
source · #[repr(u32)]pub enum JSValueTag {
JSVAL_TAG_MAX_DOUBLE = 131_056,
JSVAL_TAG_INT32 = 131_057,
JSVAL_TAG_UNDEFINED = 131_059,
JSVAL_TAG_NULL = 131_060,
JSVAL_TAG_BOOLEAN = 131_058,
JSVAL_TAG_MAGIC = 131_061,
JSVAL_TAG_STRING = 131_062,
JSVAL_TAG_SYMBOL = 131_063,
JSVAL_TAG_PRIVATE_GCTHING = 131_064,
JSVAL_TAG_BIGINT = 131_065,
JSVAL_TAG_OBJECT = 131_068,
}
Variants§
JSVAL_TAG_MAX_DOUBLE = 131_056
JSVAL_TAG_INT32 = 131_057
JSVAL_TAG_UNDEFINED = 131_059
JSVAL_TAG_NULL = 131_060
JSVAL_TAG_BOOLEAN = 131_058
JSVAL_TAG_MAGIC = 131_061
JSVAL_TAG_STRING = 131_062
JSVAL_TAG_SYMBOL = 131_063
JSVAL_TAG_PRIVATE_GCTHING = 131_064
JSVAL_TAG_BIGINT = 131_065
JSVAL_TAG_OBJECT = 131_068
Trait Implementations§
source§impl Clone for JSValueTag
impl Clone for JSValueTag
source§fn clone(&self) -> JSValueTag
fn clone(&self) -> JSValueTag
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JSValueTag
impl Debug for JSValueTag
source§impl Hash for JSValueTag
impl Hash for JSValueTag
source§impl PartialEq for JSValueTag
impl PartialEq for JSValueTag
source§fn eq(&self, other: &JSValueTag) -> bool
fn eq(&self, other: &JSValueTag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for JSValueTag
impl Eq for JSValueTag
impl StructuralPartialEq for JSValueTag
Auto Trait Implementations§
impl Freeze for JSValueTag
impl RefUnwindSafe for JSValueTag
impl Send for JSValueTag
impl Sync for JSValueTag
impl Unpin for JSValueTag
impl UnwindSafe for JSValueTag
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more