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

The unique undefined value.

The unique null value.

A primitive boolean value, one of true or false.

A primitive number value.

A primitive string value.

An object value (meaning that this JSValueRef is a JSObjectRef).

Trait Implementations

impl Debug for JSType
[src]

Formats the value using the given formatter.

impl Copy for JSType
[src]

impl Clone for JSType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for JSType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for JSType
[src]

impl Hash for JSType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more