ImplV8Interceptor

Trait ImplV8Interceptor 

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

    // Provided methods
    fn byname(
        &self,
        name: Option<&CefString>,
        object: Option<&mut V8Value>,
        retval: Option<&mut Option<V8Value>>,
        exception: Option<&mut CefString>,
    ) -> c_int { ... }
    fn byindex(
        &self,
        index: c_int,
        object: Option<&mut V8Value>,
        retval: Option<&mut Option<V8Value>>,
        exception: Option<&mut CefString>,
    ) -> c_int { ... }
    fn set_byname(
        &self,
        name: Option<&CefString>,
        object: Option<&mut V8Value>,
        value: Option<&mut V8Value>,
        exception: Option<&mut CefString>,
    ) -> c_int { ... }
    fn set_byindex(
        &self,
        index: c_int,
        object: Option<&mut V8Value>,
        value: Option<&mut V8Value>,
        exception: Option<&mut CefString>,
    ) -> c_int { ... }
    fn init_methods(object: &mut _cef_v8_interceptor_t) { ... }
}

Required Methods§

Provided Methods§

Source

fn byname( &self, name: Option<&CefString>, object: Option<&mut V8Value>, retval: Option<&mut Option<V8Value>>, exception: Option<&mut CefString>, ) -> c_int

See _cef_v8_interceptor_t::get_byname for more documentation.

Source

fn byindex( &self, index: c_int, object: Option<&mut V8Value>, retval: Option<&mut Option<V8Value>>, exception: Option<&mut CefString>, ) -> c_int

See _cef_v8_interceptor_t::get_byindex for more documentation.

Source

fn set_byname( &self, name: Option<&CefString>, object: Option<&mut V8Value>, value: Option<&mut V8Value>, exception: Option<&mut CefString>, ) -> c_int

See _cef_v8_interceptor_t::set_byname for more documentation.

Source

fn set_byindex( &self, index: c_int, object: Option<&mut V8Value>, value: Option<&mut V8Value>, exception: Option<&mut CefString>, ) -> c_int

See _cef_v8_interceptor_t::set_byindex for more documentation.

Source

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