Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Environment8
source · [−]#[repr(transparent)]pub struct ICoreWebView2Environment8(_);
Implementations
sourceimpl ICoreWebView2Environment8
impl ICoreWebView2Environment8
pub unsafe fn CreateCoreWebView2Controller<'a, Param0: IntoParam<'a, HWND>, Param1: IntoParam<'a, ICoreWebView2CreateCoreWebView2ControllerCompletedHandler>>(
&self,
parentwindow: Param0,
handler: Param1
) -> Result<()>
pub unsafe fn CreateWebResourceResponse<'a, Param0: IntoParam<'a, IStream>, Param2: IntoParam<'a, PWSTR>, Param3: IntoParam<'a, PWSTR>>(
&self,
content: Param0,
statuscode: i32,
reasonphrase: Param2,
headers: Param3
) -> Result<ICoreWebView2WebResourceResponse>
pub unsafe fn BrowserVersionString(&self, versioninfo: *mut PWSTR) -> Result<()>
pub unsafe fn NewBrowserVersionAvailable<'a, Param0: IntoParam<'a, ICoreWebView2NewBrowserVersionAvailableEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveNewBrowserVersionAvailable<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn CreateWebResourceRequest<'a, Param0: IntoParam<'a, PWSTR>, Param1: IntoParam<'a, PWSTR>, Param2: IntoParam<'a, IStream>, Param3: IntoParam<'a, PWSTR>>(
&self,
uri: Param0,
method: Param1,
postdata: Param2,
headers: Param3
) -> Result<ICoreWebView2WebResourceRequest>
pub unsafe fn CreateCoreWebView2CompositionController<'a, Param0: IntoParam<'a, HWND>, Param1: IntoParam<'a, ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler>>(
&self,
parentwindow: Param0,
handler: Param1
) -> Result<()>
pub unsafe fn CreateCoreWebView2PointerInfo(
&self
) -> Result<ICoreWebView2PointerInfo>
pub unsafe fn GetProviderForHwnd<'a, Param0: IntoParam<'a, HWND>>(
&self,
hwnd: Param0
) -> Result<IUnknown>
pub unsafe fn BrowserProcessExited<'a, Param0: IntoParam<'a, ICoreWebView2BrowserProcessExitedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveBrowserProcessExited<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn CreatePrintSettings(&self) -> Result<ICoreWebView2PrintSettings>
pub unsafe fn UserDataFolder(&self, value: *mut PWSTR) -> Result<()>
pub unsafe fn ProcessInfosChanged<'a, Param0: IntoParam<'a, ICoreWebView2ProcessInfosChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveProcessInfosChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn GetProcessInfos(
&self
) -> Result<ICoreWebView2ProcessInfoCollection>
Trait Implementations
sourceimpl Clone for ICoreWebView2Environment8
impl Clone for ICoreWebView2Environment8
sourceimpl Debug for ICoreWebView2Environment8
impl Debug for ICoreWebView2Environment8
sourceimpl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment7
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment7
sourcefn from(value: &ICoreWebView2Environment8) -> Self
fn from(value: &ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment6
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment6
sourcefn from(value: &ICoreWebView2Environment8) -> Self
fn from(value: &ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment5
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment5
sourcefn from(value: &ICoreWebView2Environment8) -> Self
fn from(value: &ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment4
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment4
sourcefn from(value: &ICoreWebView2Environment8) -> Self
fn from(value: &ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment3
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment3
sourcefn from(value: &ICoreWebView2Environment8) -> Self
fn from(value: &ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment2
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment2
sourcefn from(value: &ICoreWebView2Environment8) -> Self
fn from(value: &ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment
impl From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment
sourcefn from(value: &ICoreWebView2Environment8) -> Self
fn from(value: &ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Environment8> for IUnknown
impl From<&'_ ICoreWebView2Environment8> for IUnknown
sourcefn from(value: &ICoreWebView2Environment8) -> Self
fn from(value: &ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment7
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment7
sourcefn from(value: ICoreWebView2Environment8) -> Self
fn from(value: ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment6
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment6
sourcefn from(value: ICoreWebView2Environment8) -> Self
fn from(value: ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment5
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment5
sourcefn from(value: ICoreWebView2Environment8) -> Self
fn from(value: ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment4
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment4
sourcefn from(value: ICoreWebView2Environment8) -> Self
fn from(value: ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment3
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment3
sourcefn from(value: ICoreWebView2Environment8) -> Self
fn from(value: ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment2
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment2
sourcefn from(value: ICoreWebView2Environment8) -> Self
fn from(value: ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment
sourcefn from(value: ICoreWebView2Environment8) -> Self
fn from(value: ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment8> for IUnknown
impl From<ICoreWebView2Environment8> for IUnknown
sourcefn from(value: ICoreWebView2Environment8) -> Self
fn from(value: ICoreWebView2Environment8) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2Environment8
impl Interface for ICoreWebView2Environment8
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 · sourcefn borrow_mut(&mut self) -> &mut T
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>
sourceunsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
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.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more