Enum boa::object::ObjectKind [−][src]
pub enum ObjectKind {
Show 21 variants
Array,
ArrayIterator(ArrayIterator),
Map(OrderedMap<JsValue>),
MapIterator(MapIterator),
RegExp(Box<RegExp>),
RegExpStringIterator(RegExpStringIterator),
BigInt(JsBigInt),
Boolean(bool),
ForInIterator(ForInIterator),
Function(Function),
Set(OrderedSet<JsValue>),
SetIterator(SetIterator),
String(JsString),
StringIterator(StringIterator),
Number(f64),
Symbol(JsSymbol),
Error,
Ordinary,
Date(Date),
Global,
NativeObject(Box<dyn NativeObject>),
}Expand description
Defines the different types of objects.
Variants
ArrayIterator(ArrayIterator)Tuple Fields of ArrayIterator
Map(OrderedMap<JsValue>)Tuple Fields of Map
0: OrderedMap<JsValue>MapIterator(MapIterator)Tuple Fields of MapIterator
0: MapIteratorRegExpStringIterator(RegExpStringIterator)Tuple Fields of RegExpStringIterator
BigInt(JsBigInt)Tuple Fields of BigInt
0: JsBigIntBoolean(bool)Tuple Fields of Boolean
0: boolForInIterator(ForInIterator)Tuple Fields of ForInIterator
Function(Function)Tuple Fields of Function
0: FunctionSet(OrderedSet<JsValue>)Tuple Fields of Set
0: OrderedSet<JsValue>SetIterator(SetIterator)Tuple Fields of SetIterator
0: SetIteratorString(JsString)Tuple Fields of String
0: JsStringStringIterator(StringIterator)Tuple Fields of StringIterator
Number(f64)Tuple Fields of Number
0: f64Symbol(JsSymbol)Tuple Fields of Symbol
0: JsSymbolDate(Date)Tuple Fields of Date
0: DateNativeObject(Box<dyn NativeObject>)Tuple Fields of NativeObject
0: Box<dyn NativeObject>