Struct webview2_com_sys::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<()>
pub unsafe fn Kind(
&self,
kind: *mut COREWEBVIEW2_SCRIPT_DIALOG_KIND
) -> Result<()>
pub unsafe fn Message(&self, message: *mut PWSTR) -> Result<()>
pub unsafe fn Accept(&self) -> Result<()>
pub unsafe fn DefaultText(&self, defaulttext: *mut PWSTR) -> Result<()>
pub unsafe fn ResultText(&self, resulttext: *mut PWSTR) -> Result<()>
pub unsafe fn SetResultText<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
resulttext: Param0
) -> Result<()>
pub unsafe fn GetDeferral(&self) -> Result<ICoreWebView2Deferral>
Trait Implementations
sourceimpl From<&'_ ICoreWebView2ScriptDialogOpeningEventArgs> for IUnknown
impl From<&'_ ICoreWebView2ScriptDialogOpeningEventArgs> for IUnknown
sourcefn from(value: &ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
fn from(value: &ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2ScriptDialogOpeningEventArgs> for IUnknown
impl From<ICoreWebView2ScriptDialogOpeningEventArgs> for IUnknown
sourcefn from(value: ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
fn from(value: ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2ScriptDialogOpeningEventArgs
impl Interface for ICoreWebView2ScriptDialogOpeningEventArgs
sourceimpl PartialEq<ICoreWebView2ScriptDialogOpeningEventArgs> for ICoreWebView2ScriptDialogOpeningEventArgs
impl PartialEq<ICoreWebView2ScriptDialogOpeningEventArgs> for ICoreWebView2ScriptDialogOpeningEventArgs
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
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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more