Trait ICoreWebView2ContextMenuItem_Impl

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

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§