pub struct RunContextMenuCallback(/* private fields */);Expand description
See _cef_run_context_menu_callback_t for more documentation.
Trait Implementations§
Source§impl Clone for RunContextMenuCallback
impl Clone for RunContextMenuCallback
Source§fn clone(&self) -> RunContextMenuCallback
fn clone(&self) -> RunContextMenuCallback
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 morefn into_raw(self) -> *mut _cef_run_context_menu_callback_t
fn into_raw(self) -> *mut _cef_run_context_menu_callback_t
fn wrap_result(self) -> RunContextMenuCallback
Source§fn from(value: RunContextMenuCallback) -> Self
fn from(value: RunContextMenuCallback) -> Self
Converts to this type from the input type.
Source§impl ImplRunContextMenuCallback for RunContextMenuCallback
impl ImplRunContextMenuCallback for RunContextMenuCallback
Source§fn cont(&self, command_id: c_int, event_flags: EventFlags)
fn cont(&self, command_id: c_int, event_flags: EventFlags)
See
_cef_run_context_menu_callback_t::cont for more documentation.Source§fn cancel(&self)
fn cancel(&self)
See
_cef_run_context_menu_callback_t::cancel for more documentation.fn get_raw(&self) -> *mut _cef_run_context_menu_callback_t
Source§impl Rc for RunContextMenuCallback
impl Rc for RunContextMenuCallback
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 RunContextMenuCallback
impl RefUnwindSafe for RunContextMenuCallback
impl Send for RunContextMenuCallback
impl Sync for RunContextMenuCallback
impl Unpin for RunContextMenuCallback
impl UnwindSafe for RunContextMenuCallback
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