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§
fn get_raw(&self) -> *mut _cef_v8_interceptor_t
Provided Methods§
Sourcefn byname(
&self,
name: Option<&CefString>,
object: Option<&mut V8Value>,
retval: Option<&mut Option<V8Value>>,
exception: Option<&mut CefString>,
) -> c_int
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.
Sourcefn byindex(
&self,
index: c_int,
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
See _cef_v8_interceptor_t::get_byindex for more documentation.
Sourcefn set_byname(
&self,
name: Option<&CefString>,
object: Option<&mut V8Value>,
value: Option<&mut 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
See _cef_v8_interceptor_t::set_byname for more documentation.
Sourcefn set_byindex(
&self,
index: c_int,
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
See _cef_v8_interceptor_t::set_byindex for more documentation.
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.