Skip to main content

Native

Enum Native 

Source
#[repr(u16)]
pub enum Native {
Show 569 variants Print = 0, FunctionCall = 1, FunctionApply = 2, FunctionPrototype = 3, FunctionConstructor = 4, FunctionToString = 5, FunctionBind = 6, FunctionHasInstance = 7, FunctionFileName = 8, FunctionLineNumber = 9, FunctionColumnNumber = 10, ThrowTypeError = 11, ParseInt = 12, ParseFloat = 13, Eval = 14, IsNaN = 15, IsFinite = 16, ObjectConstructor = 17, ObjectToString = 18, ObjectToLocaleString = 19, ObjectValueOf = 20, ObjectHasOwnProperty = 21, ObjectIsPrototypeOf = 22, ObjectPropertyIsEnumerable = 23, ObjectProtoGetter = 24, ObjectProtoSetter = 25, ObjectDefineGetter = 26, ObjectDefineSetter = 27, ObjectLookupGetter = 28, ObjectLookupSetter = 29, ObjectAssign = 30, ObjectCreate = 31, ObjectDefineProperties = 32, ObjectDefineProperty = 33, ObjectEntries = 34, ObjectFreeze = 35, ObjectFromEntries = 36, ObjectGetOwnPropertyDescriptor = 37, ObjectGetOwnPropertyDescriptors = 38, ObjectGetOwnPropertyNames = 39, ObjectGetOwnPropertySymbols = 40, ObjectGetPrototypeOf = 41, ObjectGroupBy = 42, ObjectHasOwn = 43, ObjectIs = 44, ObjectIsExtensible = 45, ObjectIsFrozen = 46, ObjectIsSealed = 47, ObjectKeys = 48, ObjectPreventExtensions = 49, ObjectSeal = 50, ObjectSetPrototypeOf = 51, ObjectValues = 52, ReflectApply = 53, ReflectConstruct = 54, ReflectDefineProperty = 55, ReflectDeleteProperty = 56, ReflectGet = 57, ReflectGetOwnPropertyDescriptor = 58, ReflectGetPrototypeOf = 59, ReflectHas = 60, ReflectIsExtensible = 61, ReflectOwnKeys = 62, ReflectPreventExtensions = 63, ReflectSet = 64, ReflectSetPrototypeOf = 65, ProxyConstructor = 66, ProxyRevocable = 67, ProxyRevoke = 68, SymbolConstructor = 69, SymbolFor = 70, SymbolKeyFor = 71, SymbolToString = 72, SymbolValueOf = 73, SymbolDescription = 74, SymbolToPrimitive = 75, ArrayConstructor = 76, ArrayFrom = 77, ArrayIsArray = 78, ArrayOf = 79, ArrayAt = 80, ArrayConcat = 81, ArrayCopyWithin = 82, ArrayFill = 83, ArrayFind = 84, ArrayFindIndex = 85, ArrayFindLast = 86, ArrayFindLastIndex = 87, ArrayLastIndexOf = 88, ArrayPop = 89, ArrayPush = 90, ArrayReverse = 91, ArrayShift = 92, ArrayUnshift = 93, ArraySlice = 94, ArraySort = 95, ArraySplice = 96, ArrayIncludes = 97, ArrayIndexOf = 98, ArrayJoin = 99, ArrayToString = 100, ArrayToLocaleString = 101, ArrayEvery = 102, ArraySome = 103, ArrayForEach = 104, ArrayMap = 105, ArrayFilter = 106, ArrayReduce = 107, ArrayReduceRight = 108, ArrayFlat = 109, ArrayFlatMap = 110, ArrayToReversed = 111, ArrayToSorted = 112, ArrayToSpliced = 113, ArrayWith = 114, ArrayValues = 115, ArrayKeys = 116, ArrayEntries = 117, ArrayIteratorNext = 118, IteratorPrototypeIterator = 119, StringIterator = 120, StringIteratorNext = 121, StringConstructor = 122, StringFromCharCode = 123, StringFromCodePoint = 124, StringRaw = 125, StringAt = 126, StringCharAt = 127, StringCharCodeAt = 128, StringCodePointAt = 129, StringConcat = 130, StringEndsWith = 131, StringIncludes = 132, StringIndexOf = 133, StringIsWellFormed = 134, StringLastIndexOf = 135, StringLocaleCompare = 136, StringMatch = 137, StringMatchAll = 138, StringNormalize = 139, StringPadEnd = 140, StringPadStart = 141, StringRepeat = 142, StringReplace = 143, StringReplaceAll = 144, StringSearch = 145, StringSlice = 146, StringSplit = 147, StringStartsWith = 148, StringSubstr = 149, StringSubstring = 150, StringToLocaleLowerCase = 151, StringToLocaleUpperCase = 152, StringToLowerCase = 153, StringToString = 154, StringToUpperCase = 155, StringToWellFormed = 156, StringTrim = 157, StringTrimEnd = 158, StringTrimStart = 159, StringValueOf = 160, StringAnchor = 161, StringBig = 162, StringBlink = 163, StringBold = 164, StringFixed = 165, StringFontcolor = 166, StringFontsize = 167, StringItalics = 168, StringLink = 169, StringSmall = 170, StringStrike = 171, StringSub = 172, StringSup = 173, NumberConstructor = 174, NumberToString = 175, NumberToLocaleString = 176, NumberValueOf = 177, NumberToFixed = 178, NumberToExponential = 179, NumberToPrecision = 180, NumberIsFinite = 181, NumberIsInteger = 182, NumberIsNaN = 183, NumberIsSafeInteger = 184, BooleanConstructor = 185, BooleanToString = 186, BooleanValueOf = 187, BigIntConstructor = 188, BigIntAsIntN = 189, BigIntAsUintN = 190, BigIntToLocaleString = 191, BigIntToString = 192, BigIntValueOf = 193, DecodeUri = 194, DecodeUriComponent = 195, EncodeUri = 196, EncodeUriComponent = 197, Escape = 198, Unescape = 199, MathAbs = 200, MathAcos = 201, MathAcosh = 202, MathAsin = 203, MathAsinh = 204, MathAtan = 205, MathAtanh = 206, MathAtan2 = 207, MathCbrt = 208, MathCeil = 209, MathClz32 = 210, MathCos = 211, MathCosh = 212, MathExp = 213, MathExpm1 = 214, MathFloor = 215, MathFround = 216, MathF16round = 217, MathHypot = 218, MathImul = 219, MathLog = 220, MathLog1p = 221, MathLog10 = 222, MathLog2 = 223, MathMax = 224, MathMin = 225, MathPow = 226, MathRandom = 227, MathRound = 228, MathSign = 229, MathSin = 230, MathSinh = 231, MathSqrt = 232, MathSumPrecise = 233, MathTan = 234, MathTanh = 235, MathTrunc = 236, RegExpConstructor = 237, RegExpEscape = 238, RegExpCompile = 239, RegExpExec = 240, RegExpTest = 241, RegExpToString = 242, RegExpSource = 243, RegExpFlags = 244, RegExpHasIndices = 245, RegExpGlobal = 246, RegExpIgnoreCase = 247, RegExpMultiline = 248, RegExpDotAll = 249, RegExpUnicode = 250, RegExpUnicodeSets = 251, RegExpSticky = 252, RegExpSymbolMatch = 253, RegExpSymbolMatchAll = 254, RegExpSymbolReplace = 255, RegExpSymbolSearch = 256, RegExpSymbolSplit = 257, RegExpStringIteratorNext = 258, ErrorConstructor = 259, EvalErrorConstructor = 260, RangeErrorConstructor = 261, ReferenceErrorConstructor = 262, SyntaxErrorConstructor = 263, TypeErrorConstructor = 264, InternalErrorConstructor = 265, UriErrorConstructor = 266, AggregateErrorConstructor = 267, ErrorToString = 268, ErrorIsError = 269, PromiseConstructor = 270, PromiseResolveFunction = 271, PromiseRejectFunction = 272, PromiseCapabilityExecutor = 273, PromiseThen = 274, PromiseCatch = 275, PromiseFinally = 276, PromiseThenFinally = 277, PromiseCatchFinally = 278, PromiseValueThunk = 279, PromiseThrower = 280, PromiseResolveStatic = 281, PromiseRejectStatic = 282, PromiseWithResolvers = 283, PromiseTry = 284, PromiseAll = 285, PromiseAllSettled = 286, PromiseAny = 287, PromiseRace = 288, PromiseAllResolveElement = 289, PromiseAllSettledResolveElement = 290, PromiseAllSettledRejectElement = 291, PromiseAnyRejectElement = 292, SpeciesGetter = 293, GeneratorFunctionConstructor = 294, AsyncFunctionConstructor = 295, AsyncGeneratorFunctionConstructor = 296, GeneratorNext = 297, GeneratorReturn = 298, GeneratorThrow = 299, AsyncIteratorPrototypeAsyncIterator = 300, AsyncFromSyncNext = 301, AsyncFromSyncReturn = 302, AsyncFromSyncThrow = 303, AsyncFromSyncUnwrap = 304, AsyncFromSyncCloseRejected = 305, AsyncGeneratorNext = 306, AsyncGeneratorReturn = 307, AsyncGeneratorThrow = 308, DateConstructor = 309, DateNow = 310, DateParse = 311, DateUtc = 312, DateValueOf = 313, DateGetTime = 314, DateToString = 315, DateToDateString = 316, DateToTimeString = 317, DateToUtcString = 318, DateToIsoString = 319, DateToLocaleString = 320, DateToLocaleDateString = 321, DateToLocaleTimeString = 322, DateToPrimitive = 323, DateGetTimezoneOffset = 324, DateGetYear = 325, DateGetFullYear = 326, DateGetUtcFullYear = 327, DateGetMonth = 328, DateGetUtcMonth = 329, DateGetDate = 330, DateGetUtcDate = 331, DateGetHours = 332, DateGetUtcHours = 333, DateGetMinutes = 334, DateGetUtcMinutes = 335, DateGetSeconds = 336, DateGetUtcSeconds = 337, DateGetMilliseconds = 338, DateGetUtcMilliseconds = 339, DateGetDay = 340, DateGetUtcDay = 341, DateSetMilliseconds = 342, DateSetUtcMilliseconds = 343, DateSetSeconds = 344, DateSetUtcSeconds = 345, DateSetMinutes = 346, DateSetUtcMinutes = 347, DateSetHours = 348, DateSetUtcHours = 349, DateSetDate = 350, DateSetUtcDate = 351, DateSetMonth = 352, DateSetUtcMonth = 353, DateSetFullYear = 354, DateSetUtcFullYear = 355, DateSetTime = 356, DateSetYear = 357, DateToJson = 358, JsonIsRawJson = 359, JsonParse = 360, JsonRawJson = 361, JsonStringify = 362, MapConstructor = 363, MapGroupBy = 364, MapSet = 365, MapGet = 366, MapGetOrInsert = 367, MapGetOrInsertComputed = 368, MapHas = 369, MapDelete = 370, MapClear = 371, MapSize = 372, MapForEach = 373, MapValues = 374, MapKeys = 375, MapEntries = 376, MapIteratorNext = 377, SetConstructor = 378, SetAdd = 379, SetHas = 380, SetDelete = 381, SetClear = 382, SetSize = 383, SetForEach = 384, SetIsDisjointFrom = 385, SetIsSubsetOf = 386, SetIsSupersetOf = 387, SetIntersection = 388, SetDifference = 389, SetSymmetricDifference = 390, SetUnion = 391, SetValues = 392, SetEntries = 393, SetIteratorNext = 394, WeakMapConstructor = 395, WeakMapSet = 396, WeakMapGet = 397, WeakMapGetOrInsert = 398, WeakMapGetOrInsertComputed = 399, WeakMapHas = 400, WeakMapDelete = 401, WeakSetConstructor = 402, WeakSetAdd = 403, WeakSetHas = 404, WeakSetDelete = 405, WeakRefConstructor = 406, WeakRefDeref = 407, FinalizationRegistryConstructor = 408, FinalizationRegistryRegister = 409, FinalizationRegistryUnregister = 410, IteratorConstructor = 411, IteratorConstructorGetter = 412, IteratorConstructorSetter = 413, IteratorToStringTagGetter = 414, IteratorToStringTagSetter = 415, IteratorFrom = 416, IteratorConcat = 417, WrapForValidNext = 418, WrapForValidReturn = 419, IteratorDrop = 420, IteratorFilter = 421, IteratorFlatMap = 422, IteratorMap = 423, IteratorTake = 424, IteratorEvery = 425, IteratorFind = 426, IteratorForEach = 427, IteratorSome = 428, IteratorReduce = 429, IteratorToArray = 430, IteratorHelperNext = 431, IteratorHelperReturn = 432, ArrayBufferConstructor = 433, ArrayBufferIsView = 434, ArrayBufferByteLength = 435, ArrayBufferMaxByteLength = 436, ArrayBufferResizable = 437, ArrayBufferDetached = 438, ArrayBufferResize = 439, ArrayBufferSlice = 440, ArrayBufferTransfer = 441, ArrayBufferTransferToFixedLength = 442, SharedArrayBufferConstructor = 443, SharedArrayBufferByteLength = 444, SharedArrayBufferGrowable = 445, SharedArrayBufferMaxByteLength = 446, SharedArrayBufferGrow = 447, SharedArrayBufferSlice = 448, DataViewConstructor = 449, DataViewBuffer = 450, DataViewByteLength = 451, DataViewByteOffset = 452, DataViewGetInt8 = 453, DataViewSetInt8 = 454, DataViewGetUint8 = 455, DataViewSetUint8 = 456, DataViewGetInt16 = 457, DataViewSetInt16 = 458, DataViewGetUint16 = 459, DataViewSetUint16 = 460, DataViewGetInt32 = 461, DataViewSetInt32 = 462, DataViewGetUint32 = 463, DataViewSetUint32 = 464, DataViewGetFloat16 = 465, DataViewSetFloat16 = 466, DataViewGetFloat32 = 467, DataViewSetFloat32 = 468, DataViewGetFloat64 = 469, DataViewSetFloat64 = 470, DataViewGetBigInt64 = 471, DataViewSetBigInt64 = 472, DataViewGetBigUint64 = 473, DataViewSetBigUint64 = 474, TypedArrayConstructor = 475, TypedArrayFrom = 476, TypedArrayOf = 477, TypedArrayBuffer = 478, TypedArrayByteLength = 479, TypedArrayByteOffset = 480, TypedArrayLength = 481, TypedArrayToStringTag = 482, TypedArrayAt = 483, TypedArrayCopyWithin = 484, TypedArrayEntries = 485, TypedArrayEvery = 486, TypedArrayFill = 487, TypedArrayFilter = 488, TypedArrayFind = 489, TypedArrayFindIndex = 490, TypedArrayFindLast = 491, TypedArrayFindLastIndex = 492, TypedArrayForEach = 493, TypedArrayIncludes = 494, TypedArrayIndexOf = 495, TypedArrayJoin = 496, TypedArrayKeys = 497, TypedArrayLastIndexOf = 498, TypedArrayMap = 499, TypedArrayReduce = 500, TypedArrayReduceRight = 501, TypedArrayReverse = 502, TypedArraySet = 503, TypedArraySlice = 504, TypedArraySome = 505, TypedArraySort = 506, TypedArraySubarray = 507, TypedArrayToLocaleString = 508, TypedArrayToReversed = 509, TypedArrayToSorted = 510, TypedArrayValues = 511, TypedArrayWith = 512, Int8ArrayConstructor = 513, Uint8ArrayConstructor = 514, Uint8ClampedArrayConstructor = 515, Int16ArrayConstructor = 516, Uint16ArrayConstructor = 517, Int32ArrayConstructor = 518, Uint32ArrayConstructor = 519, Float16ArrayConstructor = 520, Float32ArrayConstructor = 521, Float64ArrayConstructor = 522, BigInt64ArrayConstructor = 523, BigUint64ArrayConstructor = 524, Uint8ArrayFromBase64 = 525, Uint8ArrayFromHex = 526, Uint8ArrayToBase64 = 527, Uint8ArraySetFromBase64 = 528, Uint8ArrayToHex = 529, Uint8ArraySetFromHex = 530, AtomicsAdd = 531, AtomicsAnd = 532, AtomicsCompareExchange = 533, AtomicsExchange = 534, AtomicsIsLockFree = 535, AtomicsLoad = 536, AtomicsNotify = 537, AtomicsOr = 538, AtomicsStore = 539, AtomicsSub = 540, AtomicsWait = 541, AtomicsXor = 542, AtomicsPause = 543, AgentStart = 544, AgentBroadcast = 545, AgentGetReport = 546, AgentSleep = 547, AgentMonotonicNow = 548, AgentReceiveBroadcast = 549, AgentReport = 550, AgentLeaving = 551, ModuleAsyncFulfilled = 552, ModuleAsyncRejected = 553, ModuleImportFulfilled = 554, ModuleImportJob = 555, ModuleImportRejected = 556, Test262CreateRealm = 557, Test262Gc = 558, Test262EvalScript = 559, Test262DetachArrayBuffer = 560, Test262CodePointRange = 561, ConsoleLog = 562, Load = 563, Read = 564, LoadScript = 565, PerformanceNow = 566, HostFunction = 567, HostConstructor = 568,
}
Expand description

