#[repr(i32)]pub enum ESClass {
Show 19 variants
Object,
Array,
Number,
String,
Boolean,
RegExp,
ArrayBuffer,
SharedArrayBuffer,
Date,
Set,
Map,
Promise,
MapIterator,
SetIterator,
Arguments,
Error,
BigInt,
Function,
Other,
}
Expand description
Enumeration describing possible values of the [[Class]] internal property value of objects.
Variants§
Object
Array
Number
String
Boolean
RegExp
ArrayBuffer
Date
Set
Map
Promise
MapIterator
SetIterator
Arguments
Error
BigInt
Function
Other
None of the above.
Trait Implementations§
source§impl PartialEq<ESClass> for ESClass
impl PartialEq<ESClass> for ESClass
impl Copy for ESClass
impl Eq for ESClass
impl StructuralEq for ESClass
impl StructuralPartialEq for ESClass
Auto Trait Implementations§
impl RefUnwindSafe for ESClass
impl Send for ESClass
impl Sync for ESClass
impl Unpin for ESClass
impl UnwindSafe for ESClass
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