Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Environment8
source · [−]#[repr(transparent)]pub struct ICoreWebView2Environment8(_);
Implementations
sourceimpl ICoreWebView2Environment8
impl ICoreWebView2Environment8
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>,
pub unsafe fn CreatePrintSettings(
&self
) -> Result<ICoreWebView2PrintSettings, Error>
pub unsafe fn UserDataFolder(&self, value: *mut PWSTR) -> Result<(), Error>
pub unsafe fn ProcessInfosChanged<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2ProcessInfosChangedEventHandler>,
pub unsafe fn RemoveProcessInfosChanged<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn GetProcessInfos(
&self
) -> Result<ICoreWebView2ProcessInfoCollection, Error>
Trait Implementations
sourceimpl Clone for ICoreWebView2Environment8
impl Clone for ICoreWebView2Environment8
sourcepub fn clone(&self) -> ICoreWebView2Environment8
pub fn clone(&self) -> ICoreWebView2Environment8
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 ICoreWebView2Environment8
impl Debug for ICoreWebView2Environment8
sourceimpl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment4
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment4
sourcepub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment4
pub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment4
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<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment7
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment7
sourcepub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment7
pub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment7
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment6
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment6
sourcepub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment6
pub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment6
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment
sourcepub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment
pub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment2
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment2
sourcepub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment2
pub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment2
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment3
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment3
sourcepub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment3
pub fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment3
Performs the conversion.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment6
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment6
sourcepub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment6
pub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment6
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<ICoreWebView2Environment8> for ICoreWebView2Environment4
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment4
sourcepub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment4
pub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment4
Performs the conversion.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment7
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment7
sourcepub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment7
pub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment7
Performs the conversion.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment
sourcepub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment
pub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment
Performs the conversion.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment2
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment2
sourcepub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment2
pub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment2
Performs the conversion.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment3
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment3
sourcepub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment3
pub fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment3
Performs the conversion.
sourceimpl Interface for ICoreWebView2Environment8
impl Interface for ICoreWebView2Environment8
type Vtable = ICoreWebView2Environment8Vtbl
impl Eq for ICoreWebView2Environment8
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Environment8
impl !Send for ICoreWebView2Environment8
impl !Sync for ICoreWebView2Environment8
impl Unpin for ICoreWebView2Environment8
impl UnwindSafe for ICoreWebView2Environment8
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