ImplV8Value

Trait ImplV8Value 

Source
pub trait ImplV8Value:
    Clone
    + Sized
    + Rc {
Show 53 methods // Required methods fn is_valid(&self) -> c_int; fn is_undefined(&self) -> c_int; fn is_null(&self) -> c_int; fn is_bool(&self) -> c_int; fn is_int(&self) -> c_int; fn is_uint(&self) -> c_int; fn is_double(&self) -> c_int; fn is_date(&self) -> c_int; fn is_string(&self) -> c_int; fn is_object(&self) -> c_int; fn is_array(&self) -> c_int; fn is_array_buffer(&self) -> c_int; fn is_function(&self) -> c_int; fn is_promise(&self) -> c_int; fn is_same(&self, that: Option<&mut V8Value>) -> c_int; fn bool_value(&self) -> c_int; fn int_value(&self) -> i32; fn uint_value(&self) -> u32; fn double_value(&self) -> f64; fn date_value(&self) -> Basetime; fn string_value(&self) -> CefStringUserfree; fn is_user_created(&self) -> c_int; fn has_exception(&self) -> c_int; fn exception(&self) -> Option<V8Exception>; fn clear_exception(&self) -> c_int; fn will_rethrow_exceptions(&self) -> c_int; fn set_rethrow_exceptions(&self, rethrow: c_int) -> c_int; fn has_value_bykey(&self, key: Option<&CefString>) -> c_int; fn has_value_byindex(&self, index: c_int) -> c_int; fn delete_value_bykey(&self, key: Option<&CefString>) -> c_int; fn delete_value_byindex(&self, index: c_int) -> c_int; fn value_bykey(&self, key: Option<&CefString>) -> Option<V8Value>; fn value_byindex(&self, index: c_int) -> Option<V8Value>; fn set_value_bykey( &self, key: Option<&CefString>, value: Option<&mut V8Value>, attribute: V8Propertyattribute, ) -> c_int; fn set_value_byindex( &self, index: c_int, value: Option<&mut V8Value>, ) -> c_int; fn set_value_byaccessor( &self, key: Option<&CefString>, attribute: V8Propertyattribute, ) -> c_int; fn keys(&self, keys: Option<&mut CefStringList>) -> c_int; fn set_user_data(&self, user_data: Option<&mut BaseRefCounted>) -> c_int; fn user_data(&self) -> Option<BaseRefCounted>; fn externally_allocated_memory(&self) -> c_int; fn adjust_externally_allocated_memory( &self, change_in_bytes: c_int, ) -> c_int; fn array_length(&self) -> c_int; fn array_buffer_release_callback( &self, ) -> Option<V8ArrayBufferReleaseCallback>; fn neuter_array_buffer(&self) -> c_int; fn array_buffer_byte_length(&self) -> usize; fn array_buffer_data(&self) -> *mut c_void; fn function_name(&self) -> CefStringUserfree; fn function_handler(&self) -> Option<V8Handler>; fn execute_function( &self, 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>; fn resolve_promise(&self, arg: Option<&mut V8Value>) -> c_int; fn reject_promise(&self, error_msg: Option<&CefString>) -> c_int; fn get_raw(&self) -> *mut _cef_v8_value_t;
}

Required Methods§

Source

fn is_valid(&self) -> c_int

See _cef_v8_value_t::is_valid for more documentation.

Source

fn is_undefined(&self) -> c_int

See _cef_v8_value_t::is_undefined for more documentation.

Source

fn is_null(&self) -> c_int

See _cef_v8_value_t::is_null for more documentation.

Source

fn is_bool(&self) -> c_int

See _cef_v8_value_t::is_bool for more documentation.

Source

fn is_int(&self) -> c_int

See _cef_v8_value_t::is_int for more documentation.

Source

fn is_uint(&self) -> c_int

See _cef_v8_value_t::is_uint for more documentation.

Source

fn is_double(&self) -> c_int

See _cef_v8_value_t::is_double for more documentation.

Source

fn is_date(&self) -> c_int

See _cef_v8_value_t::is_date for more documentation.

Source

fn is_string(&self) -> c_int

See _cef_v8_value_t::is_string for more documentation.

Source

fn is_object(&self) -> c_int

See _cef_v8_value_t::is_object for more documentation.

Source

fn is_array(&self) -> c_int

See _cef_v8_value_t::is_array for more documentation.

Source

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

See _cef_v8_value_t::is_function for more documentation.

Source

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

See _cef_v8_value_t::is_same for more documentation.

Source

fn bool_value(&self) -> c_int

See _cef_v8_value_t::get_bool_value for more documentation.

Source

fn int_value(&self) -> i32

See _cef_v8_value_t::get_int_value for more documentation.

Source

fn uint_value(&self) -> u32

See _cef_v8_value_t::get_uint_value for more documentation.

Source

fn double_value(&self) -> f64

See _cef_v8_value_t::get_double_value for more documentation.

Source

fn date_value(&self) -> Basetime

See _cef_v8_value_t::get_date_value for more documentation.

Source

fn string_value(&self) -> CefStringUserfree

See _cef_v8_value_t::get_string_value for more documentation.

Source

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

See _cef_v8_value_t::has_exception for more documentation.

Source

fn exception(&self) -> Option<V8Exception>

See _cef_v8_value_t::get_exception for more documentation.

Source

fn clear_exception(&self) -> c_int

See _cef_v8_value_t::clear_exception for more documentation.

Source

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

See _cef_v8_value_t::set_rethrow_exceptions for more documentation.

Source

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

See _cef_v8_value_t::has_value_byindex for more documentation.

Source

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

See _cef_v8_value_t::delete_value_byindex for more documentation.

Source

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>

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

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

See _cef_v8_value_t::set_value_byindex for more documentation.

Source

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

See _cef_v8_value_t::get_keys for more documentation.

Source

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>

See _cef_v8_value_t::get_user_data for more documentation.

Source

fn externally_allocated_memory(&self) -> c_int

Source

fn adjust_externally_allocated_memory(&self, change_in_bytes: c_int) -> c_int

Source

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>

Source

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

Source

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

See _cef_v8_value_t::get_function_name for more documentation.

Source

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>

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>

Source

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

See _cef_v8_value_t::reject_promise for more documentation.

Source

fn get_raw(&self) -> *mut _cef_v8_value_t

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§