pub struct DialogHandler(/* private fields */);Expand description
See _cef_dialog_handler_t for more documentation.
Implementations§
Source§impl DialogHandler
impl DialogHandler
pub fn new<T>(interface: T) -> Selfwhere
T: WrapDialogHandler,
Trait Implementations§
Source§impl Clone for DialogHandler
impl Clone for DialogHandler
Source§fn clone(&self) -> DialogHandler
fn clone(&self) -> DialogHandler
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_dialog_handler_t> for &DialogHandler
impl ConvertParam<*mut _cef_dialog_handler_t> for &DialogHandler
fn into_raw(self) -> *mut _cef_dialog_handler_t
Source§impl ConvertParam<*mut _cef_dialog_handler_t> for &mut DialogHandler
impl ConvertParam<*mut _cef_dialog_handler_t> for &mut DialogHandler
fn into_raw(self) -> *mut _cef_dialog_handler_t
Source§impl ConvertReturnValue<DialogHandler> for *mut _cef_dialog_handler_t
impl ConvertReturnValue<DialogHandler> for *mut _cef_dialog_handler_t
fn wrap_result(self) -> DialogHandler
Source§impl From<DialogHandler> for *mut _cef_dialog_handler_t
impl From<DialogHandler> for *mut _cef_dialog_handler_t
Source§fn from(value: DialogHandler) -> Self
fn from(value: DialogHandler) -> Self
Converts to this type from the input type.
Source§impl ImplDialogHandler for DialogHandler
impl ImplDialogHandler for DialogHandler
Source§fn on_file_dialog(
&self,
browser: Option<&mut Browser>,
mode: FileDialogMode,
title: Option<&CefString>,
default_file_path: Option<&CefString>,
accept_filters: Option<&mut CefStringList>,
accept_extensions: Option<&mut CefStringList>,
accept_descriptions: Option<&mut CefStringList>,
callback: Option<&mut FileDialogCallback>,
) -> c_int
fn on_file_dialog( &self, browser: Option<&mut Browser>, mode: FileDialogMode, title: Option<&CefString>, default_file_path: Option<&CefString>, accept_filters: Option<&mut CefStringList>, accept_extensions: Option<&mut CefStringList>, accept_descriptions: Option<&mut CefStringList>, callback: Option<&mut FileDialogCallback>, ) -> c_int
See
_cef_dialog_handler_t::on_file_dialog for more documentation.fn get_raw(&self) -> *mut _cef_dialog_handler_t
fn init_methods(object: &mut _cef_dialog_handler_t)
Source§impl Rc for DialogHandler
impl Rc for DialogHandler
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 DialogHandler
impl RefUnwindSafe for DialogHandler
impl Send for DialogHandler
impl Sync for DialogHandler
impl Unpin for DialogHandler
impl UnwindSafe for DialogHandler
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