pub struct ICoreWebView2Environment4(/* private fields */);
Implementations§
Source§impl ICoreWebView2Environment4
impl ICoreWebView2Environment4
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>
pub unsafe fn CreateCoreWebView2CompositionController<'a>( &self, parentwindow: impl IntoParam<'a, HWND>, handler: impl IntoParam<'a, ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler>, ) -> Result<()>
pub unsafe fn CreateCoreWebView2PointerInfo( &self, ) -> Result<ICoreWebView2PointerInfo>
pub unsafe fn GetProviderForHwnd<'a>( &self, hwnd: impl IntoParam<'a, HWND>, ) -> Result<IUnknown>
Trait Implementations§
Source§impl Clone for ICoreWebView2Environment4
impl Clone for ICoreWebView2Environment4
Source§fn clone(&self) -> ICoreWebView2Environment4
fn clone(&self) -> ICoreWebView2Environment4
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 ICoreWebView2Environment4
impl Debug for ICoreWebView2Environment4
Source§impl From<&ICoreWebView2Environment4> for ICoreWebView2Environment
impl From<&ICoreWebView2Environment4> for ICoreWebView2Environment
Source§fn from(value: &ICoreWebView2Environment4) -> Self
fn from(value: &ICoreWebView2Environment4) -> 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<&ICoreWebView2Environment4> for ICoreWebView2Environment3
impl From<&ICoreWebView2Environment4> for ICoreWebView2Environment3
Source§fn from(value: &ICoreWebView2Environment4) -> Self
fn from(value: &ICoreWebView2Environment4) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Environment4> for IUnknown
impl From<&ICoreWebView2Environment4> for IUnknown
Source§fn from(value: &ICoreWebView2Environment4) -> Self
fn from(value: &ICoreWebView2Environment4) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Environment4> for ICoreWebView2Environment
impl From<ICoreWebView2Environment4> for ICoreWebView2Environment
Source§fn from(value: ICoreWebView2Environment4) -> Self
fn from(value: ICoreWebView2Environment4) -> 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<ICoreWebView2Environment4> for ICoreWebView2Environment3
impl From<ICoreWebView2Environment4> for ICoreWebView2Environment3
Source§fn from(value: ICoreWebView2Environment4) -> Self
fn from(value: ICoreWebView2Environment4) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Environment4> for IUnknown
impl From<ICoreWebView2Environment4> for IUnknown
Source§fn from(value: ICoreWebView2Environment4) -> Self
fn from(value: ICoreWebView2Environment4) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2Environment4
impl Interface for ICoreWebView2Environment4
const IID: Guid
type Vtable = ICoreWebView2Environment4_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
impl Eq for ICoreWebView2Environment4
impl StructuralPartialEq for ICoreWebView2Environment4
Auto Trait Implementations§
impl Freeze for ICoreWebView2Environment4
impl RefUnwindSafe for ICoreWebView2Environment4
impl !Send for ICoreWebView2Environment4
impl !Sync for ICoreWebView2Environment4
impl Unpin for ICoreWebView2Environment4
impl UnwindSafe for ICoreWebView2Environment4
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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