Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2_2
source · [−]#[repr(transparent)]pub struct ICoreWebView2_2(_);
Implementations
sourceimpl ICoreWebView2_2
impl ICoreWebView2_2
pub unsafe fn Settings(&self) -> Result<ICoreWebView2Settings>
pub unsafe fn Source(&self, uri: *mut PWSTR) -> Result<()>
pub unsafe fn add_ContentLoading<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2ContentLoadingEventHandler>>,
pub unsafe fn remove_ContentLoading(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn add_SourceChanged<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2SourceChangedEventHandler>>,
pub unsafe fn remove_SourceChanged(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn add_HistoryChanged<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2HistoryChangedEventHandler>>,
pub unsafe fn remove_HistoryChanged(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn add_ScriptDialogOpening<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2ScriptDialogOpeningEventHandler>>,
pub unsafe fn remove_ScriptDialogOpening(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn add_PermissionRequested<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2PermissionRequestedEventHandler>>,
pub unsafe fn remove_PermissionRequested(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn add_ProcessFailed<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2ProcessFailedEventHandler>>,
pub unsafe fn remove_ProcessFailed(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn AddScriptToExecuteOnDocumentCreated<'a, P0, P1>(
&self,
javascript: P0,
handler: P1
) -> Result<()> where
P0: Into<PCWSTR>,
P1: Into<InParam<'a, ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler>>,
pub unsafe fn RemoveScriptToExecuteOnDocumentCreated<'a, P0>(
&self,
id: P0
) -> Result<()> where
P0: Into<PCWSTR>,
pub unsafe fn ExecuteScript<'a, P0, P1>(
&self,
javascript: P0,
handler: P1
) -> Result<()> where
P0: Into<PCWSTR>,
P1: Into<InParam<'a, ICoreWebView2ExecuteScriptCompletedHandler>>,
pub unsafe fn CapturePreview<'a, P0, P1>(
&self,
imageformat: COREWEBVIEW2_CAPTURE_PREVIEW_IMAGE_FORMAT,
imagestream: P0,
handler: P1
) -> Result<()> where
P0: Into<InParam<'a, IStream>>,
P1: Into<InParam<'a, ICoreWebView2CapturePreviewCompletedHandler>>,
pub unsafe fn Reload(&self) -> Result<()>
pub unsafe fn PostWebMessageAsJson<'a, P0>(
&self,
webmessageasjson: P0
) -> Result<()> where
P0: Into<PCWSTR>,
pub unsafe fn PostWebMessageAsString<'a, P0>(
&self,
webmessageasstring: P0
) -> Result<()> where
P0: Into<PCWSTR>,
pub unsafe fn add_WebMessageReceived<'a, P0>(
&self,
handler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2WebMessageReceivedEventHandler>>,
pub unsafe fn remove_WebMessageReceived(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn CallDevToolsProtocolMethod<'a, P0, P1, P2>(
&self,
methodname: P0,
parametersasjson: P1,
handler: P2
) -> Result<()> where
P0: Into<PCWSTR>,
P1: Into<PCWSTR>,
P2: Into<InParam<'a, ICoreWebView2CallDevToolsProtocolMethodCompletedHandler>>,
pub unsafe fn BrowserProcessId(&self, value: *mut u32) -> Result<()>
pub unsafe fn CanGoBack(&self, cangoback: *mut BOOL) -> Result<()>
pub unsafe fn CanGoForward(&self, cangoforward: *mut BOOL) -> Result<()>
pub unsafe fn GoBack(&self) -> Result<()>
pub unsafe fn GoForward(&self) -> Result<()>
pub unsafe fn GetDevToolsProtocolEventReceiver<'a, P0>(
&self,
eventname: P0
) -> Result<ICoreWebView2DevToolsProtocolEventReceiver> where
P0: Into<PCWSTR>,
pub unsafe fn Stop(&self) -> Result<()>
pub unsafe fn add_NewWindowRequested<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2NewWindowRequestedEventHandler>>,
pub unsafe fn remove_NewWindowRequested(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn add_DocumentTitleChanged<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2DocumentTitleChangedEventHandler>>,
pub unsafe fn remove_DocumentTitleChanged(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn DocumentTitle(&self, title: *mut PWSTR) -> Result<()>
pub unsafe fn AddHostObjectToScript<'a, P0>(
&self,
name: P0,
object: *mut VARIANT
) -> Result<()> where
P0: Into<PCWSTR>,
pub unsafe fn RemoveHostObjectFromScript<'a, P0>(&self, name: P0) -> Result<()> where
P0: Into<PCWSTR>,
pub unsafe fn OpenDevToolsWindow(&self) -> Result<()>
pub unsafe fn add_ContainsFullScreenElementChanged<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2ContainsFullScreenElementChangedEventHandler>>,
pub unsafe fn remove_ContainsFullScreenElementChanged(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn ContainsFullScreenElement(
&self,
containsfullscreenelement: *mut BOOL
) -> Result<()>
pub unsafe fn add_WebResourceRequested<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2WebResourceRequestedEventHandler>>,
pub unsafe fn remove_WebResourceRequested(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn AddWebResourceRequestedFilter<'a, P0>(
&self,
uri: P0,
resourcecontext: COREWEBVIEW2_WEB_RESOURCE_CONTEXT
) -> Result<()> where
P0: Into<PCWSTR>,
pub unsafe fn RemoveWebResourceRequestedFilter<'a, P0>(
&self,
uri: P0,
resourcecontext: COREWEBVIEW2_WEB_RESOURCE_CONTEXT
) -> Result<()> where
P0: Into<PCWSTR>,
pub unsafe fn add_WindowCloseRequested<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2WindowCloseRequestedEventHandler>>,
pub unsafe fn remove_WindowCloseRequested(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn add_WebResourceResponseReceived<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2WebResourceResponseReceivedEventHandler>>,
pub unsafe fn remove_WebResourceResponseReceived(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn add_DOMContentLoaded<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()> where
P0: Into<InParam<'a, ICoreWebView2DOMContentLoadedEventHandler>>,
pub unsafe fn remove_DOMContentLoaded(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn CookieManager(&self) -> Result<ICoreWebView2CookieManager>
pub unsafe fn Environment(&self) -> Result<ICoreWebView2Environment>
Trait Implementations
sourceimpl Clone for ICoreWebView2_2
impl Clone for ICoreWebView2_2
sourceimpl Debug for ICoreWebView2_2
impl Debug for ICoreWebView2_2
sourceimpl<'a> From<&'a ICoreWebView2_10> for &'a ICoreWebView2_2
impl<'a> From<&'a ICoreWebView2_10> for &'a ICoreWebView2_2
sourcefn from(value: &'a ICoreWebView2_10) -> Self
fn from(value: &'a ICoreWebView2_10) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_11> for &'a ICoreWebView2_2
impl<'a> From<&'a ICoreWebView2_11> for &'a ICoreWebView2_2
sourcefn from(value: &'a ICoreWebView2_11) -> Self
fn from(value: &'a ICoreWebView2_11) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_12> for &'a ICoreWebView2_2
impl<'a> From<&'a ICoreWebView2_12> for &'a ICoreWebView2_2
sourcefn from(value: &'a ICoreWebView2_12) -> Self
fn from(value: &'a ICoreWebView2_12) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_13> for &'a ICoreWebView2_2
impl<'a> From<&'a ICoreWebView2_13> for &'a ICoreWebView2_2
sourcefn from(value: &'a ICoreWebView2_13) -> Self
fn from(value: &'a ICoreWebView2_13) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_14> for &'a ICoreWebView2_2
impl<'a> From<&'a ICoreWebView2_14> for &'a ICoreWebView2_2
sourcefn from(value: &'a ICoreWebView2_14) -> Self
fn from(value: &'a ICoreWebView2_14) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_15> for &'a ICoreWebView2_2
impl<'a> From<&'a ICoreWebView2_15> for &'a ICoreWebView2_2
sourcefn from(value: &'a ICoreWebView2_15) -> Self
fn from(value: &'a ICoreWebView2_15) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_2> for &'a ICoreWebView2
impl<'a> From<&'a ICoreWebView2_2> for &'a ICoreWebView2
sourcefn from(value: &'a ICoreWebView2_2) -> Self
fn from(value: &'a ICoreWebView2_2) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_2> for &'a IUnknown
impl<'a> From<&'a ICoreWebView2_2> for &'a IUnknown
sourcefn from(value: &'a ICoreWebView2_2) -> Self
fn from(value: &'a ICoreWebView2_2) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_3> for &'a ICoreWebView2_2
impl<'a> From<&'a ICoreWebView2_3> for &'a ICoreWebView2_2
sourcefn from(value: &'a ICoreWebView2_3) -> Self
fn from(value: &'a ICoreWebView2_3) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_4> for &'a ICoreWebView2_2
impl<'a> From<&'a ICoreWebView2_4> for &'a ICoreWebView2_2
sourcefn from(value: &'a ICoreWebView2_4) -> Self
fn from(value: &'a ICoreWebView2_4) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_5> for &'a ICoreWebView2_2
impl<'a> From<&'a ICoreWebView2_5> for &'a ICoreWebView2_2
sourcefn from(value: &'a ICoreWebView2_5) -> Self
fn from(value: &'a ICoreWebView2_5) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_6> for &'a ICoreWebView2_2
impl<'a> From<&'a ICoreWebView2_6> for &'a ICoreWebView2_2
sourcefn from(value: &'a ICoreWebView2_6) -> Self
fn from(value: &'a ICoreWebView2_6) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_7> for &'a ICoreWebView2_2
impl<'a> From<&'a ICoreWebView2_7> for &'a ICoreWebView2_2
sourcefn from(value: &'a ICoreWebView2_7) -> Self
fn from(value: &'a ICoreWebView2_7) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_8> for &'a ICoreWebView2_2
impl<'a> From<&'a ICoreWebView2_8> for &'a ICoreWebView2_2
sourcefn from(value: &'a ICoreWebView2_8) -> Self
fn from(value: &'a ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2_9> for &'a ICoreWebView2_2
impl<'a> From<&'a ICoreWebView2_9> for &'a ICoreWebView2_2
sourcefn from(value: &'a ICoreWebView2_9) -> Self
fn from(value: &'a ICoreWebView2_9) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_10> for ICoreWebView2_2
impl From<&ICoreWebView2_10> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_10) -> Self
fn from(value: &ICoreWebView2_10) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_11> for ICoreWebView2_2
impl From<&ICoreWebView2_11> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_11) -> Self
fn from(value: &ICoreWebView2_11) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_12> for ICoreWebView2_2
impl From<&ICoreWebView2_12> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_12) -> Self
fn from(value: &ICoreWebView2_12) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_13> for ICoreWebView2_2
impl From<&ICoreWebView2_13> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_13) -> Self
fn from(value: &ICoreWebView2_13) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_14> for ICoreWebView2_2
impl From<&ICoreWebView2_14> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_14) -> Self
fn from(value: &ICoreWebView2_14) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_15> for ICoreWebView2_2
impl From<&ICoreWebView2_15> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_15) -> Self
fn from(value: &ICoreWebView2_15) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_2> for ICoreWebView2
impl From<&ICoreWebView2_2> for ICoreWebView2
sourcefn from(value: &ICoreWebView2_2) -> Self
fn from(value: &ICoreWebView2_2) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_2> for IUnknown
impl From<&ICoreWebView2_2> for IUnknown
sourcefn from(value: &ICoreWebView2_2) -> Self
fn from(value: &ICoreWebView2_2) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_3> for ICoreWebView2_2
impl From<&ICoreWebView2_3> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_3) -> Self
fn from(value: &ICoreWebView2_3) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_4> for ICoreWebView2_2
impl From<&ICoreWebView2_4> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_4) -> Self
fn from(value: &ICoreWebView2_4) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_5> for ICoreWebView2_2
impl From<&ICoreWebView2_5> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_5) -> Self
fn from(value: &ICoreWebView2_5) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_6> for ICoreWebView2_2
impl From<&ICoreWebView2_6> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_6) -> Self
fn from(value: &ICoreWebView2_6) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_7> for ICoreWebView2_2
impl From<&ICoreWebView2_7> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_7) -> Self
fn from(value: &ICoreWebView2_7) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_8> for ICoreWebView2_2
impl From<&ICoreWebView2_8> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_8) -> Self
fn from(value: &ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2_9> for ICoreWebView2_2
impl From<&ICoreWebView2_9> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_9) -> Self
fn from(value: &ICoreWebView2_9) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_10> for ICoreWebView2_2
impl From<ICoreWebView2_10> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_10) -> Self
fn from(value: ICoreWebView2_10) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_11> for ICoreWebView2_2
impl From<ICoreWebView2_11> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_11) -> Self
fn from(value: ICoreWebView2_11) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_12> for ICoreWebView2_2
impl From<ICoreWebView2_12> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_12) -> Self
fn from(value: ICoreWebView2_12) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_13> for ICoreWebView2_2
impl From<ICoreWebView2_13> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_13) -> Self
fn from(value: ICoreWebView2_13) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_14> for ICoreWebView2_2
impl From<ICoreWebView2_14> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_14) -> Self
fn from(value: ICoreWebView2_14) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_15> for ICoreWebView2_2
impl From<ICoreWebView2_15> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_15) -> Self
fn from(value: ICoreWebView2_15) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_2> for ICoreWebView2
impl From<ICoreWebView2_2> for ICoreWebView2
sourcefn from(value: ICoreWebView2_2) -> Self
fn from(value: ICoreWebView2_2) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_2> for IUnknown
impl From<ICoreWebView2_2> for IUnknown
sourcefn from(value: ICoreWebView2_2) -> Self
fn from(value: ICoreWebView2_2) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_3> for ICoreWebView2_2
impl From<ICoreWebView2_3> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_3) -> Self
fn from(value: ICoreWebView2_3) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_4> for ICoreWebView2_2
impl From<ICoreWebView2_4> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_4) -> Self
fn from(value: ICoreWebView2_4) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_5> for ICoreWebView2_2
impl From<ICoreWebView2_5> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_5) -> Self
fn from(value: ICoreWebView2_5) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_6> for ICoreWebView2_2
impl From<ICoreWebView2_6> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_6) -> Self
fn from(value: ICoreWebView2_6) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_7> for ICoreWebView2_2
impl From<ICoreWebView2_7> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_7) -> Self
fn from(value: ICoreWebView2_7) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_8> for ICoreWebView2_2
impl From<ICoreWebView2_8> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_8) -> Self
fn from(value: ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_9> for ICoreWebView2_2
impl From<ICoreWebView2_9> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_9) -> Self
fn from(value: ICoreWebView2_9) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2_2
impl Interface for ICoreWebView2_2
sourceimpl PartialEq<ICoreWebView2_2> for ICoreWebView2_2
impl PartialEq<ICoreWebView2_2> for ICoreWebView2_2
sourceimpl RuntimeName for ICoreWebView2_2
impl RuntimeName for ICoreWebView2_2
impl Eq for ICoreWebView2_2
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2_2
impl !Send for ICoreWebView2_2
impl !Sync for ICoreWebView2_2
impl Unpin for ICoreWebView2_2
impl UnwindSafe for ICoreWebView2_2
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