A host function, stored by index in its function record.

Variants§

§

Print = 0

qjs’s print: the arguments’ strings joined by a space, then a newline.

§

FunctionCall = 1

Function.prototype.call. The loop rewrites a call of it into a call of its receiver; the native runs only where no call site is rewritten.

§

FunctionApply = 2

Function.prototype.apply, rewritten by the loop as call is.

§

FunctionPrototype = 3

%Function.prototype% itself, which returns undefined.

§

FunctionConstructor = 4

§

FunctionToString = 5

§

FunctionBind = 6

§

FunctionHasInstance = 7

§

FunctionFileName = 8

§

FunctionLineNumber = 9

§

FunctionColumnNumber = 10

§

ThrowTypeError = 11

§

ParseInt = 12

§

ParseFloat = 13

§

Eval = 14

§

IsNaN = 15

§

IsFinite = 16

§

ObjectConstructor = 17

§

ObjectToString = 18

§

ObjectToLocaleString = 19

§

ObjectValueOf = 20

§

ObjectHasOwnProperty = 21

§

ObjectIsPrototypeOf = 22

§

ObjectPropertyIsEnumerable = 23

§

ObjectProtoGetter = 24

§

ObjectProtoSetter = 25

§

ObjectDefineGetter = 26

§

ObjectDefineSetter = 27

