pub struct V8Value(/* private fields */);Expand description
See _cef_v8_value_t for more documentation.
Trait Implementations§
Source§impl ConvertParam<*mut _cef_v8_value_t> for &V8Value
impl ConvertParam<*mut _cef_v8_value_t> for &V8Value
fn into_raw(self) -> *mut _cef_v8_value_t
Source§impl ConvertParam<*mut _cef_v8_value_t> for &mut V8Value
impl ConvertParam<*mut _cef_v8_value_t> for &mut V8Value
fn into_raw(self) -> *mut _cef_v8_value_t
Source§impl ConvertReturnValue<V8Value> for *mut _cef_v8_value_t
impl ConvertReturnValue<V8Value> for *mut _cef_v8_value_t
fn wrap_result(self) -> V8Value
Source§impl ImplV8Value for V8Value
impl ImplV8Value for V8Value
Source§fn is_valid(&self) -> c_int
fn is_valid(&self) -> c_int
See
_cef_v8_value_t::is_valid for more documentation.Source§fn is_undefined(&self) -> c_int
fn is_undefined(&self) -> c_int
See
_cef_v8_value_t::is_undefined for more documentation.Source§fn is_null(&self) -> c_int
fn is_null(&self) -> c_int
See
_cef_v8_value_t::is_null for more documentation.Source§fn is_bool(&self) -> c_int
fn is_bool(&self) -> c_int
See
_cef_v8_value_t::is_bool for more documentation.Source§fn is_int(&self) -> c_int
fn is_int(&self) -> c_int
See
_cef_v8_value_t::is_int for more documentation.Source§fn is_uint(&self) -> c_int
fn is_uint(&self) -> c_int
See
_cef_v8_value_t::is_uint for more documentation.Source§fn is_double(&self) -> c_int
fn is_double(&self) -> c_int
See
_cef_v8_value_t::is_double for more documentation.Source§fn is_date(&self) -> c_int
fn is_date(&self) -> c_int
See
_cef_v8_value_t::is_date for more documentation.Source§fn is_string(&self) -> c_int
fn is_string(&self) -> c_int
See
_cef_v8_value_t::is_string for more documentation.Source§fn is_object(&self) -> c_int
fn is_object(&self) -> c_int
See
_cef_v8_value_t::is_object for more documentation.Source§fn is_array(&self) -> c_int
fn is_array(&self) -> c_int
See
_cef_v8_value_t::is_array for more documentation.Source§fn is_array_buffer(&self) -> c_int
fn is_array_buffer(&self) -> c_int
See
_cef_v8_value_t::is_array_buffer for more documentation.Source§fn is_function(&self) -> c_int
fn is_function(&self) -> c_int
See
_cef_v8_value_t::is_function for more documentation.Source§fn is_promise(&self) -> c_int
fn is_promise(&self) -> c_int
See
_cef_v8_value_t::is_promise for more documentation.Source§fn is_same(&self, that: Option<&mut V8Value>) -> c_int
fn is_same(&self, that: Option<&mut V8Value>) -> c_int
See
_cef_v8_value_t::is_same for more documentation.Source§fn bool_value(&self) -> c_int
fn bool_value(&self) -> c_int
See
_cef_v8_value_t::get_bool_value for more documentation.Source§fn int_value(&self) -> i32
fn int_value(&self) -> i32
See
_cef_v8_value_t::get_int_value for more documentation.Source§fn uint_value(&self) -> u32
fn uint_value(&self) -> u32
See
_cef_v8_value_t::get_uint_value for more documentation.Source§fn double_value(&self) -> f64
fn double_value(&self) -> f64
See
_cef_v8_value_t::get_double_value for more documentation.Source§fn date_value(&self) -> Basetime
fn date_value(&self) -> Basetime
See
_cef_v8_value_t::get_date_value for more documentation.Source§fn string_value(&self) -> CefStringUserfree
fn string_value(&self) -> CefStringUserfree
See
_cef_v8_value_t::get_string_value for more documentation.Source§fn is_user_created(&self) -> c_int
fn is_user_created(&self) -> c_int
See
_cef_v8_value_t::is_user_created for more documentation.Source§fn has_exception(&self) -> c_int
fn has_exception(&self) -> c_int
See
_cef_v8_value_t::has_exception for more documentation.Source§fn exception(&self) -> Option<V8Exception>
fn exception(&self) -> Option<V8Exception>
See
_cef_v8_value_t::get_exception for more documentation.Source§fn clear_exception(&self) -> c_int
fn clear_exception(&self) -> c_int
See
_cef_v8_value_t::clear_exception for more documentation.Source§fn will_rethrow_exceptions(&self) -> c_int
fn will_rethrow_exceptions(&self) -> c_int
See
_cef_v8_value_t::will_rethrow_exceptions for more documentation.Source§fn set_rethrow_exceptions(&self, rethrow: c_int) -> c_int
fn set_rethrow_exceptions(&self, rethrow: c_int) -> c_int
See
_cef_v8_value_t::set_rethrow_exceptions for more documentation.Source§fn has_value_bykey(&self, key: Option<&CefString>) -> c_int
fn has_value_bykey(&self, key: Option<&CefString>) -> c_int
See
_cef_v8_value_t::has_value_bykey for more documentation.Source§fn has_value_byindex(&self, index: c_int) -> c_int
fn has_value_byindex(&self, index: c_int) -> c_int
See
_cef_v8_value_t::has_value_byindex for more documentation.Source§fn delete_value_bykey(&self, key: Option<&CefString>) -> c_int
fn delete_value_bykey(&self, key: Option<&CefString>) -> c_int
See
_cef_v8_value_t::delete_value_bykey for more documentation.Source§fn delete_value_byindex(&self, index: c_int) -> c_int
fn delete_value_byindex(&self, index: c_int) -> c_int
See
_cef_v8_value_t::delete_value_byindex for more documentation.Source§fn value_bykey(&self, key: Option<&CefString>) -> Option<V8Value>
fn value_bykey(&self, key: Option<&CefString>) -> Option<V8Value>
See
_cef_v8_value_t::get_value_bykey for more documentation.Source§fn value_byindex(&self, index: c_int) -> Option<V8Value>
fn value_byindex(&self, index: c_int) -> Option<V8Value>
See
_cef_v8_value_t::get_value_byindex for more documentation.Source§fn set_value_bykey(
&self,
key: Option<&CefString>,
value: Option<&mut V8Value>,
attribute: V8Propertyattribute,
) -> c_int
fn set_value_bykey( &self, key: Option<&CefString>, value: Option<&mut V8Value>, attribute: V8Propertyattribute, ) -> c_int
See
_cef_v8_value_t::set_value_bykey for more documentation.Source§fn set_value_byindex(&self, index: c_int, value: Option<&mut V8Value>) -> c_int
fn set_value_byindex(&self, index: c_int, value: Option<&mut V8Value>) -> c_int
See
_cef_v8_value_t::set_value_byindex for more documentation.Source§fn set_value_byaccessor(
&self,
key: Option<&CefString>,
attribute: V8Propertyattribute,
) -> c_int
fn set_value_byaccessor( &self, key: Option<&CefString>, attribute: V8Propertyattribute, ) -> c_int
See
_cef_v8_value_t::set_value_byaccessor for more documentation.Source§fn keys(&self, keys: Option<&mut CefStringList>) -> c_int
fn keys(&self, keys: Option<&mut CefStringList>) -> c_int
See
_cef_v8_value_t::get_keys for more documentation.Source§fn set_user_data(&self, user_data: Option<&mut BaseRefCounted>) -> c_int
fn set_user_data(&self, user_data: Option<&mut BaseRefCounted>) -> c_int
See
_cef_v8_value_t::set_user_data for more documentation.Source§fn user_data(&self) -> Option<BaseRefCounted>
fn user_data(&self) -> Option<BaseRefCounted>
See
_cef_v8_value_t::get_user_data for more documentation.Source§fn externally_allocated_memory(&self) -> c_int
fn externally_allocated_memory(&self) -> c_int
See
_cef_v8_value_t::get_externally_allocated_memory for more documentation.Source§fn adjust_externally_allocated_memory(&self, change_in_bytes: c_int) -> c_int
fn adjust_externally_allocated_memory(&self, change_in_bytes: c_int) -> c_int
See
_cef_v8_value_t::adjust_externally_allocated_memory for more documentation.Source§fn array_length(&self) -> c_int
fn array_length(&self) -> c_int
See
_cef_v8_value_t::get_array_length for more documentation.Source§fn array_buffer_release_callback(&self) -> Option<V8ArrayBufferReleaseCallback>
fn array_buffer_release_callback(&self) -> Option<V8ArrayBufferReleaseCallback>
See
_cef_v8_value_t::get_array_buffer_release_callback for more documentation.Source§fn neuter_array_buffer(&self) -> c_int
fn neuter_array_buffer(&self) -> c_int
See
_cef_v8_value_t::neuter_array_buffer for more documentation.Source§fn array_buffer_byte_length(&self) -> usize
fn array_buffer_byte_length(&self) -> usize
See
_cef_v8_value_t::get_array_buffer_byte_length for more documentation.Source§fn array_buffer_data(&self) -> *mut c_void
fn array_buffer_data(&self) -> *mut c_void
See
_cef_v8_value_t::get_array_buffer_data for more documentation.Source§fn function_name(&self) -> CefStringUserfree
fn function_name(&self) -> CefStringUserfree
See
_cef_v8_value_t::get_function_name for more documentation.Source§fn function_handler(&self) -> Option<V8Handler>
fn function_handler(&self) -> Option<V8Handler>
See
_cef_v8_value_t::get_function_handler for more documentation.Source§fn execute_function(
&self,
object: Option<&mut V8Value>,
arguments: Option<&[Option<V8Value>]>,
) -> Option<V8Value>
fn execute_function( &self, object: Option<&mut V8Value>, arguments: Option<&[Option<V8Value>]>, ) -> Option<V8Value>
See
_cef_v8_value_t::execute_function for more documentation.Source§fn execute_function_with_context(
&self,
context: Option<&mut V8Context>,
object: Option<&mut V8Value>,
arguments: Option<&[Option<V8Value>]>,
) -> Option<V8Value>
fn execute_function_with_context( &self, context: Option<&mut V8Context>, object: Option<&mut V8Value>, arguments: Option<&[Option<V8Value>]>, ) -> Option<V8Value>
See
_cef_v8_value_t::execute_function_with_context for more documentation.Source§fn resolve_promise(&self, arg: Option<&mut V8Value>) -> c_int
fn resolve_promise(&self, arg: Option<&mut V8Value>) -> c_int
See
_cef_v8_value_t::resolve_promise for more documentation.Source§fn reject_promise(&self, error_msg: Option<&CefString>) -> c_int
fn reject_promise(&self, error_msg: Option<&CefString>) -> c_int
See
_cef_v8_value_t::reject_promise for more documentation.fn get_raw(&self) -> *mut _cef_v8_value_t
Source§impl Rc for V8Value
impl Rc for V8Value
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for V8Value
impl RefUnwindSafe for V8Value
impl Send for V8Value
impl Sync for V8Value
impl Unpin for V8Value
impl UnwindSafe for V8Value
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more