pub struct ContextMenuHandler(/* private fields */);Expand description
See _cef_context_menu_handler_t for more documentation.
Implementations§
Source§impl ContextMenuHandler
impl ContextMenuHandler
pub fn new<T>(interface: T) -> Selfwhere
T: WrapContextMenuHandler,
Trait Implementations§
Source§impl Clone for ContextMenuHandler
impl Clone for ContextMenuHandler
Source§fn clone(&self) -> ContextMenuHandler
fn clone(&self) -> ContextMenuHandler
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_context_menu_handler_t
fn into_raw(self) -> *mut _cef_context_menu_handler_t
fn wrap_result(self) -> ContextMenuHandler
Source§fn from(value: ContextMenuHandler) -> Self
fn from(value: ContextMenuHandler) -> Self
Converts to this type from the input type.
Source§impl ImplContextMenuHandler for ContextMenuHandler
impl ImplContextMenuHandler for ContextMenuHandler
See
_cef_context_menu_handler_t::on_before_context_menu for more documentation.See
_cef_context_menu_handler_t::run_context_menu for more documentation.See
_cef_context_menu_handler_t::on_context_menu_command for more documentation.See
_cef_context_menu_handler_t::on_context_menu_dismissed for more documentation.See
_cef_context_menu_handler_t::run_quick_menu for more documentation.See
_cef_context_menu_handler_t::on_quick_menu_command for more documentation.See
_cef_context_menu_handler_t::on_quick_menu_dismissed for more documentation.fn get_raw(&self) -> *mut _cef_context_menu_handler_t
fn init_methods(object: &mut _cef_context_menu_handler_t)
Source§impl Rc for ContextMenuHandler
impl Rc for ContextMenuHandler
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 ContextMenuHandler
impl RefUnwindSafe for ContextMenuHandler
impl Send for ContextMenuHandler
impl Sync for ContextMenuHandler
impl Unpin for ContextMenuHandler
impl UnwindSafe for ContextMenuHandler
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