§

ObjectLookupGetter = 28

§

ObjectLookupSetter = 29

§

ObjectAssign = 30

§

ObjectCreate = 31

§

ObjectDefineProperties = 32

§

ObjectDefineProperty = 33

§

ObjectEntries = 34

§

ObjectFreeze = 35

§

ObjectFromEntries = 36

§

ObjectGetOwnPropertyDescriptor = 37

§

ObjectGetOwnPropertyDescriptors = 38

§

ObjectGetOwnPropertyNames = 39

§

ObjectGetOwnPropertySymbols = 40

§

ObjectGetPrototypeOf = 41

§

ObjectGroupBy = 42

§

ObjectHasOwn = 43

§

ObjectIs = 44

§

ObjectIsExtensible = 45

§

ObjectIsFrozen = 46

§

ObjectIsSealed = 47

§

ObjectKeys = 48

§

ObjectPreventExtensions = 49

§

ObjectSeal = 50

§

ObjectSetPrototypeOf = 51

§

ObjectValues = 52

§

ReflectApply = 53

§

ReflectConstruct = 54

§

ReflectDefineProperty = 55

§

ReflectDeleteProperty = 56

§

ReflectGet = 57

§

ReflectGetOwnPropertyDescriptor = 58

§

ReflectGetPrototypeOf = 59

