Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2ScriptDialogOpeningEventArgs
source · [−]#[repr(transparent)]pub struct ICoreWebView2ScriptDialogOpeningEventArgs(_);
Implementations
sourceimpl ICoreWebView2ScriptDialogOpeningEventArgs
impl ICoreWebView2ScriptDialogOpeningEventArgs
pub unsafe fn Uri(&self, uri: *mut PWSTR) -> Result<(), Error>
pub unsafe fn Kind(
&self,
kind: *mut COREWEBVIEW2_SCRIPT_DIALOG_KIND
) -> Result<(), Error>
pub unsafe fn Message(&self, message: *mut PWSTR) -> Result<(), Error>
pub unsafe fn Accept(&self) -> Result<(), Error>
pub unsafe fn DefaultText(&self, defaulttext: *mut PWSTR) -> Result<(), Error>
pub unsafe fn ResultText(&self, resulttext: *mut PWSTR) -> Result<(), Error>
pub unsafe fn SetResultText<P0>(&self, resulttext: P0) -> Result<(), Error> where
P0: Into<PCWSTR>,
pub unsafe fn GetDeferral(&self) -> Result<ICoreWebView2Deferral, Error>
Trait Implementations
sourceimpl Clone for ICoreWebView2ScriptDialogOpeningEventArgs
impl Clone for ICoreWebView2ScriptDialogOpeningEventArgs
sourcefn clone(&self) -> ICoreWebView2ScriptDialogOpeningEventArgs
fn clone(&self) -> ICoreWebView2ScriptDialogOpeningEventArgs
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 Interface for ICoreWebView2ScriptDialogOpeningEventArgs
impl Interface for ICoreWebView2ScriptDialogOpeningEventArgs
sourceconst IID: GUID = ::windows::core::GUID::from_u128(153612712000237502342531982515393725398)
const IID: GUID = ::windows::core::GUID::from_u128(153612712000237502342531982515393725398)
A unique identifier representing this interface.
sourceimpl PartialEq<ICoreWebView2ScriptDialogOpeningEventArgs> for ICoreWebView2ScriptDialogOpeningEventArgs
impl PartialEq<ICoreWebView2ScriptDialogOpeningEventArgs> for ICoreWebView2ScriptDialogOpeningEventArgs
sourcefn eq(&self, other: &ICoreWebView2ScriptDialogOpeningEventArgs) -> bool
fn eq(&self, other: &ICoreWebView2ScriptDialogOpeningEventArgs) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for ICoreWebView2ScriptDialogOpeningEventArgs
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2ScriptDialogOpeningEventArgs
impl !Send for ICoreWebView2ScriptDialogOpeningEventArgs
impl !Sync for ICoreWebView2ScriptDialogOpeningEventArgs
impl Unpin for ICoreWebView2ScriptDialogOpeningEventArgs
impl UnwindSafe for ICoreWebView2ScriptDialogOpeningEventArgs
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