Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Environment2 [−][src]
#[repr(transparent)]pub struct ICoreWebView2Environment2(_);Implementations
pub unsafe fn CreateCoreWebView2Controller<'a>(
&self,
parentwindow: impl IntoParam<'a, HWND>,
handler: impl IntoParam<'a, ICoreWebView2CreateCoreWebView2ControllerCompletedHandler>
) -> Result<(), Error>
pub unsafe fn CreateWebResourceResponse<'a>(
&self,
content: impl IntoParam<'a, IStream>,
statuscode: i32,
reasonphrase: impl IntoParam<'a, PWSTR>,
headers: impl IntoParam<'a, PWSTR>
) -> Result<ICoreWebView2WebResourceResponse, Error>
pub unsafe fn add_NewBrowserVersionAvailable<'a>(
&self,
eventhandler: impl IntoParam<'a, ICoreWebView2NewBrowserVersionAvailableEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>
pub unsafe fn remove_NewBrowserVersionAvailable<'a>(
&self,
token: impl IntoParam<'a, EventRegistrationToken>
) -> Result<(), Error>
pub unsafe fn CreateWebResourceRequest<'a>(
&self,
uri: impl IntoParam<'a, PWSTR>,
method: impl IntoParam<'a, PWSTR>,
postdata: impl IntoParam<'a, IStream>,
headers: impl IntoParam<'a, PWSTR>
) -> Result<ICoreWebView2WebResourceRequest, Error>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
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 ICoreWebView2Environment2
impl !Send for ICoreWebView2Environment2
impl !Sync for ICoreWebView2Environment2
impl Unpin for ICoreWebView2Environment2
impl UnwindSafe for ICoreWebView2Environment2
Blanket Implementations
type DefaultType = Option<T>
Converts from Self::DefaultType to Result<T>.
Returns a pointer for setting the object’s value via an ABI call.
Mutably borrows from an owned value. Read more