§

ReflectHas = 60

§

ReflectIsExtensible = 61

§

ReflectOwnKeys = 62

§

ReflectPreventExtensions = 63

§

ReflectSet = 64

§

ReflectSetPrototypeOf = 65

§

ProxyConstructor = 66

§

ProxyRevocable = 67

§

ProxyRevoke = 68

§

SymbolConstructor = 69

§

SymbolFor = 70

§

SymbolKeyFor = 71

§

SymbolToString = 72

§

SymbolValueOf = 73

§

SymbolDescription = 74

§

SymbolToPrimitive = 75

§

ArrayConstructor = 76

§

ArrayFrom = 77

§

ArrayIsArray = 78

§

ArrayOf = 79

§

ArrayAt = 80

§

ArrayConcat = 81

§

ArrayCopyWithin = 82

§

ArrayFill = 83

§

ArrayFind = 84

§

ArrayFindIndex = 85

§

ArrayFindLast = 86

§

ArrayFindLastIndex = 87

§

ArrayLastIndexOf = 88

§

ArrayPop = 89

§

ArrayPush = 90

§

ArrayReverse = 91

§

ArrayShift = 92

§

ArrayUnshift = 93

§

ArraySlice = 94

§

ArraySort = 95

§

ArraySplice = 96

§

ArrayIncludes = 97

