pub struct JsdialogHandler(/* private fields */);Expand description
See _cef_jsdialog_handler_t for more documentation.
Implementations§
Source§impl JsdialogHandler
impl JsdialogHandler
pub fn new<T>(interface: T) -> Selfwhere
T: WrapJsdialogHandler,
Trait Implementations§
Source§impl Clone for JsdialogHandler
impl Clone for JsdialogHandler
Source§fn clone(&self) -> JsdialogHandler
fn clone(&self) -> JsdialogHandler
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_jsdialog_handler_t> for &JsdialogHandler
impl ConvertParam<*mut _cef_jsdialog_handler_t> for &JsdialogHandler
fn into_raw(self) -> *mut _cef_jsdialog_handler_t
Source§impl ConvertParam<*mut _cef_jsdialog_handler_t> for &mut JsdialogHandler
impl ConvertParam<*mut _cef_jsdialog_handler_t> for &mut JsdialogHandler
fn into_raw(self) -> *mut _cef_jsdialog_handler_t
Source§impl ConvertReturnValue<JsdialogHandler> for *mut _cef_jsdialog_handler_t
impl ConvertReturnValue<JsdialogHandler> for *mut _cef_jsdialog_handler_t
fn wrap_result(self) -> JsdialogHandler
Source§impl From<JsdialogHandler> for *mut _cef_jsdialog_handler_t
impl From<JsdialogHandler> for *mut _cef_jsdialog_handler_t
Source§fn from(value: JsdialogHandler) -> Self
fn from(value: JsdialogHandler) -> Self
Converts to this type from the input type.
Source§impl ImplJsdialogHandler for JsdialogHandler
impl ImplJsdialogHandler for JsdialogHandler
Source§fn on_jsdialog(
&self,
browser: Option<&mut Browser>,
origin_url: Option<&CefString>,
dialog_type: JsdialogType,
message_text: Option<&CefString>,
default_prompt_text: Option<&CefString>,
callback: Option<&mut JsdialogCallback>,
suppress_message: Option<&mut c_int>,
) -> c_int
fn on_jsdialog( &self, browser: Option<&mut Browser>, origin_url: Option<&CefString>, dialog_type: JsdialogType, message_text: Option<&CefString>, default_prompt_text: Option<&CefString>, callback: Option<&mut JsdialogCallback>, suppress_message: Option<&mut c_int>, ) -> c_int
See
_cef_jsdialog_handler_t::on_jsdialog for more documentation.Source§fn on_before_unload_dialog(
&self,
browser: Option<&mut Browser>,
message_text: Option<&CefString>,
is_reload: c_int,
callback: Option<&mut JsdialogCallback>,
) -> c_int
fn on_before_unload_dialog( &self, browser: Option<&mut Browser>, message_text: Option<&CefString>, is_reload: c_int, callback: Option<&mut JsdialogCallback>, ) -> c_int
See
_cef_jsdialog_handler_t::on_before_unload_dialog for more documentation.Source§fn on_reset_dialog_state(&self, browser: Option<&mut Browser>)
fn on_reset_dialog_state(&self, browser: Option<&mut Browser>)
See
_cef_jsdialog_handler_t::on_reset_dialog_state for more documentation.Source§fn on_dialog_closed(&self, browser: Option<&mut Browser>)
fn on_dialog_closed(&self, browser: Option<&mut Browser>)
See
_cef_jsdialog_handler_t::on_dialog_closed for more documentation.fn get_raw(&self) -> *mut _cef_jsdialog_handler_t
fn init_methods(object: &mut _cef_jsdialog_handler_t)
Source§impl Rc for JsdialogHandler
impl Rc for JsdialogHandler
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 JsdialogHandler
impl RefUnwindSafe for JsdialogHandler
impl Send for JsdialogHandler
impl Sync for JsdialogHandler
impl Unpin for JsdialogHandler
impl UnwindSafe for JsdialogHandler
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