[][src]Struct javascriptcore::Value

pub struct Value { /* fields omitted */ }

Methods

impl Value[src]

pub fn is_boolean(&self, context: &GlobalContext) -> bool[src]

pub fn is_null(&self, context: &GlobalContext) -> bool[src]

pub fn is_undefined(&self, context: &GlobalContext) -> bool[src]

pub fn is_number(&self, context: &GlobalContext) -> bool[src]

pub fn is_string(&self, context: &GlobalContext) -> bool[src]

pub fn is_object(&self, context: &GlobalContext) -> bool[src]

pub fn is_array(&self, context: &GlobalContext) -> bool[src]

pub fn is_date(&self, context: &GlobalContext) -> bool[src]

pub fn to_number(&self, context: &GlobalContext) -> Option<f64>[src]

pub fn to_boolean(&self, context: &GlobalContext) -> bool[src]

pub fn to_string(&self, context: &GlobalContext) -> Option<String>[src]

Trait Implementations

impl FromGlibPtrFull<*mut c_void> for Value[src]

impl FromGlibPtrNone<*mut c_void> for Value[src]

Auto Trait Implementations

impl !Send for Value

impl !Sync for Value

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.