pub struct ICoreWebView2ScriptDialogOpeningEventArgs(/* private fields */);
Implementations§
Source§impl ICoreWebView2ScriptDialogOpeningEventArgs
impl ICoreWebView2ScriptDialogOpeningEventArgs
pub unsafe fn get_Uri(&self, uri: *mut PWSTR) -> Result<()>
pub unsafe fn get_Kind( &self, kind: *mut COREWEBVIEW2_SCRIPT_DIALOG_KIND, ) -> Result<()>
pub unsafe fn get_Message(&self, message: *mut PWSTR) -> Result<()>
pub unsafe fn Accept(&self) -> Result<()>
pub unsafe fn get_DefaultText(&self, defaulttext: *mut PWSTR) -> Result<()>
pub unsafe fn get_ResultText(&self, resulttext: *mut PWSTR) -> Result<()>
pub unsafe fn put_ResultText<'a>( &self, resulttext: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetDeferral(&self) -> Result<ICoreWebView2Deferral>
Trait Implementations§
Source§impl Clone for ICoreWebView2ScriptDialogOpeningEventArgs
impl Clone for ICoreWebView2ScriptDialogOpeningEventArgs
Source§fn clone(&self) -> ICoreWebView2ScriptDialogOpeningEventArgs
fn clone(&self) -> ICoreWebView2ScriptDialogOpeningEventArgs
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<&ICoreWebView2ScriptDialogOpeningEventArgs> for IUnknown
impl From<&ICoreWebView2ScriptDialogOpeningEventArgs> for IUnknown
Source§fn from(value: &ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
fn from(value: &ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2ScriptDialogOpeningEventArgs> for IUnknown
impl From<ICoreWebView2ScriptDialogOpeningEventArgs> for IUnknown
Source§fn from(value: ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
fn from(value: ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2ScriptDialogOpeningEventArgs
impl Interface for ICoreWebView2ScriptDialogOpeningEventArgs
const IID: Guid
type Vtable = ICoreWebView2ScriptDialogOpeningEventArgs_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for ICoreWebView2ScriptDialogOpeningEventArgs
impl PartialEq for ICoreWebView2ScriptDialogOpeningEventArgs
Source§fn eq(&self, other: &ICoreWebView2ScriptDialogOpeningEventArgs) -> bool
fn eq(&self, other: &ICoreWebView2ScriptDialogOpeningEventArgs) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ICoreWebView2ScriptDialogOpeningEventArgs
impl StructuralPartialEq for ICoreWebView2ScriptDialogOpeningEventArgs
Auto Trait Implementations§
impl Freeze for ICoreWebView2ScriptDialogOpeningEventArgs
impl RefUnwindSafe for ICoreWebView2ScriptDialogOpeningEventArgs
impl !Send for ICoreWebView2ScriptDialogOpeningEventArgs
impl !Sync for ICoreWebView2ScriptDialogOpeningEventArgs
impl Unpin for ICoreWebView2ScriptDialogOpeningEventArgs
impl UnwindSafe for ICoreWebView2ScriptDialogOpeningEventArgs
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more