pub struct ContextMenuParams(/* private fields */);Expand description
See _cef_context_menu_params_t for more documentation.
Trait Implementations§
Source§impl Clone for ContextMenuParams
impl Clone for ContextMenuParams
Source§fn clone(&self) -> ContextMenuParams
fn clone(&self) -> ContextMenuParams
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_params_t
fn into_raw(self) -> *mut _cef_context_menu_params_t
fn wrap_result(self) -> ContextMenuParams
Source§fn from(value: ContextMenuParams) -> Self
fn from(value: ContextMenuParams) -> Self
Converts to this type from the input type.
Source§impl ImplContextMenuParams for ContextMenuParams
impl ImplContextMenuParams for ContextMenuParams
Source§fn xcoord(&self) -> c_int
fn xcoord(&self) -> c_int
See
_cef_context_menu_params_t::get_xcoord for more documentation.Source§fn ycoord(&self) -> c_int
fn ycoord(&self) -> c_int
See
_cef_context_menu_params_t::get_ycoord for more documentation.Source§fn type_flags(&self) -> ContextMenuTypeFlags
fn type_flags(&self) -> ContextMenuTypeFlags
See
_cef_context_menu_params_t::get_type_flags for more documentation.Source§fn link_url(&self) -> CefStringUserfree
fn link_url(&self) -> CefStringUserfree
See
_cef_context_menu_params_t::get_link_url for more documentation.Source§fn unfiltered_link_url(&self) -> CefStringUserfree
fn unfiltered_link_url(&self) -> CefStringUserfree
See
_cef_context_menu_params_t::get_unfiltered_link_url for more documentation.Source§fn source_url(&self) -> CefStringUserfree
fn source_url(&self) -> CefStringUserfree
See
_cef_context_menu_params_t::get_source_url for more documentation.Source§fn has_image_contents(&self) -> c_int
fn has_image_contents(&self) -> c_int
See
_cef_context_menu_params_t::has_image_contents for more documentation.Source§fn title_text(&self) -> CefStringUserfree
fn title_text(&self) -> CefStringUserfree
See
_cef_context_menu_params_t::get_title_text for more documentation.Source§fn page_url(&self) -> CefStringUserfree
fn page_url(&self) -> CefStringUserfree
See
_cef_context_menu_params_t::get_page_url for more documentation.Source§fn frame_url(&self) -> CefStringUserfree
fn frame_url(&self) -> CefStringUserfree
See
_cef_context_menu_params_t::get_frame_url for more documentation.Source§fn frame_charset(&self) -> CefStringUserfree
fn frame_charset(&self) -> CefStringUserfree
See
_cef_context_menu_params_t::get_frame_charset for more documentation.Source§fn media_type(&self) -> ContextMenuMediaType
fn media_type(&self) -> ContextMenuMediaType
See
_cef_context_menu_params_t::get_media_type for more documentation.Source§fn media_state_flags(&self) -> ContextMenuMediaStateFlags
fn media_state_flags(&self) -> ContextMenuMediaStateFlags
See
_cef_context_menu_params_t::get_media_state_flags for more documentation.Source§fn selection_text(&self) -> CefStringUserfree
fn selection_text(&self) -> CefStringUserfree
See
_cef_context_menu_params_t::get_selection_text for more documentation.Source§fn misspelled_word(&self) -> CefStringUserfree
fn misspelled_word(&self) -> CefStringUserfree
See
_cef_context_menu_params_t::get_misspelled_word for more documentation.Source§fn dictionary_suggestions(
&self,
suggestions: Option<&mut CefStringList>,
) -> c_int
fn dictionary_suggestions( &self, suggestions: Option<&mut CefStringList>, ) -> c_int
See
_cef_context_menu_params_t::get_dictionary_suggestions for more documentation.Source§fn is_editable(&self) -> c_int
fn is_editable(&self) -> c_int
See
_cef_context_menu_params_t::is_editable for more documentation.Source§fn is_spell_check_enabled(&self) -> c_int
fn is_spell_check_enabled(&self) -> c_int
See
_cef_context_menu_params_t::is_spell_check_enabled for more documentation.Source§fn edit_state_flags(&self) -> ContextMenuEditStateFlags
fn edit_state_flags(&self) -> ContextMenuEditStateFlags
See
_cef_context_menu_params_t::get_edit_state_flags for more documentation.See
_cef_context_menu_params_t::is_custom_menu for more documentation.fn get_raw(&self) -> *mut _cef_context_menu_params_t
Source§impl Rc for ContextMenuParams
impl Rc for ContextMenuParams
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 ContextMenuParams
impl RefUnwindSafe for ContextMenuParams
impl Send for ContextMenuParams
impl Sync for ContextMenuParams
impl Unpin for ContextMenuParams
impl UnwindSafe for ContextMenuParams
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