pub struct ICoreWebView2Environment(/* private fields */);
Implementations§
Source§impl ICoreWebView2Environment
impl ICoreWebView2Environment
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<()>
Trait Implementations§
Source§impl Clone for ICoreWebView2Environment
impl Clone for ICoreWebView2Environment
Source§fn clone(&self) -> ICoreWebView2Environment
fn clone(&self) -> ICoreWebView2Environment
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 ICoreWebView2Environment
impl Debug for ICoreWebView2Environment
Source§impl From<&ICoreWebView2Environment> for IUnknown
impl From<&ICoreWebView2Environment> for IUnknown
Source§fn from(value: &ICoreWebView2Environment) -> Self
fn from(value: &ICoreWebView2Environment) -> 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<&ICoreWebView2Environment3> for ICoreWebView2Environment
impl From<&ICoreWebView2Environment3> for ICoreWebView2Environment
Source§fn from(value: &ICoreWebView2Environment3) -> Self
fn from(value: &ICoreWebView2Environment3) -> 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<ICoreWebView2Environment> for IUnknown
impl From<ICoreWebView2Environment> for IUnknown
Source§fn from(value: ICoreWebView2Environment) -> Self
fn from(value: ICoreWebView2Environment) -> 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<ICoreWebView2Environment3> for ICoreWebView2Environment
impl From<ICoreWebView2Environment3> for ICoreWebView2Environment
Source§fn from(value: ICoreWebView2Environment3) -> Self
fn from(value: ICoreWebView2Environment3) -> 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 Interface for ICoreWebView2Environment
impl Interface for ICoreWebView2Environment
const IID: Guid
type Vtable = ICoreWebView2Environment_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
Source§impl PartialEq for ICoreWebView2Environment
impl PartialEq for ICoreWebView2Environment
impl Eq for ICoreWebView2Environment
impl StructuralPartialEq for ICoreWebView2Environment
Auto Trait Implementations§
impl Freeze for ICoreWebView2Environment
impl RefUnwindSafe for ICoreWebView2Environment
impl !Send for ICoreWebView2Environment
impl !Sync for ICoreWebView2Environment
impl Unpin for ICoreWebView2Environment
impl UnwindSafe for ICoreWebView2Environment
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