Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Environment7 [−][src]
#[repr(transparent)]pub struct ICoreWebView2Environment7(_);
Implementations
pub unsafe fn CreateCoreWebView2Controller<'a, Param0, Param1>(
&self,
parentwindow: Param0,
handler: Param1
) -> Result<(), Error> where
Param0: IntoParam<'a, isize>,
Param1: IntoParam<'a, ICoreWebView2CreateCoreWebView2ControllerCompletedHandler>,
pub unsafe fn CreateWebResourceResponse<'a, Param0, Param2, Param3>(
&self,
content: Param0,
statuscode: i32,
reasonphrase: Param2,
headers: Param3
) -> Result<ICoreWebView2WebResourceResponse, Error> where
Param0: IntoParam<'a, IStream>,
Param2: IntoParam<'a, PWSTR>,
Param3: IntoParam<'a, PWSTR>,
pub unsafe fn NewBrowserVersionAvailable<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2NewBrowserVersionAvailableEventHandler>,
pub unsafe fn RemoveNewBrowserVersionAvailable<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn CreateWebResourceRequest<'a, Param0, Param1, Param2, Param3>(
&self,
uri: Param0,
method: Param1,
postdata: Param2,
headers: Param3
) -> Result<ICoreWebView2WebResourceRequest, Error> where
Param0: IntoParam<'a, PWSTR>,
Param1: IntoParam<'a, PWSTR>,
Param2: IntoParam<'a, IStream>,
Param3: IntoParam<'a, PWSTR>,
pub unsafe fn CreateCoreWebView2CompositionController<'a, Param0, Param1>(
&self,
parentwindow: Param0,
handler: Param1
) -> Result<(), Error> where
Param0: IntoParam<'a, isize>,
Param1: IntoParam<'a, ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler>,
pub unsafe fn GetProviderForHwnd<'a, Param0>(
&self,
hwnd: Param0
) -> Result<IUnknown, Error> where
Param0: IntoParam<'a, isize>,
pub unsafe fn BrowserProcessExited<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2BrowserProcessExitedEventHandler>,
pub unsafe fn RemoveBrowserProcessExited<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
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.
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Environment7
impl !Send for ICoreWebView2Environment7
impl !Sync for ICoreWebView2Environment7
impl Unpin for ICoreWebView2Environment7
impl UnwindSafe for ICoreWebView2Environment7
Blanket Implementations
Mutably borrows from an owned value. Read more
type DefaultType = Option<T>
Safety