pub trait ICoreWebView2ContextMenuItemCollection_Impl: IUnknownImpl {
// Required methods
fn Count(&self, value: *mut u32) -> Result<(), Error>;
fn GetValueAtIndex(
&self,
index: u32,
) -> Result<ICoreWebView2ContextMenuItem, Error>;
fn RemoveValueAtIndex(&self, index: u32) -> Result<(), Error>;
fn InsertValueAtIndex(
&self,
index: u32,
value: Ref<'_, ICoreWebView2ContextMenuItem>,
) -> Result<(), Error>;
}
Required Methods§
fn Count(&self, value: *mut u32) -> Result<(), Error>
fn GetValueAtIndex( &self, index: u32, ) -> Result<ICoreWebView2ContextMenuItem, Error>
fn RemoveValueAtIndex(&self, index: u32) -> Result<(), Error>
fn InsertValueAtIndex( &self, index: u32, value: Ref<'_, ICoreWebView2ContextMenuItem>, ) -> Result<(), Error>
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.