Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Environment5
source · [−]#[repr(transparent)]pub struct ICoreWebView2Environment5(_);
Implementations
sourceimpl ICoreWebView2Environment5
impl ICoreWebView2Environment5
pub unsafe fn CreateCoreWebView2Controller<'a, Param0, Param1>(
&self,
parentwindow: Param0,
handler: Param1
) -> Result<(), Error> where
Param0: IntoParam<'a, HWND>,
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 BrowserVersionString(
&self,
versioninfo: *mut PWSTR
) -> Result<(), Error>
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>,
pub unsafe fn CreateWebResourceRequest<'a, Param0, Param1, Param2, Param3>(
&self,
uri: Param0,
method: Param1,
postdata: Param2,
headers: Param3
) -> Result<ICoreWebView2WebResourceRequest, Error> where
Param0: IntoParam<'a, PWSTR>,
Param1: IntoParam<'a, PWSTR>,
Param2: IntoParam<'a, IStream>,
Param3: IntoParam<'a, PWSTR>,
pub unsafe fn CreateCoreWebView2CompositionController<'a, Param0, Param1>(
&self,
parentwindow: Param0,
handler: Param1
) -> Result<(), Error> where
Param0: IntoParam<'a, HWND>,
Param1: IntoParam<'a, ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler>,
pub unsafe fn CreateCoreWebView2PointerInfo(
&self
) -> Result<ICoreWebView2PointerInfo, Error>
pub unsafe fn GetProviderForHwnd<'a, Param0>(
&self,
hwnd: Param0
) -> Result<IUnknown, Error> where
Param0: IntoParam<'a, HWND>,
pub unsafe fn BrowserProcessExited<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2BrowserProcessExitedEventHandler>,
pub unsafe fn RemoveBrowserProcessExited<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
Trait Implementations
sourceimpl Clone for ICoreWebView2Environment5
impl Clone for ICoreWebView2Environment5
sourcepub fn clone(&self) -> ICoreWebView2Environment5
pub fn clone(&self) -> ICoreWebView2Environment5
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ICoreWebView2Environment5
impl Debug for ICoreWebView2Environment5
sourceimpl From<&'_ ICoreWebView2Environment5> for ICoreWebView2Environment3
impl From<&'_ ICoreWebView2Environment5> for ICoreWebView2Environment3
sourcepub fn from(value: &ICoreWebView2Environment5) -> ICoreWebView2Environment3
pub fn from(value: &ICoreWebView2Environment5) -> ICoreWebView2Environment3
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Environment5> for ICoreWebView2Environment
impl From<&'_ ICoreWebView2Environment5> for ICoreWebView2Environment
sourcepub fn from(value: &ICoreWebView2Environment5) -> ICoreWebView2Environment
pub fn from(value: &ICoreWebView2Environment5) -> ICoreWebView2Environment
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Environment5> for ICoreWebView2Environment2
impl From<&'_ ICoreWebView2Environment5> for ICoreWebView2Environment2
sourcepub fn from(value: &ICoreWebView2Environment5) -> ICoreWebView2Environment2
pub fn from(value: &ICoreWebView2Environment5) -> ICoreWebView2Environment2
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Environment5> for ICoreWebView2Environment4
impl From<&'_ ICoreWebView2Environment5> for ICoreWebView2Environment4
sourcepub fn from(value: &ICoreWebView2Environment5) -> ICoreWebView2Environment4
pub fn from(value: &ICoreWebView2Environment5) -> ICoreWebView2Environment4
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Environment6> for ICoreWebView2Environment5
impl From<&'_ ICoreWebView2Environment6> for ICoreWebView2Environment5
sourcepub fn from(value: &ICoreWebView2Environment6) -> ICoreWebView2Environment5
pub fn from(value: &ICoreWebView2Environment6) -> ICoreWebView2Environment5
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Environment7> for ICoreWebView2Environment5
impl From<&'_ ICoreWebView2Environment7> for ICoreWebView2Environment5
sourcepub fn from(value: &ICoreWebView2Environment7) -> ICoreWebView2Environment5
pub fn from(value: &ICoreWebView2Environment7) -> ICoreWebView2Environment5
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment5
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment5
sourcepub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment5
pub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment5
Performs the conversion.
sourceimpl From<ICoreWebView2Environment5> for ICoreWebView2Environment3
impl From<ICoreWebView2Environment5> for ICoreWebView2Environment3
sourcepub fn from(value: ICoreWebView2Environment5) -> ICoreWebView2Environment3
pub fn from(value: ICoreWebView2Environment5) -> ICoreWebView2Environment3
Performs the conversion.
sourceimpl From<ICoreWebView2Environment5> for ICoreWebView2Environment
impl From<ICoreWebView2Environment5> for ICoreWebView2Environment
sourcepub fn from(value: ICoreWebView2Environment5) -> ICoreWebView2Environment
pub fn from(value: ICoreWebView2Environment5) -> ICoreWebView2Environment
Performs the conversion.
sourceimpl From<ICoreWebView2Environment5> for ICoreWebView2Environment4
impl From<ICoreWebView2Environment5> for ICoreWebView2Environment4
sourcepub fn from(value: ICoreWebView2Environment5) -> ICoreWebView2Environment4
pub fn from(value: ICoreWebView2Environment5) -> ICoreWebView2Environment4
Performs the conversion.
sourceimpl From<ICoreWebView2Environment5> for ICoreWebView2Environment2
impl From<ICoreWebView2Environment5> for ICoreWebView2Environment2
sourcepub fn from(value: ICoreWebView2Environment5) -> ICoreWebView2Environment2
pub fn from(value: ICoreWebView2Environment5) -> ICoreWebView2Environment2
Performs the conversion.
sourceimpl From<ICoreWebView2Environment6> for ICoreWebView2Environment5
impl From<ICoreWebView2Environment6> for ICoreWebView2Environment5
sourcepub fn from(value: ICoreWebView2Environment6) -> ICoreWebView2Environment5
pub fn from(value: ICoreWebView2Environment6) -> ICoreWebView2Environment5
Performs the conversion.
sourceimpl From<ICoreWebView2Environment7> for ICoreWebView2Environment5
impl From<ICoreWebView2Environment7> for ICoreWebView2Environment5
sourcepub fn from(value: ICoreWebView2Environment7) -> ICoreWebView2Environment5
pub fn from(value: ICoreWebView2Environment7) -> ICoreWebView2Environment5
Performs the conversion.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment5
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment5
sourcepub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment5
pub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment5
Performs the conversion.
sourceimpl Interface for ICoreWebView2Environment5
impl Interface for ICoreWebView2Environment5
type Vtable = ICoreWebView2Environment5Vtbl
impl Eq for ICoreWebView2Environment5
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Environment5
impl !Send for ICoreWebView2Environment5
impl !Sync for ICoreWebView2Environment5
impl Unpin for ICoreWebView2Environment5
impl UnwindSafe for ICoreWebView2Environment5
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
impl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
type DefaultType = Option<T>
sourcepub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
pub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
Safety
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more