pub struct ICoreWebView2Environment2(/* private fields */);
Implementations§
Source§impl ICoreWebView2Environment2
impl ICoreWebView2Environment2
pub unsafe fn CreateCoreWebView2Controller<'a>( &self, parentwindow: impl IntoParam<'a, HWND>, handler: impl IntoParam<'a, ICoreWebView2CreateCoreWebView2ControllerCompletedHandler>, ) -> Result<()>
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>
pub unsafe fn get_BrowserVersionString( &self, versioninfo: *mut PWSTR, ) -> Result<()>
pub unsafe fn add_NewBrowserVersionAvailable<'a>( &self, eventhandler: impl IntoParam<'a, ICoreWebView2NewBrowserVersionAvailableEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>
pub unsafe fn remove_NewBrowserVersionAvailable<'a>( &self, token: impl IntoParam<'a, EventRegistrationToken>, ) -> Result<()>
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>
Trait Implementations§
Source§impl Clone for ICoreWebView2Environment2
impl Clone for ICoreWebView2Environment2
Source§fn clone(&self) -> ICoreWebView2Environment2
fn clone(&self) -> ICoreWebView2Environment2
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ICoreWebView2Environment2
impl Debug for ICoreWebView2Environment2
Source§impl From<&ICoreWebView2Environment2> for ICoreWebView2Environment
impl From<&ICoreWebView2Environment2> for ICoreWebView2Environment
Source§fn from(value: &ICoreWebView2Environment2) -> Self
fn from(value: &ICoreWebView2Environment2) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Environment2> for IUnknown
impl From<&ICoreWebView2Environment2> for IUnknown
Source§fn from(value: &ICoreWebView2Environment2) -> Self
fn from(value: &ICoreWebView2Environment2) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Environment3> for ICoreWebView2Environment2
impl From<&ICoreWebView2Environment3> for ICoreWebView2Environment2
Source§fn from(value: &ICoreWebView2Environment3) -> Self
fn from(value: &ICoreWebView2Environment3) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Environment4> for ICoreWebView2Environment2
impl From<&ICoreWebView2Environment4> for ICoreWebView2Environment2
Source§fn from(value: &ICoreWebView2Environment4) -> Self
fn from(value: &ICoreWebView2Environment4) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Environment2> for ICoreWebView2Environment
impl From<ICoreWebView2Environment2> for ICoreWebView2Environment
Source§fn from(value: ICoreWebView2Environment2) -> Self
fn from(value: ICoreWebView2Environment2) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Environment2> for IUnknown
impl From<ICoreWebView2Environment2> for IUnknown
Source§fn from(value: ICoreWebView2Environment2) -> Self
fn from(value: ICoreWebView2Environment2) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Environment3> for ICoreWebView2Environment2
impl From<ICoreWebView2Environment3> for ICoreWebView2Environment2
Source§fn from(value: ICoreWebView2Environment3) -> Self
fn from(value: ICoreWebView2Environment3) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Environment4> for ICoreWebView2Environment2
impl From<ICoreWebView2Environment4> for ICoreWebView2Environment2
Source§fn from(value: ICoreWebView2Environment4) -> Self
fn from(value: ICoreWebView2Environment4) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2Environment2
impl Interface for ICoreWebView2Environment2
impl Eq for ICoreWebView2Environment2
impl StructuralPartialEq for ICoreWebView2Environment2
Auto Trait Implementations§
impl Freeze for ICoreWebView2Environment2
impl RefUnwindSafe for ICoreWebView2Environment2
impl !Send for ICoreWebView2Environment2
impl !Sync for ICoreWebView2Environment2
impl Unpin for ICoreWebView2Environment2
impl UnwindSafe for ICoreWebView2Environment2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more