§

ArrayIndexOf = 98

§

ArrayJoin = 99

§

ArrayToString = 100

§

ArrayToLocaleString = 101

§

ArrayEvery = 102

§

ArraySome = 103

§

ArrayForEach = 104

§

ArrayMap = 105

§

ArrayFilter = 106

§

ArrayReduce = 107

§

ArrayReduceRight = 108

§

ArrayFlat = 109

§

ArrayFlatMap = 110

§

ArrayToReversed = 111

§

ArrayToSorted = 112

§

ArrayToSpliced = 113

§

ArrayWith = 114

§

ArrayValues = 115

§

ArrayKeys = 116

§

ArrayEntries = 117

§

ArrayIteratorNext = 118

§

IteratorPrototypeIterator = 119

§

StringIterator = 120

§

StringIteratorNext = 121

§

StringConstructor = 122

§

StringFromCharCode = 123

§

StringFromCodePoint = 124

§

StringRaw = 125

§

StringAt = 126

§

StringCharAt = 127

§

StringCharCodeAt = 128

§

StringCodePointAt = 129

§

StringConcat = 130

§

StringEndsWith = 131

§

StringIncludes = 132

§

StringIndexOf = 133

§

StringIsWellFormed = 134

§

StringLastIndexOf = 135

§

StringLocaleCompare = 136

§

StringMatch = 137

§

StringMatchAll = 138

§

StringNormalize = 139

§

StringPadEnd = 140

§

StringPadStart = 141

§

StringRepeat = 142

§

StringReplace = 143

§

StringReplaceAll = 144

§

StringSearch = 145

§

StringSlice = 146

§

StringSplit = 147

§

StringStartsWith = 148

§

StringSubstr = 149

§

StringSubstring = 150

§

StringToLocaleLowerCase = 151

§

StringToLocaleUpperCase = 152

§

StringToLowerCase = 153

§

StringToString = 154

§

StringToUpperCase = 155

§

StringToWellFormed = 156

§

StringTrim = 157

§

StringTrimEnd = 158

§

StringTrimStart = 159

§

StringValueOf = 160

§

StringAnchor = 161

§

StringBig = 162

§

StringBold = 164

§

StringFixed = 165

§

StringFontcolor = 166

§

StringFontsize = 167

§

StringItalics = 168

§

StringSmall = 170

§

StringStrike = 171

§

StringSub = 172

§

StringSup = 173

§

NumberConstructor = 174

§

NumberToString = 175

§

NumberToLocaleString = 176

§

NumberValueOf = 177

§

NumberToFixed = 178

§

NumberToExponential = 179

§

NumberToPrecision = 180

§

NumberIsFinite = 181

§

NumberIsInteger = 182

§

NumberIsNaN = 183

§

NumberIsSafeInteger = 184

