Skip to main content

ICoreWebView2ContextMenuItem_Impl

Trait ICoreWebView2ContextMenuItem_Impl 

Source
pub trait ICoreWebView2ContextMenuItem_Impl: IUnknownImpl {
Show 13 methods // Required methods fn Name(&self) -> Result<PWSTR>; fn Label(&self) -> Result<PWSTR>; fn CommandId(&self) -> Result<i32>; fn ShortcutKeyDescription(&self) -> Result<PWSTR>; fn Icon(&self) -> Result<IStream>; fn Kind(&self) -> Result<COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND>; fn SetIsEnabled(&self, value: BOOL) -> Result<()>; fn IsEnabled(&self) -> Result<BOOL>; fn SetIsChecked(&self, value: BOOL) -> Result<()>; fn IsChecked(&self) -> Result<BOOL>; fn Children(&self) -> Result<ICoreWebView2ContextMenuItemCollection>; fn CustomItemSelected( &self, eventhandler: Ref<'_, ICoreWebView2CustomItemSelectedEventHandler>, ) -> Result<i64>; fn RemoveCustomItemSelected(&self, token: i64) -> Result<()>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§