Skip to main content

JSProtoKey

Enum JSProtoKey 

Source
#[repr(u32)]
pub enum JSProtoKey {
Show 96 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_SuppressedError = 18, JSProto_SyntaxError = 19, JSProto_TypeError = 20, JSProto_URIError = 21, JSProto_DebuggeeWouldRun = 22, JSProto_CompileError = 23, JSProto_LinkError = 24, JSProto_RuntimeError = 25, JSProto_SuspendError = 26, JSProto_ArrayBuffer = 27, JSProto_Int8Array = 28, JSProto_Uint8Array = 29, JSProto_Int16Array = 30, JSProto_Uint16Array = 31, JSProto_Int32Array = 32, JSProto_Uint32Array = 33, JSProto_Float32Array = 34, JSProto_Float64Array = 35, JSProto_Uint8ClampedArray = 36, JSProto_BigInt64Array = 37, JSProto_BigUint64Array = 38, JSProto_Float16Array = 39, JSProto_BigInt = 40, JSProto_Proxy = 41, JSProto_WeakMap = 42, JSProto_Map = 43, JSProto_Set = 44, JSProto_DataView = 45, JSProto_Symbol = 46, JSProto_ShadowRealm = 47, JSProto_SharedArrayBuffer = 48, JSProto_Intl = 49, JSProto_Collator = 50, JSProto_DateTimeFormat = 51, JSProto_DisplayNames = 52, JSProto_DurationFormat = 53, JSProto_ListFormat = 54, JSProto_Locale = 55, JSProto_NumberFormat = 56, JSProto_PluralRules = 57, JSProto_RelativeTimeFormat = 58, JSProto_Segmenter = 59, JSProto_Reflect = 60, JSProto_WeakSet = 61, JSProto_TypedArray = 62, JSProto_Atomics = 63, JSProto_SavedFrame = 64, JSProto_Promise = 65, JSProto_AsyncFunction = 66, JSProto_GeneratorFunction = 67, JSProto_AsyncGeneratorFunction = 68, JSProto_WebAssembly = 69, JSProto_WasmModule = 70, JSProto_WasmInstance = 71, JSProto_WasmMemory = 72, JSProto_WasmTable = 73, JSProto_WasmGlobal = 74, JSProto_WasmTag = 75, JSProto_WasmFunction = 76, JSProto_WasmSuspending = 77, JSProto_WasmException = 78, JSProto_FinalizationRegistry = 79, JSProto_WeakRef = 80, JSProto_Iterator = 81, JSProto_AsyncIterator = 82, JSProto_DisposableStack = 83, JSProto_AsyncDisposableStack = 84, JSProto_Temporal = 85, JSProto_Duration = 86, JSProto_Instant = 87, JSProto_PlainDate = 88, JSProto_PlainDateTime = 89, JSProto_PlainMonthDay = 90, JSProto_PlainYearMonth = 91, JSProto_PlainTime = 92, JSProto_TemporalNow = 93, JSProto_ZonedDateTime = 94, JSProto_LIMIT = 95,
}

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_SuppressedError = 18

§

JSProto_SyntaxError = 19

§

JSProto_TypeError = 20

§

JSProto_URIError = 21

§

JSProto_DebuggeeWouldRun = 22

§

JSProto_CompileError = 23

§

JSProto_LinkError = 24

§

JSProto_RuntimeError = 25

§

JSProto_SuspendError = 26

§

JSProto_ArrayBuffer = 27

§

JSProto_Int8Array = 28

§

JSProto_Uint8Array = 29

§

JSProto_Int16Array = 30

§

JSProto_Uint16Array = 31

§

JSProto_Int32Array = 32

§

JSProto_Uint32Array = 33

§

JSProto_Float32Array = 34

§

JSProto_Float64Array = 35

§

JSProto_Uint8ClampedArray = 36

§

JSProto_BigInt64Array = 37

§

JSProto_BigUint64Array = 38

§

JSProto_Float16Array = 39

§

JSProto_BigInt = 40

§

JSProto_Proxy = 41

§

JSProto_WeakMap = 42

§

JSProto_Map = 43

§

JSProto_Set = 44

§

JSProto_DataView = 45

§

JSProto_Symbol = 46

§

JSProto_ShadowRealm = 47

§

JSProto_SharedArrayBuffer = 48

§

JSProto_Intl = 49

§

JSProto_Collator = 50

§

JSProto_DateTimeFormat = 51

§

JSProto_DisplayNames = 52

§

JSProto_DurationFormat = 53

§

JSProto_ListFormat = 54

§

JSProto_Locale = 55

§

JSProto_NumberFormat = 56

§

JSProto_PluralRules = 57

§

JSProto_RelativeTimeFormat = 58

§

JSProto_Segmenter = 59

§

JSProto_Reflect = 60

§

JSProto_WeakSet = 61

§

JSProto_TypedArray = 62

§

JSProto_Atomics = 63

§

JSProto_SavedFrame = 64

§

JSProto_Promise = 65

§

JSProto_AsyncFunction = 66

§

JSProto_GeneratorFunction = 67

§

JSProto_AsyncGeneratorFunction = 68

§

JSProto_WebAssembly = 69

§

JSProto_WasmModule = 70

§

JSProto_WasmInstance = 71

§

JSProto_WasmMemory = 72

§

JSProto_WasmTable = 73

§

JSProto_WasmGlobal = 74

§

JSProto_WasmTag = 75

§

JSProto_WasmFunction = 76

§

JSProto_WasmSuspending = 77

§

JSProto_WasmException = 78

§

JSProto_FinalizationRegistry = 79

§

JSProto_WeakRef = 80

§

JSProto_Iterator = 81

§

JSProto_AsyncIterator = 82

§

JSProto_DisposableStack = 83

§

JSProto_AsyncDisposableStack = 84

§

JSProto_Temporal = 85

§

JSProto_Duration = 86

§

JSProto_Instant = 87

§

JSProto_PlainDate = 88

§

JSProto_PlainDateTime = 89

§

JSProto_PlainMonthDay = 90

§

JSProto_PlainYearMonth = 91

§

JSProto_PlainTime = 92

§

JSProto_TemporalNow = 93

§

JSProto_ZonedDateTime = 94

§

JSProto_LIMIT = 95

Trait Implementations§

Source§

impl Clone for JSProtoKey

Source§

fn clone(&self) -> JSProtoKey

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 JSProtoKey

Source§

impl Debug for JSProtoKey

Source§

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

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

impl Eq for JSProtoKey

Source§

impl Hash for JSProtoKey

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 JSProtoKey

Source§

fn eq(&self, other: &JSProtoKey) -> 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 JSProtoKey

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> ErasedDestructor for T
where T: 'static,

Source§

impl<T> Filterable for T

Source§

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> 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> MaybeSendSync for T

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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.