[−][src]Struct javascriptcore::ValueRef
Implementations
impl ValueRef
[src]
pub fn is_boolean(&self, context: &GlobalContextRef) -> bool
[src]
pub fn is_null(&self, context: &GlobalContextRef) -> bool
[src]
pub fn is_undefined(&self, context: &GlobalContextRef) -> bool
[src]
pub fn is_number(&self, context: &GlobalContextRef) -> bool
[src]
pub fn is_string(&self, context: &GlobalContextRef) -> bool
[src]
pub fn is_object(&self, context: &GlobalContextRef) -> bool
[src]
pub fn is_array(&self, context: &GlobalContextRef) -> bool
[src]
pub fn is_date(&self, context: &GlobalContextRef) -> bool
[src]
pub fn to_number(&self, context: &GlobalContextRef) -> Option<f64>
[src]
pub fn to_boolean(&self, context: &GlobalContextRef) -> bool
[src]
pub fn to_string(&self, context: &GlobalContextRef) -> Option<String>
[src]
Trait Implementations
impl FromGlibPtrFull<*mut c_void> for ValueRef
[src]
unsafe fn from_glib_full(ptr: JSValueRef) -> Self
[src]
impl FromGlibPtrNone<*mut c_void> for ValueRef
[src]
unsafe fn from_glib_none(ptr: JSValueRef) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for ValueRef
impl !Send for ValueRef
impl !Sync for ValueRef
impl Unpin for ValueRef
impl UnwindSafe for ValueRef
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,