Enum mozjs::jsapi::JSValueShiftedTag
source · #[repr(u64)]pub enum JSValueShiftedTag {
JSVAL_SHIFTED_TAG_MAX_DOUBLE = 18_444_492_278_190_833_663,
JSVAL_SHIFTED_TAG_INT32 = 18_444_633_011_384_221_696,
JSVAL_SHIFTED_TAG_UNDEFINED = 18_444_914_486_360_932_352,
JSVAL_SHIFTED_TAG_NULL = 18_445_055_223_849_287_680,
JSVAL_SHIFTED_TAG_BOOLEAN = 18_444_773_748_872_577_024,
JSVAL_SHIFTED_TAG_MAGIC = 18_445_195_961_337_643_008,
JSVAL_SHIFTED_TAG_STRING = 18_445_336_698_825_998_336,
JSVAL_SHIFTED_TAG_SYMBOL = 18_445_477_436_314_353_664,
JSVAL_SHIFTED_TAG_PRIVATE_GCTHING = 18_445_618_173_802_708_992,
JSVAL_SHIFTED_TAG_BIGINT = 18_445_758_911_291_064_320,
JSVAL_SHIFTED_TAG_OBJECT = 18_446_181_123_756_130_304,
}
Variants§
JSVAL_SHIFTED_TAG_MAX_DOUBLE = 18_444_492_278_190_833_663
JSVAL_SHIFTED_TAG_INT32 = 18_444_633_011_384_221_696
JSVAL_SHIFTED_TAG_UNDEFINED = 18_444_914_486_360_932_352
JSVAL_SHIFTED_TAG_NULL = 18_445_055_223_849_287_680
JSVAL_SHIFTED_TAG_BOOLEAN = 18_444_773_748_872_577_024
JSVAL_SHIFTED_TAG_MAGIC = 18_445_195_961_337_643_008
JSVAL_SHIFTED_TAG_STRING = 18_445_336_698_825_998_336
JSVAL_SHIFTED_TAG_SYMBOL = 18_445_477_436_314_353_664
JSVAL_SHIFTED_TAG_PRIVATE_GCTHING = 18_445_618_173_802_708_992
JSVAL_SHIFTED_TAG_BIGINT = 18_445_758_911_291_064_320
JSVAL_SHIFTED_TAG_OBJECT = 18_446_181_123_756_130_304
Trait Implementations§
source§impl Clone for JSValueShiftedTag
impl Clone for JSValueShiftedTag
source§fn clone(&self) -> JSValueShiftedTag
fn clone(&self) -> JSValueShiftedTag
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 JSValueShiftedTag
impl Debug for JSValueShiftedTag
source§impl Hash for JSValueShiftedTag
impl Hash for JSValueShiftedTag
source§impl PartialEq for JSValueShiftedTag
impl PartialEq for JSValueShiftedTag
source§fn eq(&self, other: &JSValueShiftedTag) -> bool
fn eq(&self, other: &JSValueShiftedTag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for JSValueShiftedTag
impl Eq for JSValueShiftedTag
impl StructuralPartialEq for JSValueShiftedTag
Auto Trait Implementations§
impl Freeze for JSValueShiftedTag
impl RefUnwindSafe for JSValueShiftedTag
impl Send for JSValueShiftedTag
impl Sync for JSValueShiftedTag
impl Unpin for JSValueShiftedTag
impl UnwindSafe for JSValueShiftedTag
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