pub struct V8Interceptor(/* private fields */);Expand description
See _cef_v8_interceptor_t for more documentation.
Implementations§
Source§impl V8Interceptor
impl V8Interceptor
pub fn new<T>(interface: T) -> Selfwhere
T: WrapV8Interceptor,
Trait Implementations§
Source§impl Clone for V8Interceptor
impl Clone for V8Interceptor
Source§fn clone(&self) -> V8Interceptor
fn clone(&self) -> V8Interceptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConvertParam<*mut _cef_v8_interceptor_t> for &V8Interceptor
impl ConvertParam<*mut _cef_v8_interceptor_t> for &V8Interceptor
fn into_raw(self) -> *mut _cef_v8_interceptor_t
Source§impl ConvertParam<*mut _cef_v8_interceptor_t> for &mut V8Interceptor
impl ConvertParam<*mut _cef_v8_interceptor_t> for &mut V8Interceptor
fn into_raw(self) -> *mut _cef_v8_interceptor_t
Source§impl ConvertReturnValue<V8Interceptor> for *mut _cef_v8_interceptor_t
impl ConvertReturnValue<V8Interceptor> for *mut _cef_v8_interceptor_t
fn wrap_result(self) -> V8Interceptor
Source§impl From<V8Interceptor> for *mut _cef_v8_interceptor_t
impl From<V8Interceptor> for *mut _cef_v8_interceptor_t
Source§fn from(value: V8Interceptor) -> Self
fn from(value: V8Interceptor) -> Self
Converts to this type from the input type.
Source§impl ImplV8Interceptor for V8Interceptor
impl ImplV8Interceptor for V8Interceptor
Source§fn 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.Source§fn 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.Source§fn 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.Source§fn 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 get_raw(&self) -> *mut _cef_v8_interceptor_t
fn init_methods(object: &mut _cef_v8_interceptor_t)
Source§impl Rc for V8Interceptor
impl Rc for V8Interceptor
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for V8Interceptor
impl RefUnwindSafe for V8Interceptor
impl Send for V8Interceptor
impl Sync for V8Interceptor
impl Unpin for V8Interceptor
impl UnwindSafe for V8Interceptor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more