Crate hai_js_runtime

Source

Re-exports§

pub use serde_v8;
pub use v8;

Modules§

prelude
utils

Macros§

bind_function
bind_object
bind_to_object
check_exist
check a js command parameter is not undefined, or throw to js.
get_from_v8_array
get value from v8 array by index.
get_from_v8_object
get value from v8 array by index.
get_shared_state
get_v8_number
save_to_holder
throw_exception
try_from_option_value_or_throw_exception
do type check and return Some(value), or return None
try_from_value_or_throw_exception
do type check and return value, or throw to js.
unwrap

Structs§

JSRuntime
Shared

Functions§

get_vm
setup_vm