pub struct WuiV8Handler { /* private fields */ }Implementations§
Source§impl WuiV8Handler
impl WuiV8Handler
pub fn new_handler( router: Arc<RwLock<MessageRouterRendererSide>>, identifier: &String, ) -> V8Handler
Trait Implementations§
Source§impl Clone for WuiV8Handler
impl Clone for WuiV8Handler
Source§impl ImplV8Handler for WuiV8Handler
implement ACTUAL functionality of the component
impl ImplV8Handler for WuiV8Handler
implement ACTUAL functionality of the component
fn get_raw(&self) -> *mut _cef_v8_handler_t
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
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.fn init_methods(object: &mut _cef_v8_handler_t)
Source§impl Rc for WuiV8Handler
impl Rc for WuiV8Handler
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.Source§impl WrapV8Handler for WuiV8Handler
impl WrapV8Handler for WuiV8Handler
Auto Trait Implementations§
impl Freeze for WuiV8Handler
impl !RefUnwindSafe for WuiV8Handler
impl !Send for WuiV8Handler
impl !Sync for WuiV8Handler
impl Unpin for WuiV8Handler
impl !UnwindSafe for WuiV8Handler
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