#[repr(C)]
pub struct ICoreWebView2ContextMenuTarget_Vtbl {
Show 14 fields pub base__: IUnknown_Vtbl, pub Kind: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_CONTEXT_MENU_TARGET_KIND) -> HRESULT, pub IsEditable: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT, pub IsRequestedForMainFrame: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT, pub PageUri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT, pub FrameUri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT, pub HasLinkUri: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT, pub LinkUri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT, pub HasLinkText: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT, pub LinkText: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT, pub HasSourceUri: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT, pub SourceUri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT, pub HasSelection: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT, pub SelectionText: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§Kind: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_CONTEXT_MENU_TARGET_KIND) -> HRESULT§IsEditable: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT§IsRequestedForMainFrame: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT§PageUri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT§FrameUri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT§HasLinkUri: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT§LinkUri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT§HasLinkText: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT§LinkText: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT§HasSourceUri: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT§SourceUri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT§HasSelection: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT§SelectionText: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT

Implementations§

source§

impl ICoreWebView2ContextMenuTarget_Vtbl

source

pub const fn new<Identity, const OFFSET: isize>() -> ICoreWebView2ContextMenuTarget_Vtbl
where Identity: ICoreWebView2ContextMenuTarget_Impl + IUnknownImpl,

source

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.