Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Environment [−][src]
#[repr(transparent)]pub struct ICoreWebView2Environment(_);
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>,
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 ICoreWebView2Environment
impl !Send for ICoreWebView2Environment
impl !Sync for ICoreWebView2Environment
impl Unpin for ICoreWebView2Environment
impl UnwindSafe for ICoreWebView2Environment
Blanket Implementations
Mutably borrows from an owned value. Read more
type DefaultType = Option<T>
Safety