Struct quickjs_runtime::esvalue::EsUndefinedValue
source · [−]pub struct EsUndefinedValue {}
Trait Implementations
sourceimpl EsValueConvertible for EsUndefinedValue
impl EsValueConvertible for EsUndefinedValue
fn as_js_value(
&mut self,
_q_ctx: &QuickJsRealmAdapter
) -> Result<JSValueRef, JsError>
fn is_undefined(&self) -> bool
fn supports_stringify(&self) -> bool
fn stringify(&self) -> Result<String, JsError>
fn to_es_value_facade(self) -> EsValueFacade where
Self: Sized + Send + 'static,
fn is_null(&self) -> bool
fn is_bool(&self) -> bool
fn get_bool(&self) -> bool
fn is_str(&self) -> bool
fn get_str(&self) -> &str
fn is_i32(&self) -> bool
fn get_i32(&self) -> i32
fn is_f64(&self) -> bool
fn get_f64(&self) -> f64
fn is_function(&self) -> bool
fn invoke_function_sync(
&self,
_args: Vec<EsValueFacade>
) -> Result<EsValueFacade, JsError>
fn invoke_function(
&self,
_args: Vec<EsValueFacade>
) -> EsValueFacadeFuture<EsValueFacade, JsError>
fn invoke_function_batch_sync(
&self,
_args: Vec<Vec<EsValueFacade>>
) -> Vec<Result<EsValueFacade, JsError>>
fn invoke_function_batch(
&self,
_args: Vec<Vec<EsValueFacade>>
) -> Result<(), JsError>
fn is_promise(&self) -> bool
fn get_promise_result_sync(&self) -> Result<EsValueFacade, EsValueFacade>
fn get_promise_result(
&self
) -> EsValueFacadeFuture<EsValueFacade, EsValueFacade>
fn add_promise_reactions(
&self,
_then: PromiseReactionType,
_catch: PromiseReactionType,
_finally: Option<Box<dyn Fn() + Send + 'static>>
) -> Result<(), JsError>
fn is_object(&self) -> bool
fn get_object(&self) -> Result<HashMap<String, EsValueFacade>, JsError>
fn is_array(&self) -> bool
fn get_array(&self) -> Result<Vec<EsValueFacade>, JsError>
fn is_error(&self) -> bool
fn get_error(&self) -> JsError
Auto Trait Implementations
impl RefUnwindSafe for EsUndefinedValue
impl Send for EsUndefinedValue
impl Sync for EsUndefinedValue
impl Unpin for EsUndefinedValue
impl UnwindSafe for EsUndefinedValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more