Enum mozjs_sys::jsapi::JSProtoKey
source · #[repr(u32)]pub enum JSProtoKey {
Show 93 variants
JSProto_Null = 0,
JSProto_Object = 1,
JSProto_Function = 2,
JSProto_BoundFunction = 3,
JSProto_Array = 4,
JSProto_Boolean = 5,
JSProto_JSON = 6,
JSProto_Date = 7,
JSProto_Math = 8,
JSProto_Number = 9,
JSProto_String = 10,
JSProto_RegExp = 11,
JSProto_Error = 12,
JSProto_InternalError = 13,
JSProto_AggregateError = 14,
JSProto_EvalError = 15,
JSProto_RangeError = 16,
JSProto_ReferenceError = 17,
JSProto_SyntaxError = 18,
JSProto_TypeError = 19,
JSProto_URIError = 20,
JSProto_DebuggeeWouldRun = 21,
JSProto_CompileError = 22,
JSProto_LinkError = 23,
JSProto_RuntimeError = 24,
JSProto_ArrayBuffer = 25,
JSProto_Int8Array = 26,
JSProto_Uint8Array = 27,
JSProto_Int16Array = 28,
JSProto_Uint16Array = 29,
JSProto_Int32Array = 30,
JSProto_Uint32Array = 31,
JSProto_Float32Array = 32,
JSProto_Float64Array = 33,
JSProto_Uint8ClampedArray = 34,
JSProto_BigInt64Array = 35,
JSProto_BigUint64Array = 36,
JSProto_Float16Array = 37,
JSProto_BigInt = 38,
JSProto_Proxy = 39,
JSProto_WeakMap = 40,
JSProto_Map = 41,
JSProto_Set = 42,
JSProto_DataView = 43,
JSProto_Symbol = 44,
JSProto_ShadowRealm = 45,
JSProto_SharedArrayBuffer = 46,
JSProto_Intl = 47,
JSProto_Collator = 48,
JSProto_DateTimeFormat = 49,
JSProto_DisplayNames = 50,
JSProto_ListFormat = 51,
JSProto_Locale = 52,
JSProto_NumberFormat = 53,
JSProto_PluralRules = 54,
JSProto_RelativeTimeFormat = 55,
JSProto_Segmenter = 56,
JSProto_Reflect = 57,
JSProto_WeakSet = 58,
JSProto_TypedArray = 59,
JSProto_Atomics = 60,
JSProto_SavedFrame = 61,
JSProto_Promise = 62,
JSProto_AsyncFunction = 63,
JSProto_GeneratorFunction = 64,
JSProto_AsyncGeneratorFunction = 65,
JSProto_WebAssembly = 66,
JSProto_WasmModule = 67,
JSProto_WasmInstance = 68,
JSProto_WasmMemory = 69,
JSProto_WasmTable = 70,
JSProto_WasmGlobal = 71,
JSProto_WasmTag = 72,
JSProto_WasmFunction = 73,
JSProto_WasmSuspending = 74,
JSProto_WasmException = 75,
JSProto_FinalizationRegistry = 76,
JSProto_WeakRef = 77,
JSProto_Iterator = 78,
JSProto_AsyncIterator = 79,
JSProto_Temporal = 80,
JSProto_Calendar = 81,
JSProto_Duration = 82,
JSProto_Instant = 83,
JSProto_PlainDate = 84,
JSProto_PlainDateTime = 85,
JSProto_PlainMonthDay = 86,
JSProto_PlainYearMonth = 87,
JSProto_PlainTime = 88,
JSProto_TemporalNow = 89,
JSProto_TimeZone = 90,
JSProto_ZonedDateTime = 91,
JSProto_LIMIT = 92,
}
Variants§
JSProto_Null = 0
JSProto_Object = 1
JSProto_Function = 2
JSProto_BoundFunction = 3
JSProto_Array = 4
JSProto_Boolean = 5
JSProto_JSON = 6
JSProto_Date = 7
JSProto_Math = 8
JSProto_Number = 9
JSProto_String = 10
JSProto_RegExp = 11
JSProto_Error = 12
JSProto_InternalError = 13
JSProto_AggregateError = 14
JSProto_EvalError = 15
JSProto_RangeError = 16
JSProto_ReferenceError = 17
JSProto_SyntaxError = 18
JSProto_TypeError = 19
JSProto_URIError = 20
JSProto_DebuggeeWouldRun = 21
JSProto_CompileError = 22
JSProto_LinkError = 23
JSProto_RuntimeError = 24
JSProto_ArrayBuffer = 25
JSProto_Int8Array = 26
JSProto_Uint8Array = 27
JSProto_Int16Array = 28
JSProto_Uint16Array = 29
JSProto_Int32Array = 30
JSProto_Uint32Array = 31
JSProto_Float32Array = 32
JSProto_Float64Array = 33
JSProto_Uint8ClampedArray = 34
JSProto_BigInt64Array = 35
JSProto_BigUint64Array = 36
JSProto_Float16Array = 37
JSProto_BigInt = 38
JSProto_Proxy = 39
JSProto_WeakMap = 40
JSProto_Map = 41
JSProto_Set = 42
JSProto_DataView = 43
JSProto_Symbol = 44
JSProto_ShadowRealm = 45
JSProto_Intl = 47
JSProto_Collator = 48
JSProto_DateTimeFormat = 49
JSProto_DisplayNames = 50
JSProto_ListFormat = 51
JSProto_Locale = 52
JSProto_NumberFormat = 53
JSProto_PluralRules = 54
JSProto_RelativeTimeFormat = 55
JSProto_Segmenter = 56
JSProto_Reflect = 57
JSProto_WeakSet = 58
JSProto_TypedArray = 59
JSProto_Atomics = 60
JSProto_SavedFrame = 61
JSProto_Promise = 62
JSProto_AsyncFunction = 63
JSProto_GeneratorFunction = 64
JSProto_AsyncGeneratorFunction = 65
JSProto_WebAssembly = 66
JSProto_WasmModule = 67
JSProto_WasmInstance = 68
JSProto_WasmMemory = 69
JSProto_WasmTable = 70
JSProto_WasmGlobal = 71
JSProto_WasmTag = 72
JSProto_WasmFunction = 73
JSProto_WasmSuspending = 74
JSProto_WasmException = 75
JSProto_FinalizationRegistry = 76
JSProto_WeakRef = 77
JSProto_Iterator = 78
JSProto_AsyncIterator = 79
JSProto_Temporal = 80
JSProto_Calendar = 81
JSProto_Duration = 82
JSProto_Instant = 83
JSProto_PlainDate = 84
JSProto_PlainDateTime = 85
JSProto_PlainMonthDay = 86
JSProto_PlainYearMonth = 87
JSProto_PlainTime = 88
JSProto_TemporalNow = 89
JSProto_TimeZone = 90
JSProto_ZonedDateTime = 91
JSProto_LIMIT = 92
Trait Implementations§
source§impl Clone for JSProtoKey
impl Clone for JSProtoKey
source§fn clone(&self) -> JSProtoKey
fn clone(&self) -> JSProtoKey
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 JSProtoKey
impl Debug for JSProtoKey
source§impl Hash for JSProtoKey
impl Hash for JSProtoKey
source§impl PartialEq for JSProtoKey
impl PartialEq for JSProtoKey
impl Copy for JSProtoKey
impl Eq for JSProtoKey
impl StructuralPartialEq for JSProtoKey
Auto Trait Implementations§
impl Freeze for JSProtoKey
impl RefUnwindSafe for JSProtoKey
impl Send for JSProtoKey
impl Sync for JSProtoKey
impl Unpin for JSProtoKey
impl UnwindSafe for JSProtoKey
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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