§

BooleanConstructor = 185

§

BooleanToString = 186

§

BooleanValueOf = 187

§

BigIntConstructor = 188

§

BigIntAsIntN = 189

§

BigIntAsUintN = 190

§

BigIntToLocaleString = 191

§

BigIntToString = 192

§

BigIntValueOf = 193

§

DecodeUri = 194

§

DecodeUriComponent = 195

§

EncodeUri = 196

§

EncodeUriComponent = 197

§

Escape = 198

§

Unescape = 199

§

MathAbs = 200

§

MathAcos = 201

§

MathAcosh = 202

§

MathAsin = 203

§

MathAsinh = 204

§

MathAtan = 205

§

MathAtanh = 206

§

MathAtan2 = 207

§

MathCbrt = 208

§

MathCeil = 209

§

MathClz32 = 210

§

MathCos = 211

§

MathCosh = 212

§

MathExp = 213

§

MathExpm1 = 214

§

MathFloor = 215

§

MathFround = 216

§

MathF16round = 217

§

MathHypot = 218

§

MathImul = 219

§

MathLog = 220

§

MathLog1p = 221

§

MathLog10 = 222

§

MathLog2 = 223

§

MathMax = 224

§

MathMin = 225

§

MathPow = 226

§

MathRandom = 227

§

MathRound = 228

§

MathSign = 229

§

MathSin = 230

§

MathSinh = 231

§

MathSqrt = 232

§

MathSumPrecise = 233

§

MathTan = 234

§

MathTanh = 235

§

MathTrunc = 236

§

RegExpConstructor = 237

§

RegExpEscape = 238

§

RegExpCompile = 239

§

RegExpExec = 240

§

RegExpTest = 241

§

RegExpToString = 242

§

RegExpSource = 243

§

RegExpFlags = 244

§

RegExpHasIndices = 245

§

RegExpGlobal = 246

§

RegExpIgnoreCase = 247

§

RegExpMultiline = 248

§

RegExpDotAll = 249

§

RegExpUnicode = 250

§

RegExpUnicodeSets = 251

§

RegExpSticky = 252

§

RegExpSymbolMatch = 253

§

RegExpSymbolMatchAll = 254

§

RegExpSymbolReplace = 255

§

RegExpSymbolSearch = 256

§

RegExpSymbolSplit = 257

§

RegExpStringIteratorNext = 258

§

ErrorConstructor = 259

§

EvalErrorConstructor = 260

§

RangeErrorConstructor = 261

§

ReferenceErrorConstructor = 262

§

SyntaxErrorConstructor = 263

§

TypeErrorConstructor = 264

§

InternalErrorConstructor = 265

§

UriErrorConstructor = 266

§

AggregateErrorConstructor = 267

§

ErrorToString = 268

§

ErrorIsError = 269

§

PromiseConstructor = 270

§

PromiseResolveFunction = 271

§

PromiseRejectFunction = 272

§

PromiseCapabilityExecutor = 273

§

PromiseThen = 274

§

PromiseCatch = 275

§

PromiseFinally = 276

§

PromiseThenFinally = 277

§

PromiseCatchFinally = 278

§

PromiseValueThunk = 279

§

PromiseThrower = 280

§

PromiseResolveStatic = 281

§

PromiseRejectStatic = 282

§

PromiseWithResolvers = 283

§

PromiseTry = 284

§

PromiseAll = 285

§

PromiseAllSettled = 286

§

PromiseAny = 287

§

PromiseRace = 288

§

PromiseAllResolveElement = 289

§

PromiseAllSettledResolveElement = 290

§

PromiseAllSettledRejectElement = 291

§

PromiseAnyRejectElement = 292

§

SpeciesGetter = 293

§

GeneratorFunctionConstructor = 294

§

AsyncFunctionConstructor = 295

§

AsyncGeneratorFunctionConstructor = 296

§

GeneratorNext = 297

§

GeneratorReturn = 298

§

GeneratorThrow = 299

§

AsyncIteratorPrototypeAsyncIterator = 300

§

AsyncFromSyncNext = 301

§

AsyncFromSyncReturn = 302

§

AsyncFromSyncThrow = 303

§

AsyncFromSyncUnwrap = 304

§

AsyncFromSyncCloseRejected = 305

§

AsyncGeneratorNext = 306

§

AsyncGeneratorReturn = 307

§

AsyncGeneratorThrow = 308

§

DateConstructor = 309

§

DateNow = 310

§

DateParse = 311

§

DateUtc = 312

§

DateValueOf = 313

§

DateGetTime = 314

§

DateToString = 315

§

DateToDateString = 316

§

DateToTimeString = 317

§

DateToUtcString = 318

§

DateToIsoString = 319

§

DateToLocaleString = 320

§

DateToLocaleDateString = 321

§

DateToLocaleTimeString = 322

§

DateToPrimitive = 323

§

DateGetTimezoneOffset = 324

