ImplV8Handler

Trait ImplV8Handler 

Source
pub trait ImplV8Handler:
    Clone
    + Sized
    + Rc {
    // Required method
    fn get_raw(&self) -> *mut _cef_v8_handler_t;

    // Provided methods
    fn execute(
        &self,
        name: Option<&CefString>,
        object: Option<&mut V8Value>,
        arguments: Option<&[Option<V8Value>]>,
        retval: Option<&mut Option<V8Value>>,
        exception: Option<&mut CefString>,
    ) -> c_int { ... }
    fn init_methods(object: &mut _cef_v8_handler_t) { ... }
}

Required Methods§

Provided Methods§

Source

fn execute( &self, name: Option<&CefString>, object: Option<&mut V8Value>, arguments: Option<&[Option<V8Value>]>, retval: Option<&mut Option<V8Value>>, exception: Option<&mut CefString>, ) -> c_int

See _cef_v8_handler_t::execute for more documentation.

Source

fn init_methods(object: &mut _cef_v8_handler_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§