#[repr(C)]pub struct _cef_run_quick_menu_callback_t {
pub base: cef_base_ref_counted_t,
pub cont: Option<unsafe extern "C" fn(self_: *mut _cef_run_quick_menu_callback_t, command_id: c_int, event_flags: cef_event_flags_t)>,
pub cancel: Option<unsafe extern "C" fn(self_: *mut _cef_run_quick_menu_callback_t)>,
}Expand description
Callback structure used for continuation of custom quick menu display.
NOTE: This struct is allocated DLL-side.
Fields§
§base: cef_base_ref_counted_tBase structure.
cont: Option<unsafe extern "C" fn(self_: *mut _cef_run_quick_menu_callback_t, command_id: c_int, event_flags: cef_event_flags_t)>Complete quick menu display by selecting the specified |command_id| and |event_flags|.
cancel: Option<unsafe extern "C" fn(self_: *mut _cef_run_quick_menu_callback_t)>Cancel quick menu display.
Trait Implementations§
Source§fn clone(&self) -> _cef_run_quick_menu_callback_t
fn clone(&self) -> _cef_run_quick_menu_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 moreAuto Trait Implementations§
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