Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Frame2_Vtbl
source · #[repr(C)]pub struct ICoreWebView2Frame2_Vtbl {Show 14 fields
pub base__: ICoreWebView2Frame_Vtbl,
pub add_NavigationStarting: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub remove_NavigationStarting: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
pub add_ContentLoading: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub remove_ContentLoading: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
pub add_NavigationCompleted: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub remove_NavigationCompleted: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
pub add_DOMContentLoaded: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub remove_DOMContentLoaded: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
pub ExecuteScript: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut c_void) -> HRESULT,
pub PostWebMessageAsJson: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT,
pub PostWebMessageAsString: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT,
pub add_WebMessageReceived: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub remove_WebMessageReceived: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
}
Fields§
§base__: ICoreWebView2Frame_Vtbl
§add_ContentLoading: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§remove_ContentLoading: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
§add_DOMContentLoaded: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§remove_DOMContentLoaded: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
§ExecuteScript: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut c_void) -> HRESULT
§PostWebMessageAsJson: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT
§PostWebMessageAsString: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT
§add_WebMessageReceived: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§remove_WebMessageReceived: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
Implementations§
source§impl ICoreWebView2Frame2_Vtbl
impl ICoreWebView2Frame2_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ICoreWebView2Frame2_Vtblwhere
Identity: ICoreWebView2Frame2_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ICoreWebView2Frame2_Vtbl
impl RefUnwindSafe for ICoreWebView2Frame2_Vtbl
impl Send for ICoreWebView2Frame2_Vtbl
impl Sync for ICoreWebView2Frame2_Vtbl
impl Unpin for ICoreWebView2Frame2_Vtbl
impl UnwindSafe for ICoreWebView2Frame2_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