Enum javascriptcore_sys::JSType
[−]
[src]
#[repr(u32)]pub enum JSType { Undefined, Null, Boolean, Number, String, Object, }
A constant identifying the type of a JSValue.
Variants
UndefinedThe unique undefined value.
NullThe unique null value.
BooleanA primitive boolean value, one of true or false.
NumberA primitive number value.
StringA primitive string value.
ObjectAn object value (meaning that this JSValueRef is a JSObjectRef).
Trait Implementations
impl Debug for JSType[src]
impl Copy for JSType[src]
impl Clone for JSType[src]
fn clone(&self) -> JSType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for JSType[src]
fn eq(&self, __arg_0: &JSType) -> bool
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
This method tests for !=.