Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Environment5 [−][src]
#[repr(transparent)]pub struct ICoreWebView2Environment5(pub IUnknown);
Tuple Fields
0: IUnknown
Implementations
pub unsafe fn CreateCoreWebView2Controller<'a, Param0: IntoParam<'a, HWND>, Param1: IntoParam<'a, ICoreWebView2CreateCoreWebView2ControllerCompletedHandler>>(
&self,
parentwindow: Param0,
handler: Param1
) -> Result<()>
pub unsafe fn CreateWebResourceResponse<'a, Param0: IntoParam<'a, IStream>, Param2: IntoParam<'a, PWSTR>, Param3: IntoParam<'a, PWSTR>>(
&self,
content: Param0,
statuscode: i32,
reasonphrase: Param2,
headers: Param3
) -> Result<ICoreWebView2WebResourceResponse>
pub unsafe fn NewBrowserVersionAvailable<'a, Param0: IntoParam<'a, ICoreWebView2NewBrowserVersionAvailableEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveNewBrowserVersionAvailable<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn CreateWebResourceRequest<'a, Param0: IntoParam<'a, PWSTR>, Param1: IntoParam<'a, PWSTR>, Param2: IntoParam<'a, IStream>, Param3: IntoParam<'a, PWSTR>>(
&self,
uri: Param0,
method: Param1,
postdata: Param2,
headers: Param3
) -> Result<ICoreWebView2WebResourceRequest>
pub unsafe fn CreateCoreWebView2CompositionController<'a, Param0: IntoParam<'a, HWND>, Param1: IntoParam<'a, ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler>>(
&self,
parentwindow: Param0,
handler: Param1
) -> Result<()>
pub unsafe fn GetProviderForHwnd<'a, Param0: IntoParam<'a, HWND>>(
&self,
hwnd: Param0
) -> Result<IUnknown>
pub unsafe fn BrowserProcessExited<'a, Param0: IntoParam<'a, ICoreWebView2BrowserProcessExitedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveBrowserProcessExited<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Environment5
impl !Send for ICoreWebView2Environment5
impl !Sync for ICoreWebView2Environment5
impl Unpin for ICoreWebView2Environment5
impl UnwindSafe for ICoreWebView2Environment5
Blanket Implementations
Mutably borrows from an owned value. Read more
type DefaultType = Option<T>
Safety