ImplV8Accessor

Trait ImplV8Accessor 

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

    // Provided methods
    fn get(
        &self,
        name: Option<&CefString>,
        object: Option<&mut V8Value>,
        retval: Option<&mut Option<V8Value>>,
        exception: Option<&mut CefString>,
    ) -> c_int { ... }
    fn set(
        &self,
        name: Option<&CefString>,
        object: Option<&mut V8Value>,
        value: Option<&mut V8Value>,
        exception: Option<&mut CefString>,
    ) -> c_int { ... }
    fn init_methods(object: &mut _cef_v8_accessor_t) { ... }
}

Required Methods§

Provided Methods§

Source

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

See _cef_v8_accessor_t::get for more documentation.

Source

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

See _cef_v8_accessor_t::set for more documentation.

Source

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