#[repr(transparent)]
pub struct ICoreWebView2_3(_);

Implementations§

source§

impl ICoreWebView2_3

source

pub unsafe fn Settings(&self) -> Result<ICoreWebView2Settings>

source

pub unsafe fn Source(&self, uri: *mut PWSTR) -> Result<()>

source

pub unsafe fn Navigate<P0>(&self, uri: P0) -> Result<()>where P0: IntoParam<PCWSTR>,

source

pub unsafe fn NavigateToString<P0>(&self, htmlcontent: P0) -> Result<()>where P0: IntoParam<PCWSTR>,

source

pub unsafe fn add_NavigationStarting<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2NavigationStartingEventHandler>,

source

pub unsafe fn remove_NavigationStarting( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn add_ContentLoading<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2ContentLoadingEventHandler>,

source

pub unsafe fn remove_ContentLoading( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn add_SourceChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2SourceChangedEventHandler>,

source

pub unsafe fn remove_SourceChanged( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn add_HistoryChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2HistoryChangedEventHandler>,

source

pub unsafe fn remove_HistoryChanged( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn add_NavigationCompleted<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2NavigationCompletedEventHandler>,

source

pub unsafe fn remove_NavigationCompleted( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn add_FrameNavigationStarting<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2NavigationStartingEventHandler>,

source

pub unsafe fn remove_FrameNavigationStarting( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn add_FrameNavigationCompleted<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2NavigationCompletedEventHandler>,

source

pub unsafe fn remove_FrameNavigationCompleted( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn add_ScriptDialogOpening<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2ScriptDialogOpeningEventHandler>,

source

pub unsafe fn remove_ScriptDialogOpening( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn add_PermissionRequested<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2PermissionRequestedEventHandler>,

source

pub unsafe fn remove_PermissionRequested( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn add_ProcessFailed<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2ProcessFailedEventHandler>,

source

pub unsafe fn remove_ProcessFailed( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn AddScriptToExecuteOnDocumentCreated<P0, P1>( &self, javascript: P0, handler: P1 ) -> Result<()>where P0: IntoParam<PCWSTR>, P1: IntoParam<ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler>,

source

pub unsafe fn RemoveScriptToExecuteOnDocumentCreated<P0>( &self, id: P0 ) -> Result<()>where P0: IntoParam<PCWSTR>,

source

pub unsafe fn ExecuteScript<P0, P1>( &self, javascript: P0, handler: P1 ) -> Result<()>where P0: IntoParam<PCWSTR>, P1: IntoParam<ICoreWebView2ExecuteScriptCompletedHandler>,

source

pub unsafe fn CapturePreview<P0, P1>( &self, imageformat: COREWEBVIEW2_CAPTURE_PREVIEW_IMAGE_FORMAT, imagestream: P0, handler: P1 ) -> Result<()>where P0: IntoParam<IStream>, P1: IntoParam<ICoreWebView2CapturePreviewCompletedHandler>,

source

pub unsafe fn Reload(&self) -> Result<()>

source

pub unsafe fn PostWebMessageAsJson<P0>( &self, webmessageasjson: P0 ) -> Result<()>where P0: IntoParam<PCWSTR>,

source

pub unsafe fn PostWebMessageAsString<P0>( &self, webmessageasstring: P0 ) -> Result<()>where P0: IntoParam<PCWSTR>,

source

pub unsafe fn add_WebMessageReceived<P0>( &self, handler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2WebMessageReceivedEventHandler>,

source

pub unsafe fn remove_WebMessageReceived( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn CallDevToolsProtocolMethod<P0, P1, P2>( &self, methodname: P0, parametersasjson: P1, handler: P2 ) -> Result<()>where P0: IntoParam<PCWSTR>, P1: IntoParam<PCWSTR>, P2: IntoParam<ICoreWebView2CallDevToolsProtocolMethodCompletedHandler>,

source

pub unsafe fn BrowserProcessId(&self, value: *mut u32) -> Result<()>

source

pub unsafe fn CanGoBack(&self, cangoback: *mut BOOL) -> Result<()>

source

pub unsafe fn CanGoForward(&self, cangoforward: *mut BOOL) -> Result<()>

source

pub unsafe fn GoBack(&self) -> Result<()>

source

pub unsafe fn GoForward(&self) -> Result<()>

source

pub unsafe fn GetDevToolsProtocolEventReceiver<P0>( &self, eventname: P0 ) -> Result<ICoreWebView2DevToolsProtocolEventReceiver>where P0: IntoParam<PCWSTR>,

source

pub unsafe fn Stop(&self) -> Result<()>

source

pub unsafe fn add_NewWindowRequested<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2NewWindowRequestedEventHandler>,

source

pub unsafe fn remove_NewWindowRequested( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn add_DocumentTitleChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2DocumentTitleChangedEventHandler>,

source

pub unsafe fn remove_DocumentTitleChanged( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn DocumentTitle(&self, title: *mut PWSTR) -> Result<()>

source

pub unsafe fn AddHostObjectToScript<P0>( &self, name: P0, object: *mut VARIANT ) -> Result<()>where P0: IntoParam<PCWSTR>,

source

pub unsafe fn RemoveHostObjectFromScript<P0>(&self, name: P0) -> Result<()>where P0: IntoParam<PCWSTR>,

source

pub unsafe fn OpenDevToolsWindow(&self) -> Result<()>

source

pub unsafe fn add_ContainsFullScreenElementChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2ContainsFullScreenElementChangedEventHandler>,

source

pub unsafe fn remove_ContainsFullScreenElementChanged( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn ContainsFullScreenElement( &self, containsfullscreenelement: *mut BOOL ) -> Result<()>

source

pub unsafe fn add_WebResourceRequested<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2WebResourceRequestedEventHandler>,

source

pub unsafe fn remove_WebResourceRequested( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn AddWebResourceRequestedFilter<P0>( &self, uri: P0, resourcecontext: COREWEBVIEW2_WEB_RESOURCE_CONTEXT ) -> Result<()>where P0: IntoParam<PCWSTR>,

source

pub unsafe fn RemoveWebResourceRequestedFilter<P0>( &self, uri: P0, resourcecontext: COREWEBVIEW2_WEB_RESOURCE_CONTEXT ) -> Result<()>where P0: IntoParam<PCWSTR>,

source

pub unsafe fn add_WindowCloseRequested<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2WindowCloseRequestedEventHandler>,

source

pub unsafe fn remove_WindowCloseRequested( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn add_WebResourceResponseReceived<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2WebResourceResponseReceivedEventHandler>,

source

pub unsafe fn remove_WebResourceResponseReceived( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn NavigateWithWebResourceRequest<P0>( &self, request: P0 ) -> Result<()>where P0: IntoParam<ICoreWebView2WebResourceRequest>,

source

pub unsafe fn add_DOMContentLoaded<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: IntoParam<ICoreWebView2DOMContentLoadedEventHandler>,

source

pub unsafe fn remove_DOMContentLoaded( &self, token: EventRegistrationToken ) -> Result<()>

source

pub unsafe fn CookieManager(&self) -> Result<ICoreWebView2CookieManager>

source

pub unsafe fn Environment(&self) -> Result<ICoreWebView2Environment>

source

pub unsafe fn TrySuspend<P0>(&self, handler: P0) -> Result<()>where P0: IntoParam<ICoreWebView2TrySuspendCompletedHandler>,

source

pub unsafe fn Resume(&self) -> Result<()>

source

pub unsafe fn IsSuspended(&self, issuspended: *mut BOOL) -> Result<()>

source

pub unsafe fn SetVirtualHostNameToFolderMapping<P0, P1>( &self, hostname: P0, folderpath: P1, accesskind: COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND ) -> Result<()>where P0: IntoParam<PCWSTR>, P1: IntoParam<PCWSTR>,

source

pub unsafe fn ClearVirtualHostNameToFolderMapping<P0>( &self, hostname: P0 ) -> Result<()>where P0: IntoParam<PCWSTR>,

Trait Implementations§

source§

impl Clone for ICoreWebView2_3

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl ComInterface for ICoreWebView2_3

source§

const IID: GUID = _

A unique identifier representing this interface.
source§

fn cast<T>(&self) -> Result<T, Error>where T: ComInterface,

Attempts to cast the current interface to another interface using QueryInterface. Read more
source§

fn downgrade(&self) -> Result<Weak<Self>, Error>

Attempts to create a Weak reference to this object.
source§

impl Debug for ICoreWebView2_3

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Interface for ICoreWebView2_3

§

type Vtable = ICoreWebView2_3_Vtbl

source§

fn as_raw(&self) -> *mut c_void

Returns the raw COM interface pointer. The resulting pointer continues to be owned by the Interface implementation.
source§

fn into_raw(self) -> *mut c_void

Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
source§

unsafe fn from_raw(raw: *mut c_void) -> Self

Creates an Interface by taking ownership of the raw COM interface pointer. Read more
source§

unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>

Creates an Interface that is valid so long as the raw COM interface pointer is valid. Read more
source§

impl PartialEq<ICoreWebView2_3> for ICoreWebView2_3

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for ICoreWebView2_3

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere 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 Twhere 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.