#[repr(u8)]pub enum Intrinsic {
Show 92 variants
ObjectPrototype = 0,
FunctionPrototype = 1,
ArrayPrototype = 2,
StringPrototype = 3,
RegExpPrototype = 4,
NumberPrototype = 5,
BooleanPrototype = 6,
SymbolPrototype = 7,
BigIntPrototype = 8,
DatePrototype = 9,
ErrorPrototype = 10,
EvalErrorPrototype = 11,
RangeErrorPrototype = 12,
ReferenceErrorPrototype = 13,
SyntaxErrorPrototype = 14,
TypeErrorPrototype = 15,
InternalErrorPrototype = 16,
UriErrorPrototype = 17,
AggregateErrorPrototype = 18,
OutOfMemoryError = 19,
ThrowTypeError = 20,
Object = 21,
Function = 22,
Array = 23,
String = 24,
Number = 25,
Boolean = 26,
Symbol = 27,
BigInt = 28,
RegExp = 29,
Date = 30,
Promise = 31,
Proxy = 32,
Eval = 33,
IteratorPrototype = 34,
AsyncIteratorPrototype = 35,
ArrayIteratorPrototype = 36,
StringIteratorPrototype = 37,
MapIteratorPrototype = 38,
SetIteratorPrototype = 39,
RegExpStringIteratorPrototype = 40,
IteratorHelperPrototype = 41,
Iterator = 42,
WrapForValidIteratorPrototype = 43,
AsyncFromSyncIteratorPrototype = 44,
GeneratorFunctionPrototype = 45,
GeneratorPrototype = 46,
AsyncFunctionPrototype = 47,
AsyncGeneratorFunctionPrototype = 48,
AsyncGeneratorPrototype = 49,
GeneratorFunction = 50,
AsyncFunction = 51,
AsyncGeneratorFunction = 52,
PromisePrototype = 53,
MapPrototype = 54,
SetPrototype = 55,
WeakMapPrototype = 56,
WeakSetPrototype = 57,
WeakRefPrototype = 58,
FinalizationRegistryPrototype = 59,
ArrayBufferPrototype = 60,
SharedArrayBufferPrototype = 61,
DataViewPrototype = 62,
TypedArray = 63,
TypedArrayPrototype = 64,
Int8ArrayPrototype = 65,
Uint8ArrayPrototype = 66,
Uint8ClampedArrayPrototype = 67,
Int16ArrayPrototype = 68,
Uint16ArrayPrototype = 69,
Int32ArrayPrototype = 70,
Uint32ArrayPrototype = 71,
Float16ArrayPrototype = 72,
Float32ArrayPrototype = 73,
Float64ArrayPrototype = 74,
BigInt64ArrayPrototype = 75,
BigUint64ArrayPrototype = 76,
Int8Array = 77,
Uint8Array = 78,
Uint8ClampedArray = 79,
Int16Array = 80,
Uint16Array = 81,
Int32Array = 82,
Uint32Array = 83,
Float16Array = 84,
Float32Array = 85,
Float64Array = 86,
BigInt64Array = 87,
BigUint64Array = 88,
ArrayBuffer = 89,
ArrayValues = 90,
GlobalLexical = 91,
}Expand description
Intrinsic objects held by the realm: the prototypes and the constructors the natives and the loop name. Each is a fixed root.
Variants§
ObjectPrototype = 0
FunctionPrototype = 1
ArrayPrototype = 2
StringPrototype = 3
RegExpPrototype = 4
NumberPrototype = 5
BooleanPrototype = 6
SymbolPrototype = 7
BigIntPrototype = 8
DatePrototype = 9
ErrorPrototype = 10
EvalErrorPrototype = 11
RangeErrorPrototype = 12
ReferenceErrorPrototype = 13
SyntaxErrorPrototype = 14
TypeErrorPrototype = 15
InternalErrorPrototype = 16
UriErrorPrototype = 17
AggregateErrorPrototype = 18
OutOfMemoryError = 19
A preallocated InternalError: out of memory, thrown when the heap
cannot allocate the error itself.
ThrowTypeError = 20
%ThrowTypeError%.
Object = 21
Function = 22
Array = 23
String = 24
Number = 25
Boolean = 26
Symbol = 27
BigInt = 28
RegExp = 29
Date = 30
Promise = 31
Proxy = 32
Eval = 33
IteratorPrototype = 34
AsyncIteratorPrototype = 35
ArrayIteratorPrototype = 36
StringIteratorPrototype = 37
MapIteratorPrototype = 38
SetIteratorPrototype = 39
RegExpStringIteratorPrototype = 40
IteratorHelperPrototype = 41
Iterator = 42
WrapForValidIteratorPrototype = 43
AsyncFromSyncIteratorPrototype = 44
GeneratorFunctionPrototype = 45
%GeneratorFunction.prototype%.
GeneratorPrototype = 46
%GeneratorFunction.prototype.prototype%.
AsyncFunctionPrototype = 47
AsyncGeneratorFunctionPrototype = 48
AsyncGeneratorPrototype = 49
GeneratorFunction = 50
AsyncFunction = 51
AsyncGeneratorFunction = 52
PromisePrototype = 53
MapPrototype = 54
SetPrototype = 55
WeakMapPrototype = 56
WeakSetPrototype = 57
WeakRefPrototype = 58
FinalizationRegistryPrototype = 59
ArrayBufferPrototype = 60
DataViewPrototype = 62
TypedArray = 63
TypedArrayPrototype = 64
Int8ArrayPrototype = 65
Uint8ArrayPrototype = 66
Uint8ClampedArrayPrototype = 67
Int16ArrayPrototype = 68
Uint16ArrayPrototype = 69
Int32ArrayPrototype = 70
Uint32ArrayPrototype = 71
Float16ArrayPrototype = 72
Float32ArrayPrototype = 73
Float64ArrayPrototype = 74
BigInt64ArrayPrototype = 75
BigUint64ArrayPrototype = 76
Int8Array = 77
Uint8Array = 78
Uint8ClampedArray = 79
Int16Array = 80
Uint16Array = 81
Int32Array = 82
Uint32Array = 83
Float16Array = 84
Float32Array = 85
Float64Array = 86
BigInt64Array = 87
BigUint64Array = 88
ArrayBuffer = 89
ArrayValues = 90
Array.prototype.values, which is also arguments[@@iterator].
GlobalLexical = 91
The global lexical environment’s dictionary.
Implementations§
Trait Implementations§
impl Copy for Intrinsic
impl Eq for Intrinsic
impl StructuralPartialEq for Intrinsic
Auto Trait Implementations§
impl Freeze for Intrinsic
impl RefUnwindSafe for Intrinsic
impl Send for Intrinsic
impl Sync for Intrinsic
impl Unpin for Intrinsic
impl UnsafeUnpin for Intrinsic
impl UnwindSafe for Intrinsic
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