Enum mozjs::jsapi::ESClass
[−]
[src]
#[repr(i32)]pub enum ESClass { Object, Array, Number, String, Boolean, RegExp, ArrayBuffer, SharedArrayBuffer, Date, Set, Map, Promise, MapIterator, SetIterator, Arguments, Error, Other, }
Enumeration describing possible values of the [[Class]] internal property value of objects.
Variants
ObjectArrayNumberStringBooleanRegExpArrayBufferDateSetMapPromiseMapIteratorSetIteratorArgumentsErrorOther
Trait Implementations
impl Debug for ESClass[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Copy for ESClass[src]
impl Clone for ESClass[src]
fn clone(&self) -> ESClass[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for ESClass[src]
impl PartialEq for ESClass[src]
fn eq(&self, __arg_0: &ESClass) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.