§

DateGetYear = 325

§

DateGetFullYear = 326

§

DateGetUtcFullYear = 327

§

DateGetMonth = 328

§

DateGetUtcMonth = 329

§

DateGetDate = 330

§

DateGetUtcDate = 331

§

DateGetHours = 332

§

DateGetUtcHours = 333

§

DateGetMinutes = 334

§

DateGetUtcMinutes = 335

§

DateGetSeconds = 336

§

DateGetUtcSeconds = 337

§

DateGetMilliseconds = 338

§

DateGetUtcMilliseconds = 339

§

DateGetDay = 340

§

DateGetUtcDay = 341

§

DateSetMilliseconds = 342

§

DateSetUtcMilliseconds = 343

§

DateSetSeconds = 344

§

DateSetUtcSeconds = 345

§

DateSetMinutes = 346

§

DateSetUtcMinutes = 347

§

DateSetHours = 348

§

DateSetUtcHours = 349

§

DateSetDate = 350

§

DateSetUtcDate = 351

§

DateSetMonth = 352

§

DateSetUtcMonth = 353

§

DateSetFullYear = 354

§

DateSetUtcFullYear = 355

§

DateSetTime = 356

§

DateSetYear = 357

§

DateToJson = 358

§

JsonIsRawJson = 359

§

JsonParse = 360

§

JsonRawJson = 361

§

JsonStringify = 362

§

MapConstructor = 363

§

MapGroupBy = 364

§

MapSet = 365

§

MapGet = 366

§

MapGetOrInsert = 367

§

MapGetOrInsertComputed = 368

§

MapHas = 369

§

MapDelete = 370

§

MapClear = 371

§

MapSize = 372

§

MapForEach = 373

§

MapValues = 374

§

MapKeys = 375

§

MapEntries = 376

§

MapIteratorNext = 377

§

SetConstructor = 378

§

SetAdd = 379

§

SetHas = 380

§

SetDelete = 381

§

SetClear = 382

§

SetSize = 383

§

SetForEach = 384

§

SetIsDisjointFrom = 385

§

SetIsSubsetOf = 386

§

SetIsSupersetOf = 387

§

SetIntersection = 388

§

SetDifference = 389

§

SetSymmetricDifference = 390

§

SetUnion = 391

§

SetValues = 392

§

SetEntries = 393

§

SetIteratorNext = 394

§

WeakMapConstructor = 395

§

WeakMapSet = 396

§

WeakMapGet = 397

§

WeakMapGetOrInsert = 398

§

WeakMapGetOrInsertComputed = 399

§

WeakMapHas = 400

§

WeakMapDelete = 401

§

WeakSetConstructor = 402

§

WeakSetAdd = 403

§

WeakSetHas = 404

§

WeakSetDelete = 405

§

WeakRefConstructor = 406

§

WeakRefDeref = 407

§

FinalizationRegistryConstructor = 408

§

FinalizationRegistryRegister = 409

§

FinalizationRegistryUnregister = 410

§

IteratorConstructor = 411

§

IteratorConstructorGetter = 412

§

IteratorConstructorSetter = 413

§

IteratorToStringTagGetter = 414

§

IteratorToStringTagSetter = 415

§

IteratorFrom = 416

§

IteratorConcat = 417

§

WrapForValidNext = 418

§

WrapForValidReturn = 419

§

IteratorDrop = 420

§

IteratorFilter = 421

§

IteratorFlatMap = 422

§

IteratorMap = 423

§

IteratorTake = 424

§

IteratorEvery = 425

§

IteratorFind = 426

§

IteratorForEach = 427

§

IteratorSome = 428

§

IteratorReduce = 429

§

IteratorToArray = 430

§

IteratorHelperNext = 431

§

IteratorHelperReturn = 432

§

ArrayBufferConstructor = 433

§

ArrayBufferIsView = 434

§

ArrayBufferByteLength = 435

§

ArrayBufferMaxByteLength = 436

§

ArrayBufferResizable = 437

§

ArrayBufferDetached = 438

§

ArrayBufferResize = 439

§

ArrayBufferSlice = 440

§

ArrayBufferTransfer = 441

§

ArrayBufferTransferToFixedLength = 442

§

SharedArrayBufferConstructor = 443

§

SharedArrayBufferByteLength = 444

§

SharedArrayBufferGrowable = 445

§

SharedArrayBufferMaxByteLength = 446

§

SharedArrayBufferGrow = 447

§

SharedArrayBufferSlice = 448

§

DataViewConstructor = 449

§

DataViewBuffer = 450

§

DataViewByteLength = 451

§

DataViewByteOffset = 452

§

DataViewGetInt8 = 453

§

DataViewSetInt8 = 454

§

DataViewGetUint8 = 455

§

DataViewSetUint8 = 456

§

DataViewGetInt16 = 457

§

DataViewSetInt16 = 458

§

