#[repr(C)]pub struct ICoreWebView2ContextMenuItem_Vtbl {Show 14 fields
pub base__: IUnknown_Vtbl,
pub Name: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub Label: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub CommandId: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub ShortcutKeyDescription: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub Icon: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub Kind: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND) -> HRESULT,
pub SetIsEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub IsEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetIsChecked: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub IsChecked: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub Children: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub add_CustomItemSelected: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub remove_CustomItemSelected: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§Name: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
§Label: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
§CommandId: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§ShortcutKeyDescription: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
§Icon: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§Kind: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND) -> HRESULT
§SetIsEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§IsEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetIsChecked: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§IsChecked: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§Children: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§add_CustomItemSelected: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§remove_CustomItemSelected: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
Implementations§
source§impl ICoreWebView2ContextMenuItem_Vtbl
impl ICoreWebView2ContextMenuItem_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ICoreWebView2ContextMenuItem_Vtblwhere
Identity: ICoreWebView2ContextMenuItem_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ICoreWebView2ContextMenuItem_Vtbl
impl RefUnwindSafe for ICoreWebView2ContextMenuItem_Vtbl
impl Send for ICoreWebView2ContextMenuItem_Vtbl
impl Sync for ICoreWebView2ContextMenuItem_Vtbl
impl Unpin for ICoreWebView2ContextMenuItem_Vtbl
impl UnwindSafe for ICoreWebView2ContextMenuItem_Vtbl
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