#[repr(C)]pub struct _cef_file_dialog_callback_t {
pub base: cef_base_ref_counted_t,
pub cont: Option<unsafe extern "C" fn(self_: *mut _cef_file_dialog_callback_t, file_paths: cef_string_list_t)>,
pub cancel: Option<unsafe extern "C" fn(self_: *mut _cef_file_dialog_callback_t)>,
}Expand description
Callback structure for asynchronous continuation of file dialog requests.
NOTE: This struct is allocated DLL-side.
Fields§
§base: cef_base_ref_counted_tBase structure.
cont: Option<unsafe extern "C" fn(self_: *mut _cef_file_dialog_callback_t, file_paths: cef_string_list_t)>Continue the file selection. |file_paths| should be a single value or a list of values depending on the dialog mode. An NULL |file_paths| value is treated the same as calling cancel().
cancel: Option<unsafe extern "C" fn(self_: *mut _cef_file_dialog_callback_t)>Cancel the file selection.
Trait Implementations§
Source§impl Clone for _cef_file_dialog_callback_t
impl Clone for _cef_file_dialog_callback_t
Source§fn clone(&self) -> _cef_file_dialog_callback_t
fn clone(&self) -> _cef_file_dialog_callback_t
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 Debug for _cef_file_dialog_callback_t
impl Debug for _cef_file_dialog_callback_t
impl Copy for _cef_file_dialog_callback_t
Auto Trait Implementations§
impl Freeze for _cef_file_dialog_callback_t
impl RefUnwindSafe for _cef_file_dialog_callback_t
impl Send for _cef_file_dialog_callback_t
impl Sync for _cef_file_dialog_callback_t
impl Unpin for _cef_file_dialog_callback_t
impl UnwindSafe for _cef_file_dialog_callback_t
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