DataViewGetUint16 = 459

§

DataViewSetUint16 = 460

§

DataViewGetInt32 = 461

§

DataViewSetInt32 = 462

§

DataViewGetUint32 = 463

§

DataViewSetUint32 = 464

§

DataViewGetFloat16 = 465

§

DataViewSetFloat16 = 466

§

DataViewGetFloat32 = 467

§

DataViewSetFloat32 = 468

§

DataViewGetFloat64 = 469

§

DataViewSetFloat64 = 470

§

DataViewGetBigInt64 = 471

§

DataViewSetBigInt64 = 472

§

DataViewGetBigUint64 = 473

§

DataViewSetBigUint64 = 474

§

TypedArrayConstructor = 475

§

TypedArrayFrom = 476

§

TypedArrayOf = 477

§

TypedArrayBuffer = 478

§

TypedArrayByteLength = 479

§

TypedArrayByteOffset = 480

§

TypedArrayLength = 481

§

TypedArrayToStringTag = 482

§

TypedArrayAt = 483

§

TypedArrayCopyWithin = 484

§

TypedArrayEntries = 485

§

TypedArrayEvery = 486

§

TypedArrayFill = 487

§

TypedArrayFilter = 488

§

TypedArrayFind = 489

§

TypedArrayFindIndex = 490

§

TypedArrayFindLast = 491

§

TypedArrayFindLastIndex = 492

§

TypedArrayForEach = 493

§

TypedArrayIncludes = 494

§

TypedArrayIndexOf = 495

§

TypedArrayJoin = 496

§

TypedArrayKeys = 497

§

TypedArrayLastIndexOf = 498

§

TypedArrayMap = 499

§

TypedArrayReduce = 500

§

TypedArrayReduceRight = 501

§

TypedArrayReverse = 502

§

TypedArraySet = 503

§

TypedArraySlice = 504

§

TypedArraySome = 505

§

TypedArraySort = 506

§

TypedArraySubarray = 507

§

TypedArrayToLocaleString = 508

§

TypedArrayToReversed = 509

§

TypedArrayToSorted = 510

§

TypedArrayValues = 511

§

TypedArrayWith = 512

§

Int8ArrayConstructor = 513

§

Uint8ArrayConstructor = 514

§

Uint8ClampedArrayConstructor = 515

§

Int16ArrayConstructor = 516

§

Uint16ArrayConstructor = 517

§

Int32ArrayConstructor = 518

§

Uint32ArrayConstructor = 519

§

Float16ArrayConstructor = 520

§

Float32ArrayConstructor = 521

§

Float64ArrayConstructor = 522

§

BigInt64ArrayConstructor = 523

§

BigUint64ArrayConstructor = 524

§

Uint8ArrayFromBase64 = 525

§

Uint8ArrayFromHex = 526

§

Uint8ArrayToBase64 = 527

§

Uint8ArraySetFromBase64 = 528

§

Uint8ArrayToHex = 529

§

Uint8ArraySetFromHex = 530

§

AtomicsAdd = 531

§

AtomicsAnd = 532

§

AtomicsCompareExchange = 533

§

AtomicsExchange = 534

§

AtomicsIsLockFree = 535

§

AtomicsLoad = 536

§

AtomicsNotify = 537

§

AtomicsOr = 538

§

AtomicsStore = 539

§

AtomicsSub = 540

§

AtomicsWait = 541

§

AtomicsXor = 542

§

AtomicsPause = 543

§

AgentStart = 544

§

AgentBroadcast = 545

§

AgentGetReport = 546

§

AgentSleep = 547

§

AgentMonotonicNow = 548

§

AgentReceiveBroadcast = 549

§

AgentReport = 550

§

AgentLeaving = 551

§

ModuleAsyncFulfilled = 552

§

ModuleAsyncRejected = 553

§

ModuleImportFulfilled = 554

§

ModuleImportJob = 555

§

ModuleImportRejected = 556

§

Test262CreateRealm = 557

§

Test262Gc = 558

§

Test262EvalScript = 559

§

Test262DetachArrayBuffer = 560

§

Test262CodePointRange = 561

§

ConsoleLog = 562

§

Load = 563

§

Read = 564

§

LoadScript = 565

§

PerformanceNow = 566

§

HostFunction = 567

An embedder’s function (NativeCx::new_host_function); its name and length are its own properties.

§

HostConstructor = 568

An embedder’s function that new may call.

Implementations§

Source§

impl Native

Source

pub const ALL: &'static [Native]

Every native, in index order.

Source

pub const fn is_constructor(self) -> bool

Whether new may call it.

Source

pub const fn js_name(self) -> &'static str

Its name property (a getter’s without the get ).

Source

pub const fn length(self) -> u32

Its length property.

Trait Implementations§

Source§

impl Clone for Native

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Native

Source§

impl Debug for Native

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Native

Source§

impl Hash for Native

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Native

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Native

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.