Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Environment
source · [−]#[repr(transparent)]pub struct ICoreWebView2Environment(_);
Implementations
sourceimpl ICoreWebView2Environment
impl ICoreWebView2Environment
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, PCWSTR>,
Param3: IntoParam<'a, PCWSTR>,
pub unsafe fn BrowserVersionString(
&self,
versioninfo: *mut PWSTR
) -> Result<(), Error>
pub unsafe fn add_NewBrowserVersionAvailable<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2NewBrowserVersionAvailableEventHandler>,
pub unsafe fn remove_NewBrowserVersionAvailable<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
Trait Implementations
sourceimpl Clone for ICoreWebView2Environment
impl Clone for ICoreWebView2Environment
sourcefn clone(&self) -> ICoreWebView2Environment
fn clone(&self) -> ICoreWebView2Environment
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 ICoreWebView2Environment
impl Debug for ICoreWebView2Environment
sourceimpl<'_> From<&'_ ICoreWebView2Environment10> for ICoreWebView2Environment
impl<'_> From<&'_ ICoreWebView2Environment10> for ICoreWebView2Environment
sourcefn from(value: &ICoreWebView2Environment10) -> ICoreWebView2Environment
fn from(value: &ICoreWebView2Environment10) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl<'_> From<&'_ ICoreWebView2Environment2> for ICoreWebView2Environment
impl<'_> From<&'_ ICoreWebView2Environment2> for ICoreWebView2Environment
sourcefn from(value: &ICoreWebView2Environment2) -> ICoreWebView2Environment
fn from(value: &ICoreWebView2Environment2) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl<'_> From<&'_ ICoreWebView2Environment3> for ICoreWebView2Environment
impl<'_> From<&'_ ICoreWebView2Environment3> for ICoreWebView2Environment
sourcefn from(value: &ICoreWebView2Environment3) -> ICoreWebView2Environment
fn from(value: &ICoreWebView2Environment3) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl<'_> From<&'_ ICoreWebView2Environment4> for ICoreWebView2Environment
impl<'_> From<&'_ ICoreWebView2Environment4> for ICoreWebView2Environment
sourcefn from(value: &ICoreWebView2Environment4) -> ICoreWebView2Environment
fn from(value: &ICoreWebView2Environment4) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl<'_> From<&'_ ICoreWebView2Environment5> for ICoreWebView2Environment
impl<'_> From<&'_ ICoreWebView2Environment5> for ICoreWebView2Environment
sourcefn from(value: &ICoreWebView2Environment5) -> ICoreWebView2Environment
fn from(value: &ICoreWebView2Environment5) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl<'_> From<&'_ ICoreWebView2Environment6> for ICoreWebView2Environment
impl<'_> From<&'_ ICoreWebView2Environment6> for ICoreWebView2Environment
sourcefn from(value: &ICoreWebView2Environment6) -> ICoreWebView2Environment
fn from(value: &ICoreWebView2Environment6) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl<'_> From<&'_ ICoreWebView2Environment7> for ICoreWebView2Environment
impl<'_> From<&'_ ICoreWebView2Environment7> for ICoreWebView2Environment
sourcefn from(value: &ICoreWebView2Environment7) -> ICoreWebView2Environment
fn from(value: &ICoreWebView2Environment7) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl<'_> From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment
impl<'_> From<&'_ ICoreWebView2Environment8> for ICoreWebView2Environment
sourcefn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment
fn from(value: &ICoreWebView2Environment8) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl<'_> From<&'_ ICoreWebView2Environment9> for ICoreWebView2Environment
impl<'_> From<&'_ ICoreWebView2Environment9> for ICoreWebView2Environment
sourcefn from(value: &ICoreWebView2Environment9) -> ICoreWebView2Environment
fn from(value: &ICoreWebView2Environment9) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment10> for ICoreWebView2Environment
impl From<ICoreWebView2Environment10> for ICoreWebView2Environment
sourcefn from(value: ICoreWebView2Environment10) -> ICoreWebView2Environment
fn from(value: ICoreWebView2Environment10) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment2> for ICoreWebView2Environment
impl From<ICoreWebView2Environment2> for ICoreWebView2Environment
sourcefn from(value: ICoreWebView2Environment2) -> ICoreWebView2Environment
fn from(value: ICoreWebView2Environment2) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment3> for ICoreWebView2Environment
impl From<ICoreWebView2Environment3> for ICoreWebView2Environment
sourcefn from(value: ICoreWebView2Environment3) -> ICoreWebView2Environment
fn from(value: ICoreWebView2Environment3) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment4> for ICoreWebView2Environment
impl From<ICoreWebView2Environment4> for ICoreWebView2Environment
sourcefn from(value: ICoreWebView2Environment4) -> ICoreWebView2Environment
fn from(value: ICoreWebView2Environment4) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment5> for ICoreWebView2Environment
impl From<ICoreWebView2Environment5> for ICoreWebView2Environment
sourcefn from(value: ICoreWebView2Environment5) -> ICoreWebView2Environment
fn from(value: ICoreWebView2Environment5) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment6> for ICoreWebView2Environment
impl From<ICoreWebView2Environment6> for ICoreWebView2Environment
sourcefn from(value: ICoreWebView2Environment6) -> ICoreWebView2Environment
fn from(value: ICoreWebView2Environment6) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment7> for ICoreWebView2Environment
impl From<ICoreWebView2Environment7> for ICoreWebView2Environment
sourcefn from(value: ICoreWebView2Environment7) -> ICoreWebView2Environment
fn from(value: ICoreWebView2Environment7) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment8> for ICoreWebView2Environment
impl From<ICoreWebView2Environment8> for ICoreWebView2Environment
sourcefn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment
fn from(value: ICoreWebView2Environment8) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Environment9> for ICoreWebView2Environment
impl From<ICoreWebView2Environment9> for ICoreWebView2Environment
sourcefn from(value: ICoreWebView2Environment9) -> ICoreWebView2Environment
fn from(value: ICoreWebView2Environment9) -> ICoreWebView2Environment
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2Environment
impl Interface for ICoreWebView2Environment
sourceconst IID: GUID = ::windows::core::GUID::from_u128(246475520068119685509481755655931339260)
const IID: GUID = ::windows::core::GUID::from_u128(246475520068119685509481755655931339260)
A unique identifier representing this interface.
impl Eq for ICoreWebView2Environment
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Environment
impl !Send for ICoreWebView2Environment
impl !Sync for ICoreWebView2Environment
impl Unpin for ICoreWebView2Environment
impl UnwindSafe for ICoreWebView2Environment
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> 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