Enum wap::JsType
[−]
[src]
pub enum JsType { Null, Undefined, Boolean(bool), Number(f64), String(String), Ref(WapRc), }
The main data communication type in and out of function calls.
Variants
Null
Undefined
Boolean(bool)
Number(f64)
String(String)
Ref(WapRc)
Object/function/Symbol
Methods
impl JsType
[src]
fn is_null(&self) -> bool
[src]
fn is_undefined(&self) -> bool
[src]
fn unwrap(self) -> WapRc
[src]
fn unwrap_string(self) -> String
[src]
fn unwrap_number(self) -> f64
[src]
fn unwrap_boolean(self) -> bool
[src]
Trait Implementations
impl Debug for JsType
[src]
impl Clone for JsType
[src]
fn clone(&self) -> JsType
[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